Benutzer-Werkzeuge

Webseiten-Werkzeuge


dba:oracle_index_organised_table

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
dba:oracle_index_organised_table [2014/08/01 10:27]
gpipperr [Script für die Analyse einer IOT]
dba:oracle_index_organised_table [2014/08/01 11:01] (aktuell)
gpipperr [Script für die Analyse einer IOT]
Zeile 202: Zeile 202:
   from (    from ( 
  select nvl(i.index_name,'-') as index_name  select nvl(i.index_name,'-') as index_name
- , (select sum(bytes) from dba_segments where segment_name=i.index_name) as IndexSize+ , (select sum(bytes) from dba_segments where segment_name=i.index_name and owner=i.owner) as IndexSize
  , nvl(t.table_name,'-') as overflow_table  , nvl(t.table_name,'-') as overflow_table
- , nvl((select sum(bytes) from dba_segments where segment_name=t.table_name),0)   as OverFlowSize         + , nvl((select sum(bytes) from dba_segments where segment_name=t.table_name and owner=t.owner ),0)   as OverFlowSize         
  from dba_tables  t  from dba_tables  t
  , dba_indexes i              , dba_indexes i            
Zeile 225: Zeile 225:
   from dba_tab_columns c   from dba_tab_columns c
      , dba_indexes     i      , dba_indexes     i
-where i.table_name (+) = c.table_name+where  i.table_name (+) = c.table_name 
 +   and i.owner (+) = c.owner
    and upper(c.table_name) like upper('&enter_table.')    and upper(c.table_name) like upper('&enter_table.')
    and upper(c.owner) = upper('&enter_owner.'        and upper(c.owner) = upper('&enter_owner.'    
Zeile 232: Zeile 233:
 / /
  
-ttitle of+ttitle off
 </code> </code>
- 
 ==== Quellen ==== ==== Quellen ====
  
   * http://docs.oracle.com/cd/E29505_01/server.1111/e25789/indexiot.htm   * http://docs.oracle.com/cd/E29505_01/server.1111/e25789/indexiot.htm
   * http://www.orafaq.com/wiki/Index-organized_table   * http://www.orafaq.com/wiki/Index-organized_table
"Autor: Gunther Pipperr"
dba/oracle_index_organised_table.txt · Zuletzt geändert: 2014/08/01 11:01 von gpipperr