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

Home -> Community -> Usenet -> c.d.o.server -> importing statistics

importing statistics

From: Ben <balvey_at_comcast.net>
Date: 29 Jan 2007 08:35:42 -0800
Message-ID: <1170088542.107218.152980@v45g2000cwv.googlegroups.com>


9.2.0.5 Ent Ed AIX5L

I am trying to import statistics using the dbms_stats.import_schema_stats procedure from one db/schema to another. The procedure died with an 'ORA-20000 Schema TRDTA does not exist or insufficient privileges' the schema does exist and I'm logged in as sysdba. In trying to find what would cause this, the only thing I see ( and fairly certain this is the cause ) is that some of the indexes are not named the same between prod and test environments. Would that cause my issue? In other words the _PK indexes are called _0 on some of my tables and vice versa. I'm not sure how this happened as it has been that way since I took over this database and I haven't researched renaming them yet.
Would the best ( and simplest ) thing to do be 'ALTER INDEX ... RENAME ...' ? Thanks Received on Mon Jan 29 2007 - 10:35:42 CST

Original text of this message

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