{"id":913,"date":"2005-11-04T12:00:00","date_gmt":"2005-11-04T12:00:00","guid":{"rendered":"http:\/\/orcldoug.com\/blog\/?p=913"},"modified":"2005-11-04T12:00:00","modified_gmt":"2005-11-04T12:00:00","slug":"resetting-vfilestat-timings","status":"publish","type":"post","link":"http:\/\/orcldoug.com\/blog\/2005\/11\/04\/resetting-vfilestat-timings\/","title":{"rendered":"Resetting v$filestat timings"},"content":{"rendered":"<p>As I mentioned in a previous blog, I learnt something new from Anjo Kolk&#8217;s SAN presentation at the Oak Table day at the UKOUG conference. Instead of looking at the maximum read time for a file since the instance started or the average in a statspack report, you can reset the maximums.<\/p>\n<pre>SQL&gt; select * from v$version;<br\/><p><\/p><br\/>BANNER<br\/>----------------------------------------------------------------<br\/>Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod<br\/>PL\/SQL Release 10.2.0.1.0 - Production<br\/>CORE    10.2.0.1.0      Production<br\/>TNS for 32-bit Windows: Version 10.2.0.1.0 - Production<br\/>NLSRTL Version 10.2.0.1.0 - Production<br\/><p><\/p><br\/>SQL&gt; select file#, maxiortm from v$filestat;<br\/><p><\/p><br\/>  FILE#   MAXIORTM<br\/>---------- ----------<br\/>      1         82<br\/>      2         71<br\/>      3         62<br\/>      4         61<br\/>      5          9<br\/><\/pre>\n<p>(Do some work in another session)<\/p>\n<pre>SQL&gt; \/<br\/><p><\/p><br\/>  FILE#   MAXIORTM<br\/>---------- ----------<br\/>      1         84<br\/>      2         71<br\/>      3         62<br\/>      4         61<br\/>      5         23<br\/><\/pre>\n<p>(Now I want to reset the max timing, which is the maximum since the instance started, so that I can check it again after running a specific workload)<\/p>\n<pre>SQL&gt; exec dbms_system.kcfrms();<br\/><p><\/p><br\/>PL\/SQL procedure successfully completed.<br\/><p><\/p><br\/>SQL&gt; \/<br\/><p><\/p><br\/>  FILE#   MAXIORTM<br\/>---------- ----------<br\/>      1          0<br\/>      2          0<br\/>      3          0<br\/>      4          0<br\/>      5          0<br\/><\/pre>\n<p>That&#8217;s just one of a few things I learnt from the two presentations by Anjo that I could attend. Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I mentioned in a previous blog, I learnt something new from Anjo Kolk&#8217;s SAN presentation at the Oak Table day at the UKOUG conference. Instead of looking at the maximum read time for a file since the instance started or the average in a statspack report, you can reset the maximums. SQL&gt; select *&hellip; <a class=\"more-link\" href=\"http:\/\/orcldoug.com\/blog\/2005\/11\/04\/resetting-vfilestat-timings\/\">Continue reading <span class=\"screen-reader-text\">Resetting v$filestat timings<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-913","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":884,"url":"http:\/\/orcldoug.com\/blog\/2006\/01\/12\/something-else-i-didnt-know\/","url_meta":{"origin":913,"position":0},"title":"Something Else I Didn&#8217;t Know","date":"January 12, 2006","format":false,"excerpt":"This one is courtesy of Andrew Campbell at Sun Microsystems. He noticed in an Oracle Magazine article that you can use a URL as a script name in sqlplus.SQL> select * from v$version;BANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProdPL\/SQL Release 10.2.0.1.0 - ProductionCORE 10.2.0.1.0 ProductionTNS for 32-bit Windows:\u2026","rel":"","context":"With 4 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1030,"url":"http:\/\/orcldoug.com\/blog\/2006\/07\/21\/monitoring-index-usage\/","url_meta":{"origin":913,"position":1},"title":"Monitoring Index Usage","date":"July 21, 2006","format":false,"excerpt":"A common requirement cropped up this week. A new Data Warehouse has just gone live and is still in the 'do we have the right indexes here' phase. In this case, the suspicion is that there are too many indexes in a specific schema and that a number of them\u2026","rel":"","context":"With 8 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":883,"url":"http:\/\/orcldoug.com\/blog\/2006\/01\/15\/windows-orion-numbers\/","url_meta":{"origin":913,"position":2},"title":"Windows ORION Numbers","date":"January 15, 2006","format":false,"excerpt":"Prompted by Jeff Moss' blog, I decided to use ORION to measure the performance of various I\/O configurations I'm testing for the upcoming Hotsos presentation. I've already blogged about the Linux results on a couple of configurations but I'm still tempted to include a Windows Laptop test (although I haven't\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1597,"url":"http:\/\/orcldoug.com\/blog\/2014\/05\/02\/statistics-on-partitioned-tables-part-6c-copy_table_stats-bugs-and-patches\/","url_meta":{"origin":913,"position":3},"title":"Statistics on Partitioned Tables &#8211; Part 6c &#8211; COPY_TABLE_STATS &#8211; Bugs and Patches","date":"May 2, 2014","format":false,"excerpt":"I wanted to talk about a few of the bugs and patches you need to be aware of if you plan to use DBMS_STATS.COPY_TABLE_STATS. Believe me, when entering the world of stats on (sub-)partitioned objects, you had better be prepared to spend a lot of time on My Oracle Support\u2026","rel":"","context":"With 4 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1495,"url":"http:\/\/orcldoug.com\/blog\/2009\/05\/01\/diagnosing-locking-problems-using-ashlogminer-the-end\/","url_meta":{"origin":913,"position":4},"title":"Diagnosing Locking Problems using ASH\/LogMiner \u2013 The End","date":"May 1, 2009","format":false,"excerpt":"Except\u00a0it's not the\u00a0end, of course. What I mean is\u00a0that I usually agree with\u00a0what Miladin Modrakovic said in one of his comments on his first deadlock blog post.\"There is always way around.\"As I keep saying, there are many different ways of diagnosing locking problems. Which one works best\u00a0depends on the situation\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1491,"url":"http:\/\/orcldoug.com\/blog\/2009\/04\/23\/diagnosing-locking-problems-using-ashlogminer-part-8\/","url_meta":{"origin":913,"position":5},"title":"Diagnosing Locking Problems using ASH\/LogMiner \u2013 Part 8","date":"April 23, 2009","format":false,"excerpt":"So what about those SELECT FOR UPDATEs?I know that they\u2019ll generate redo entries and so something should appear in both log file dumps and the LogMiner output, but what exactly will appear? (This is all on Oracle 10.2.0.4)For this post I\u2019ll go back to the example from Part 4, where\u2026","rel":"","context":"With 4 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/comments?post=913"}],"version-history":[{"count":0,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/posts\/913\/revisions"}],"wp:attachment":[{"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/media?parent=913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/categories?post=913"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/orcldoug.com\/blog\/wp-json\/wp\/v2\/tags?post=913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}