Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add clean cache function in pg_prewarm #457

Closed

Conversation

csuopen
Copy link

@csuopen csuopen commented Nov 20, 2023

When we use pg_prewarm to cache a table into memory, we need to clean up the cache again when we need to see the results, so we added two functions:

  • The function pg_clean_all_cache cleans up all the cache of the current database.
  • The function pg_clean_rel_cache to clean up the cache of a table.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@polardb-bot
Copy link

polardb-bot bot commented Nov 20, 2023

Hi @csuopen ~ Thanks for your contribution in this PR. ❤️

Please make sure that your PR conforms the standard, and has passed all the checks.

We will review your PR as soon as possible.

@polardb-bot
Copy link

polardb-bot bot commented Nov 20, 2023

Hey @csuopen :

Congratulations~ 🎉 Your commit has passed all the checks. Please wait for further manual review.

@polardb-bot polardb-bot bot added the ci/success CI status is success label Nov 20, 2023
@csuopen
Copy link
Author

csuopen commented Nov 24, 2023

mistake something, PR should not be to ApsaraDB:POLARDB_11_STABLE, need to DEV branch. so close is, and create new pr to dev branch.

@csuopen csuopen closed this Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/success CI status is success
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants