Link to home
Start Free TrialLog in
Avatar of plennon
plennon

asked on

dbms_stats export stats to another database

i am going to copy stats from a database to a test database.

I will create the statistics table with
exec DBMS_STATS.CREATE_STAT_TABLE(ownname =>'SCHEMA_NAME' ,stat_tab => 'STATS_TABLE' , tblspace => 'STATS_TABLESPACE');

I need to know what tablespace to use? (should i create a new one only for stats) - some examples i've seen do not declare tablesapce.

Also, any tips on what parameters to use when using imp/exp to get stats_table into another database?
ASKER CERTIFIED SOLUTION
Avatar of anandmahajan
anandmahajan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of linuxo
linuxo