Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • AWR settings- MMON is not taking snapshot. Oracle
  • Read CSV File using Python Python/PySpark
  • Transfer SQL Profiles from One database to other database. Oracle
  • oracle fast start failover best practice Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • How to choose Driver table in SQL statement Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • Add new columns in dataframe Python/PySpark
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • V$CONTROLFILE_RECORD_SECTION reference notes. Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Find All internal Parameters Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix

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

  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Optimizer SORT Operations Oracle
  • compile_inv.sql Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • Find Plan Hash value fphv.sql Oracle
  • Temporary Tablespace Information and restriction. 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • 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
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • proper cpu stats Linux/Unix
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • find_cons.sql Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Good notes on Oracle Events Oracle
  • Find All internal Parameters Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme