How long would take to upgrade an Oracle DB which has 1T data from 10g to 11g usually/roughly? I need to estimate the down time for it since it is a prod db. Thanks much!
How Long Would Take to Upgrade an 1T Oracle DB from 10g to 11g
oracle-10goracle-11gupgrade
Related Question
- Oracle 10g xe to 11g xe upgrade
- How to configure a new Oracle 11g instance to match the configuration of the old Oracle 10g server
- Upgrading from 10.2g to 11g by incrementals
- Oracle 11g accessing data in Oracle 7
- Oracle Database – Upgrade Issue
- Create a test enviroment in Oracle 10g
- oracle-10g – Recursive Manager in Oracle 10g vs 11g
- Oracle DB refresh on 11g using 10g Cold backup
Best Answer
30-90 minutes according to Oracle's Best Practices for Upgrading. This is about the closest estimate you will get given all the unknowns in this situation.
The size of the database really matters very little in determining how long the upgrade will take. Here are the main factors effecting the duration (from the Oracle.com upgrade blog):
Number of installed database components and options - the more components/option gotten installed, the more upgrade scripts will have to be run, the longer it'll take
Valid and non-stale dictionary statistics - even though creating dictionary statistics in some older releases of Oracle wasn't a brilliant idea since desupport of the rule based optimizer the data dictionary should be analyzed. Especially right before an upgrade. Otherwise this will happen during the upgrade while the database is started in a restricted upgrade mode causing additional downtime.
Number of rows in AUD$ if audit_trail is set to DB
Number of synonyms when upgrading from Oracle 9i - synonyms will be touched and get a new dependency in the dictionary in DEPENDENCY$ - if there's a high number (such as 100,000) this can eat up some time
Number of objects in XDB
At a very low rate if COMPATIBLE will be increased: Number of datafiles and the size of the redologs
Here are some additional factors you may want to consider that aren't related to the core of the upgrade itself:
Probably the biggest factor effecting the upgrade is the unknown factor. Even when the upgrade is practiced in advance on similar hardware with similar data sets, etc. things can still occur that were unanticipated and can drastically effect the duration. With that in mind you should mimic the production environment as closely as you can for the test upgrades. That is, as close as your budget will allow.
If space is the issue preventing you from testing the upgrade, consider restoring the database to a test box excluding some of the larger user tablespaces. This won't give you an exact feel for the time, but it should give you a closer ballpark and allow you to work through more of the unknowns.