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: Copying stats between/amongst schemas

Re: Copying stats between/amongst schemas

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Tue, 02 Dec 2003 19:24:25 -0800
Message-ID: <F001.005D8730.20031202192425@fatcity.com>


What about export (without data), ensuring calculated statistics are included in the export, and then import to the new schema. That should be just as viable and sanctioned. Of course, Oracle 8 has some serious limitations which may prevent it from exporting calculated statistics ( the presence of unique or primary key constraints for example ), most of which Oracle 9 fortunately has eliminated.

At 04:24 PM 12/2/2003, you wrote:
>dbms_stats is the only sanctioned way to do it.
>
>Orr, Steve wrote:
>
>>1 database instance, 2 nearly identical schemas. What's the best
>>sanctioned way to copy stats, (including histograms), from one schema to
>>another?
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>--
>Author: =?ISO-8859-1?Q?Mogens_N=F8rgaard?=
> INET: mln_at_miracleas.dk
>
>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).

Wolfgang Breitling
Oracle7, 8, 8i, 9i OCP DBA
Centrex Consulting Corporation
http://www.centrexcc.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Wolfgang Breitling
  INET: breitliw_at_centrexcc.com

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 Dec 02 2003 - 21:24:25 CST

Original text of this message

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