Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • move_arch_files.ksh Linux/Unix
  • Find nth max and min. Oracle
  • V$transaction notes for finding XID composition. Oracle
  • Python class import from different folders Python/PySpark
  • SQL_PROFILE – I explaination Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • FGA Part-I Oracle
  • Finding locked objects Oracle
  • find the files that are 1 day old. Linux/Unix
  • Kill a session dynanically using execute immediate Oracle
  • When to rebuld B-tree index Oracle
  • Processes Parameter decision Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Configure ssh authentications for RAC Oracle
  • checking redhat linux version Linux/Unix

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

  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • USER_TABLES.Freelists Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Optimizer SORT Operations Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Changing Instance Name ( No DB_NAME) Oracle

Leave a Reply Cancel reply

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

Categories

  • AMC10 (0)
  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (9)
  • Videos (0)

Recent Posts

  • Tutornet.US — Source of excellent learning14-Oct-2026
  • OCI Infrastructure Patching14-Oct-2026
  • Free API credits for AI models14-Oct-2026
  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Oracle Metalink useful notes Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • to see when crontab is changed. Linux/Unix
  • How to find where datafile is created dbf_info.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme