Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to know Number of CPUs on Sun Box Linux/Unix
  • DBMS_Shared_pool pinning triggers Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • AWR license Oracle
  • sql_plan9i.sql Oracle
  • Oracle Statspack survival Guide Oracle
  • Read CSV file using PySpark Python/PySpark
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • Export Oracle data and Compress at same time Oracle
  • CPU speed on solaris Linux/Unix
  • refre.sql Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • Sample WW22 listener.ora Oracle
  • 556976.1 Oracle Clusterware: Components installed 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

  • Rman Notes -1 Oracle
  • DBMS_UTILITY PACKAGE Oracle
  • sesswait.sql Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • fkwoindex.sql /* Find FK without Index */ Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Wait.sql Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • SQL Server: How to see current transactions or requests SQL Server
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Locktree.sql Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme