Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • Locktree.sql Oracle
  • Good RAC & Standby Notes Oracle
  • JSON/XML Types in Oracle Oracle
  • Committing distributed transaction using commit force Oracle
  • My Test Case On 21-OCT-2005 Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • How to calculate PROCESSES parameter Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Proc Compilation 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

  • Export Oracle data and Compress at same time Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • 556976.1 Oracle Clusterware: Components installed 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

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

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Restoring a user’s original password 1051962.101 Oracle
  • Explain Plan Output 2 Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • handling filenname with space Linux/Unix
  • Specify the Rollback segment to use in Transaction Oracle
  • Absolute file number and relative file number Oracle
  • Caching sequence in Memory Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme