Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Nice notes on wait events Oracle
  • dbms_job.submit example Oracle
  • All Hints for Oracle Databases Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • The most important Tuning Notes Oracle
  • Sending email with file attachment. Linux/Unix
  • find_open_cur.sql Find open cursorts per session Oracle
  • scripts to take listener.log backup Linux/Unix
  • get_vmstat_solaris Oracle
  • Index Range Scan Oracle
  • Good RAC & Standby Notes Oracle

Histogram information

Posted on 05-Feb-2007 By Admin No Comments on Histogram information

Oracle 10g Histogram

====================

Oracle uses two types of histograms for column statistics

(1) height-balanced histograms

(2) frequency histograms

The type of histogram is stored in the HISTOGRAM column of the *TAB_COL_STATISTICS views (USER and DBA). This column can have values of HEIGHT BALANCED, FREQUENCY, or NONE.

(1) Height-Balanced Histograms

In a height-balanced histogram, the column values are divided into bands so that each band contains approximately the same number of rows. The useful information that the histogram provides is where in the range of values the endpoints fall.

(2) Frequency Histograms

In a frequency histogram, each value of the column corresponds to a single bucket of the histogram. Each bucket contains the number of occurrences of that single value. Frequency histograms are automatically created instead of height-balanced histograms when the number of distinct values is less than or equal to the number of histogram buckets specified. Frequency histograms can be viewed using the *TAB_HISTOGRAMS tables.

Oracle, SQL scripts

Post navigation

Previous Post: Export Import with QUERY
Next Post: Composite Index creation tip from Vivek

Related Posts

  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • OEM-Commnds Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • eplan.sql Oracle
  • Order by with ROWNUM Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) 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
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Oracle 10g for solaris 10 Oracle
  • Jai Shree Ram Oracle
  • oracle 11g RAC on vmware Oracle
  • Roles and Stored Procs II Oracle
  • sesswait.sql Oracle
  • Important Script Method for tuning Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme