Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • currwait.sql Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • Index Range Scan Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • TRUNCATE Privs Oracle
  • Paste command syntax Linux/Unix
  • ORA-01220 Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • How can I tell if ASO is installed ? Oracle
  • Unix split command to split files Linux/Unix
  • Export Import with QUERY 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

  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • Jai Shree Ram Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • dbinv.sql Oracle
  • Transfer SQL Profiles from One database to other database. 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
  • Find_table_size.sql Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • move_arch_files.ksh Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • Database logon trigger issue Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Complete Git Tutorial for Beginners GIT
  • sql_doing_fts.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme