Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Library cahe Latches and internal explaination Oracle
  • move_arch_files.ksh Linux/Unix
  • UNderstand and eliminate Latch contention. Oracle
  • Mutating Table Error while using database trigger Oracle
  • EXTPROC Oracle
  • Rollback force for distributed transactions Oracle
  • 10g oem configuration Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Python class import from different folders Python/PySpark
  • ext#.sql Oracle
  • good note for shared pool tunnig Oracle
  • How to stop OCSSD Daemon Oracle

DBA_HIST_SQLSTAT contents

Posted on 10-May-202310-May-2023 By Admin No Comments on DBA_HIST_SQLSTAT contents

Query DBA_HIST_WR_CONTROL to see the interval, retention and the TOPNSQL setting.  For TOPNSQL a setting of DEFAULT translates to:

30 where statistics_level is typical

100 where statistics_level is all

Simply because this one SQL appears to consume 7% of the load it may not be in the top SQLs in these categories:

Elapsed Time

CPU Time

Parse Calls

Shareable Memory

Version Count

If the SQL doesn’t make the ‘cut’ it isn’t saved and statistics aren’t collected.

Ref: David Fitzjarrell from Oracle community group

Oracle

Post navigation

Previous Post: Find_planinfo.sql
Next Post: PHP code to add WordPress posts in bulk programmatically

Related Posts

  • Free conference number from http://www.freeconference.com Oracle
  • initUOCIOTTO.ora Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Oracle 10g for solaris 10 Oracle
  • v$backup.status information Oracle
  • CPU Core related projections AWS

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • oradebug ipcrm ipcs Oracle
  • To see how much time or progress of long transaction Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • logminer and my_lbu Oracle
  • Changing Instance Name ( No DB_NAME) Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme