Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle 10g Wait Model Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • Drop tempfiles from database Oracle
  • Configure ssh authentications for RAC Oracle
  • oracle fast start failover best practice Oracle
  • Database logon trigger issue Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • My Test Case On 21-OCT-2005 Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • Sending email with file attachment. Linux/Unix
  • Index Range Scan Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • How to see which patches are applied. Oracle
  • run this before doing any dbchange pvm_pre_change.sql 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

  • Good Doc 28-JUN-2006 Oracle
  • Optimizer SORT Operations Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Drop tempfiles from database Oracle
  • How to know current SID Oracle
  • How to Make Trace Files Created by Oracle Readable by All Users ? 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Running select from V$ views from remote server Linux/Unix
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • TRUNCATE table and disabling referential constraints. Oracle
  • Jai Shree Ram Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • create PLAN_TABLE command. Oracle
  • Wait time tuning research Oracle
  • To see how much time or progress of long transaction Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme