Search notes:

Oracle: SYS.HIST_HEAD$

Column-histogram header table.
select 
   own.name                 owner,
   obj.name                 tab_name,
   col.name                 col_name,
   hhd.bucket_cnt      , -- number of buckets
   hhd.row_cnt         , -- number of rows in histgrm$
   hhd.cache_cnt       , -- number of rows in row cache
   hhd.null_cnt        , -- number of nulls
   hhd.timestamp#      , -- date of histogram's last update
   hhd.sample_size     , -- sample size (estimated stats only)
   hhd.minimum         , -- minimum value (1-bucket histograms only)
   hhd.maximum         , -- maximum value (1-bucket histograms only)
   hhd.distcnt         , -- number of distinct values
   hhd.lowval          , -- lowest value of column (second lowest if default)
   hhd.hival           , -- highest value of column (second highest if default)
   hhd.density         , -- density value
   hhd.intcol#         , -- internal column number
   hhd.spare1          , -- sample number of distinct values
   case hhd.spare2
        when 1 then 'user-specified stats'
        when 2 then 'global stats'
        when 4 then 'enpoint actual values in histgrm$ (?)'
        else        '?'
   end                       flags,
   hhd.avgcln          , -- average column length
-- hhd.spare3          , 
-- hhd.spare4          ,
   hhd.minimum_enc     , -- minimum value (encrypted)
   hhd.maximum_enc       -- maximum value (encrypted)
from
   sys.hist_head$  hhd                             join
   sys.obj$        obj on hhd.obj#   = obj.obj#    join
   sys.user$       own on obj.owner# = own.user#   join
   sys.col$        col on hhd.col#   = col.col#

See also

histgrm$

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199679, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/data-dictionary/base-tables/hist_head/index(72): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78