Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Gathering statistics with DBMS_STATS Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • Nice notes on wait events Oracle
  • Alter procedure auditing Oracle
  • Histogram Overview Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • Convert multiple rows to single column Oracle
  • Caching sequence in Memory Oracle
  • Physical Standby switchover with session active Oracle
  • Finding locked objects Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • Rollback force for distributed transactions Oracle
  • currwait.sql Oracle
  • tracksqltime.sql 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

  • compile_inv.sql Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • All About oracle password and security from metalink Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • AWR license Oracle
  • This is im telling Kishore Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • Tutornet.US — Source of excellent learning14-Oct-2026
  • OCI Infrastructure Patching14-Oct-2026
  • Free API credits for AI models14-Oct-2026
  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • 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.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Kernel Parameters for Solaris Linux/Unix
  • Restoring a user’s original password 1051962.101 Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • runon_allcdbs_find_pdbs.sh Linux/Unix
  • load SPM baseline from cursor cache Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme