Blog Home  Home 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 6:54:16 PM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]   Database | Oracle  | 
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u)  

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