Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • JSON/XML Types in Oracle Oracle
  • Roles and Stored Object behaviour Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Import and export statements Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • Important Script Method for tuning Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • Session_info.ksh Linux/Unix
  • Good notes for shared pool Oracle
  • OEM-Commnds Oracle
  • Processes Parameter decision Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • CPU speed on Linux Linux/Unix
  • Jai Shree Ram Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. 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 Oracle Architecture In Short and point to point Oracle
  • v$event_name Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Goog notes on X$ tables Oracle
  • SQL_PROFILE – I explaination Oracle
  • All About Trace Fils 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Reading config file from other folder inside class Python/PySpark
  • oracle Dba site Oracle
  • Drop database in Oracle 10g Oracle
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • set_env_dba Linux/Unix
  • SQL_PLAN.sql for checking real execution plan Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme