Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Temporary Tablespace Information and restriction. Oracle
  • initUOCIOTTO.ora Oracle
  • Kernel Parameters for Solaris Linux/Unix
  • Postgres DB user and OS user. POSTGRESQL
  • online_ts_bkup.sql Oracle
  • move_arch_files.ksh Linux/Unix
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Recovering lost SYS password Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • Nice notes on wait events Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • ORACLE_SID in sqlplus 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

  • Drop specific SQL plan baseline – spm Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • Rman Notes -1 Oracle
  • Temporary tablespace explaination Oracle
  • online_bkup.sql Oracle
  • sesswait.sql 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • 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

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • replace alphabets using sed Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • get_vmstat_linux Oracle
  • currwait.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme