Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Removing first line Linux/Unix
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • findobj.sql Oracle
  • chk_space_SID.ksh Linux/Unix
  • Drop all SPM baselines for SQL handle Oracle
  • shutdown linux Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • The most important Tuning Notes Oracle
  • Goldengate Tutorial Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Optimizer_Index init.ora parameter explaination. 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

  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • All About Trace Fils Oracle
  • import-export with multiple files Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • How can I tell if ASO is installed ? 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Implementing Listener Security Oracle
  • to see when crontab is changed. Linux/Unix
  • Clean up Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • Vivek Tuning for Row Locks. Oracle
  • Specify the Rollback segment to use in Transaction Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme