Home Home    Forum    Blog    Feed your aggregator (RSS 2.0)

The Johnnynine Weblog - How to view the Oracle sql cache / sql history
A weblog by Johnny Hughes
 
 Monday, December 03, 2007

alter system flush shared_pool; -- flushes the cache

select * from v$sqlarea; -- for baseline

-- execute your code/sql here

select * from v$sqlarea; -- compare to baseline

 

 

keywords: sql history, past sql, previous sql statement

Monday, December 03, 2007 11:54:16 AM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]   Database | Oracle  | 
Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Copyright © 2010 Johnny Hughes. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.