Solved

After RMAN DUPLICATE is it necessary to rebuild optimizer stats

Posted on 2013-10-24
2
452 Views
Last Modified: 2013-10-24
This is more of a general knowledge question than for any particular business requirement I currently have.

Been thinking lately about optimizer statistics after duplicating a database via RMAN.

After completing the duplicate, is it necessary to regather stats for the database?

My gut feeling is no, but I've been digging through the Documentation this morning and haven't found anything specific on it, and Mr Google hasn't been able to find me anything concrete on it either.

Anyone with any specific insights on this (and references to docs would be nice to have too if you have them).

Thanks
0
Comment
Question by:Steve Wales
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39598030
Depends on how accurate the stats were when the copy was created.

RMAN will copy/restore the datafiles themselves.  It isn't an export/import where objects are built/loaded as it goes.  It's a 'copy' of what you had at the time RMAN did it's thing.

So, bad stats before, then bad stats after.
0
 
LVL 22

Author Closing Comment

by:Steve Wales
ID: 39598040
I always keep my production stats up to date.  I figured as much (hence my comment about my gut feel on the matter).

Thanks for the confirmation.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question