Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: DBMS_STATS.GATHER_DATABASE_STATS analyzes SYS and SYSTEM inde

RE: DBMS_STATS.GATHER_DATABASE_STATS analyzes SYS and SYSTEM inde

From: Connor McDonald <hamcdc_at_yahoo.co.uk>
Date: Tue, 08 Oct 2002 01:11:06 -0800
Message-ID: <F001.004E3043.20021008011106@fatcity.com>


Evidently not...

SQL> grant dba to blah identified by blah;

Grant succeeded.

SQL> conn blah/blah
Connected.
SQL> create table IOT ( x number primary key,   2 y char(100) ) organization index
  3 including x overflow;

Table created.

SQL> select segment_name from user_segments;

SEGMENT_NAME



SYS_IOT_OVER_3688
SYS_IOT_TOP_3688 SQL> exec system.dbstat.ANALYZE_DB('BLAH'); BEGIN dbstat.ANALYZE_DB('BLAH'); END;

*
ERROR at line 1:
ORA-25191: cannot reference overflow table of an index-organized table

ORA-06512: at "SYS.DBMS_STATS", line 4481
ORA-06512: at "SYSTEM.DBSTAT", line 85
ORA-06512: at "SYSTEM.DBSTAT", line 185
ORA-06512: at line 1

My lazy fix has been just to catch a 25191 and ignore :-)

Cheers
Connor


Connor McDonald
http://www.oracledba.co.uk
http://www.oaktable.net

"Remember amateurs built the ark - Professionals built the Titanic"



Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: hamcdc_at_yahoo.co.uk

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Oct 08 2002 - 04:11:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US