Is there a Vertica Cache?

Moderator: NorbertKrupa

Post Reply
jane
Newbie
Newbie
Posts: 8
Joined: Wed Apr 17, 2013 12:57 am

Is there a Vertica Cache?

Post by jane » Sun Oct 27, 2013 4:33 pm

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?

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Is there a Vertica Cache?

Post by JimKnicely » Tue Oct 29, 2013 1:37 pm

Hi Jane,

You can use the CLEAR_CACHES() function.

Code: Select all

dbadmin=> select clear_caches();
 clear_caches 
--------------
 Cleared
(1 row)
Reference:
https://my.vertica.com/docs/6.1.x/HTML/ ... #20285.htm
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

User avatar
Julie
Master
Master
Posts: 221
Joined: Thu Apr 19, 2012 9:29 pm

Re: Is there a Vertica Cache?

Post by Julie » Wed Oct 30, 2013 1:15 pm

Does that CLEAR_CACHES() function clear the cache for all sessions or just the one that executes it?
Thanks,
Juliette

Post Reply

Return to “New to Vertica”