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

how to reset Virtuoso internal caches #1339

Open
pfps opened this issue Jan 19, 2025 · 1 comment
Open

how to reset Virtuoso internal caches #1339

pfps opened this issue Jan 19, 2025 · 1 comment

Comments

@pfps
Copy link

pfps commented Jan 19, 2025

In #1110 there was the question

Is there a way to reset virtuoso caches without restarting the server?

But it didn't get an answer there.

I have similar questions:

Does virtuoso cache information to be used in later queries?
Is any of this cache information retained when the server is stopped?
How can the cached information be discarded?

@pkleef
Copy link
Collaborator

pkleef commented Jan 20, 2025

Yes, virtuoso caches a number of items in memory to speed up processing, such as:

  • recently used database pages
  • recently used statistics and query plans
  • recently used uri prefixes

All of which are runtime only caches, so they automatically cleaned when the virtuoso server is stopped.

Can you give me more info in what sort of caches you are interested in and the reason why you would want to discard such information from a running system?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants