Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • useful dg links Oracle
  • Good links for x$ tables in oracle. Oracle
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • SQLPLUS COPY command Precautions. Oracle
  • chk_space_SID.ksh Linux/Unix
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • RAC 11g with vmware Oracle
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • Export Oracle data and Compress at same time Oracle
  • Implementing Listener Security Oracle
  • set_env_dba Linux/Unix
  • perf_today.sql Oracle
  • When to rebuld B-tree index 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

  • Find all users who have DML privileges Oracle
  • This is from Temi Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • Find_table_size.sql Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • New OFA for 11g Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Some OS level threshold for performance. Linux/Unix
  • Composite Index creation tip from Vivek Oracle
  • Trace a SQL session from another session using ORADEBUG Oracle
  • Implementing Listener Security Oracle
  • Find all users who have DML privileges Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • good note for shared pool tunnig Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme