Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • handling filenname with space Linux/Unix
  • Reading parameter file and printing Linux/Unix
  • Index Range Scan Oracle
  • Jai Shree Ram Oracle
  • CPU speed on solaris Linux/Unix
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Add new columns in dataframe Python/PySpark
  • Sending SQLPLUS output in HTML format Oracle
  • SQL_PROFILE – I explaination Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • How to analyze statspack or AWR report. Oracle
  • database trigger failing Oracle
  • Oracle Statspack survival Guide 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

  • The most important Tuning Notes Oracle
  • Changing Instance Name ( No DB_NAME) Oracle
  • PLSQL Table Syntax 1 Oracle
  • get_aix_vmstat.ksh Oracle
  • JSON/XML Types in Oracle Oracle
  • db_status.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 (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • 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.sql23-Apr-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • How to remove blank lines using vi editor command Linux/Unix
  • Find Command Linux/Unix
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Insert cause enqueue locks Oracle
  • scripts to take listener.log backup Linux/Unix
  • RAC 11g with vmware Oracle
  • Complete Git Tutorial for Beginners GIT

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme