Home > Oracle Database / Applications Tips > Oracle applications best practices > Keep downtime short on 11i migration: Evaluating which tasks can done before and after
Oracle Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ORACLE APPLICATIONS BEST PRACTICES

Keep downtime short on 11i migration: Evaluating which tasks can done before and after


Tanel Poder
07.19.2004
Rating: -3.43- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


[IMAGE]

This tip is an excerpt from the paper "Keep downtime short on 11i migration" and is brought to you by the International Oracle Users Group (IOUG). Become a member of the IOUG to access the paper referenced here and a repository of technical content created for Oracle users by Oracle users.


Evaluating which tasks can be done before or after critical downtime

The simplest approach to upgrade Oracle Applications is to exactly follow the Upgrade Manual. Since the manual lacks instructions for many possible upgrade optimizations, the most important task is to go through the whole manual, your upgrade plan and check which tasks could be accomplished before or after Apps required downtime. A good example of such activity is application of file system patches during the test upgrade and reusing the patched file system for later production upgrade.

It is not possible to evaluate all the upgrade tasks in this document, but here's a short list with examples about moving (parts of) tasks before or after the upgrade process: Also, all the customizations and interfaces aren't required immediately on the first minute after going live with new system. It might be reasonable to schedule less important and less used customizations to be implemented later on, after successfully gone live with the core functionality. On the other hand, if using an automated system for applying the customizations, the whole process usually won't take too much time (it is easy to create a script which copies all the custom forms/reports in place, creates triggers, etc).

Downtime planning

It's always a good idea to check for any national holidays and plan Applications downtime over weekend and holiday if possible, thus keeping the non-availability impact to the business minimum. Of course this activity doesn't shorten the hours spent on migration nor would help much in an international installation or 24x7x365 scenarios, but it


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Oracle applications best practices
Where can I get more information on the Oracle CRM E-Business Suite?
Numbers to words in any language
Oracle vs. SAP
Oracle apps DBA interview questions
The BI application consolidation challenge
Upgrading PeopleSoft, part 3: Application-specific conversions and going live
Upgrading PeopleSoft, part 2: Installation and the move to production
Upgrading PeopleSoft, part 1: The first steps
Nine steps for successful CRM implementation: Check IT List
Keep downtime short on 11i migration: Reusing a prepared software stack

Oracle applications implementation and upgrades
Oracle brings Fusion Middleware into the modern age
Oracle's Identity Manager features new integration architecture
Oracle Application Integration Architecture: Where it is going?
OAUG president talks Collaborate '09 and the future of Oracle apps
Special Report: Collaborate '09
Oracle bolsters application integration lineup with new AIA packs
New OAUG chief riffs on Fusion, Exadata and recession planning
Oracle New Year's resolutions, part 2: GRC tips and customer resolutions revealed
Oracle's Fusion Applications: Way behind or right on track?
Oracle abuzz over Beehive collaboration platform, other updates at OpenWorld 2008
Oracle applications implementation and upgrades Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


is definitely worth considering in most upgrade cases. For example even though the manufacturing has to work 24x7, the financial department doesn't work during national holidays – the actual price of downtime will be lower.

Database migration to applications' certified versions

Many Applications 10.7 sites are still running on desupported 7.3 or 8.0 Oracle Server versions databases, so the first major task during an upgrade is to get all the data to new, certified release of database server. Currently, the choices vary from version 8.1.7 to 9.2.

There are several ways to migrate data to the new version database, but the most important question regarding upgrade downtime is, whether to do the database upgrade prior to critical downtime period or within it. Both ways have their pluses and minuses, there's again tradeoff between downtime and preparation time, the shorter you want the first, the more you'll have to spend on second.

Upgrading database prior to applicaitons

Upgrading Oracle database before Oracle Applications can help to reduce several hours of downtime during the production migration, especially if the export/import upgrade path is chosen. Even using the mig utility for database migration, can take several hours to recreate the dictionary and other objects, thus if downtime price is high, we need to spread database upgrade's downtime to a week or two prior Applications critical downtime. This is mostly the case, when weekend/night downtime is cheaper than during daytime, thus having a point in spreading downtime to multiple parts. Upgrading database prior to Appications itself has other advantages, like ability to analyze tables and indexes during uptime, in working system.

Here arises one more important issue, if you are upgrading Apps version lower than 11.5.3 and you want to use database version 9i. Oracle has certified its Applications on 9i starting from version 11.5.3.

A quote from Metalink Certify section: So, if you are planning to upgrade to database version 9i, you shouldn't separate the database and applications upgrade, because versions 10.7 and 11.0 aren't certified with 9i database configuration, thus introducing additional problems and risks. If you are planning to run on 8.1.7, there isn't going to be a problem, because both 10.7 and 11.0 run on 8i fine. Though, since Oracle 9i Release 2 is getting stable enough now, upgrading to 9i R2 is recommended. Of course, it is possible to upgrade (or keep) existing database on 8i, run old Apps on 8i at first, then perform the Apps upgrade using 8i, and switch to 9i later on, when needed. This greatly increases complexity, but can eliminate or spread up several hours of critical downtime for upgrading database and analyzing tables, while still keeping the certified version compatibility between Apps and database.

Upgrading database with applications

This is probably the cheapest way of upgrading in sense of overall project efforts. The old Applications' database is migrated within the production upgrade downtime. Since all major changes, both in database and Applications are done in a row, no double testing effort is needed, but the downtime is going to be longer. In some international 24x7 used environments this approach to have larger downtime once, than shorter downtime twice, can be even better, because there's not much difference in any time of day or week.

Database upgrade with export/import method to a new database

Applications version 11i requires minimum database block size to be 8k, thus in several cases Applications database has to be recreated if old one has smaller block size. Reorganizing database using exp/imp has other advantages as well, like optimizing table storage usage, index rebuilding, also we are able to use locally managed tablespaces already from start, not having to convert from DMTs.

But the major drawback is increased downtime: the whole database has to be exported to an exportfile, then imported back to fresh one, all indexes have to be recreated, etc. If you have decided or have to go with export/import, there's one trick, which can help us to shorten downtime caused by import.

The main idea is to export and import the logical structure of database to new server even before the upgrade starts. Naturally we have already created the new empty database to new location, with all its datafiles with sizes measured accurate during test cycles, controlfiles, redos, etc. Since upgrading with exp/imp method involves exporting and importing the full database, we can actually transfer the logical structure (table definitions, packages, triggers, etc) to new database using exp and imp options rows=n. This can shorten downtime considerably, since creating packages, table definitions and others can also take considerable amount of time. Since we transfer all data (rows + possibly LOBs) afterwards, we will have consistent and up to date information in target system. The Applications configuration should be frozen after exporting the logical structure, no DDL changes to database should be allowed. To verify whether any object definitions have changed after export in source database, we can use dba_objects view's column last_ddl_time. Following query will show all objects which have changed in last 24 hours due DDL on them. In rare cases, as some customizations, objects are dropped and recreated regularly, thus they'll show up as recently modified. It's usually enough to verify whether the definition of the object in new database still matches the one in source environment. Also, you might want to do possible DDL changes in database (such as TUMS patch, etc) before the export, to avoid confusion with comparing schemas afterwards.


Rate this Tip
To rate tips, you must be a member of SearchOracle.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Oracle Development Solutions - SQL, J2EE, XML, SOA
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts