Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • oracle fast start failover best practice Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • pvm_pre_change.sql Oracle
  • Find sort details from Db find_sort.sql Oracle
  • Kernel Parameters for Solaris Linux/Unix
  • telnet listening Linux/Unix
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • create database syntax Oracle
  • Error Handling in Proc Oracle
  • eplan.sql Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • Jai Shree Ram Oracle
  • longtx.sql with the flag whether session is blocking any DML locks or not. 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

  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • refre.sql Oracle
  • Index Range Scan Oracle
  • Oracle Release Explaination Oracle
  • PLSQL Table Syntax 1 Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Jai Shree Ram Oracle
  • Another Tuning Article for subheap of shared pool Oracle
  • Drop specific SQL plan baseline – spm Oracle
  • SQL_PROFILE – I explaination Oracle
  • Explain Plan Output 2 Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • v$event_name Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme