Hello all,
When tuning queries in Oracle we use the ALTER SYSTEM FLUSH SHARED_POOL command to give a base line. This way queries won't benefit from any cached information.
Is there something similar in Vertica? Does Vertica even cache query results/explain plans?
Is there a Vertica Cache?
Moderator: NorbertKrupa
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Is there a Vertica Cache?
Hi Jane,
You can use the CLEAR_CACHES() function.
Reference:
https://my.vertica.com/docs/6.1.x/HTML/ ... #20285.htm
You can use the CLEAR_CACHES() function.
Code: Select all
dbadmin=> select clear_caches();
clear_caches
--------------
Cleared
(1 row)
https://my.vertica.com/docs/6.1.x/HTML/ ... #20285.htm
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Re: Is there a Vertica Cache?
Does that CLEAR_CACHES() function clear the cache for all sessions or just the one that executes it?
Thanks,
Juliette
Juliette