Solved

After RMAN DUPLICATE is it necessary to rebuild optimizer stats

Posted on 2013-10-24
2
443 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
2 Comments
 
LVL 76

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now