Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Specify the Rollback segment to use in Transaction Oracle
  • Explain Plan Output 2 Oracle
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • Rman Notes -1 Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • chk_space_SID.ksh Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • T-SQL Vs PL/SQL Syntax SQL Server
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • create database link syntax Oracle
  • Small sample shell program Linux/Unix
  • Oracle 10g Wait Model Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • reset Sequence 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

  • Transfer SQL Profiles from One database to other database. Oracle
  • Handling LOB data in Oracle Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • column level grant syntax Oracle
  • ext#.sql 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Default User Profile Oracle
  • Jai Shree Ram Linux/Unix
  • scp with ssh2 Linux/Unix
  • Index Range Scan Oracle
  • db_status.sql Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme