Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Migration: One year later

A re-examination of the IBM Data Management special report reveals our coverage was on target.

Cameron Crotty (editor@tdagroup.com), Editor, TDA Group
Cameron Crotty (editor@tdagroup.com) is editor of IBM Data Management magazine.

Summary:  Data Management magazine published a special report on migration from Oracle to DB2® 9.7 environments last year. After the publication of this story, many organizations performed their own migrations and reported their experiences to IBM®, to industry analysts, and to the trade press. In this article, we will take a look at how we did. Where did our coverage meet expectations, where did we fall short, and what's changed since then? This content is part of the IBM Data Management magazine.

Date:  21 Oct 2011
Level:  Introductory

Activity:  6678 views
Comments:  

- Read this article in our interactive digital edition format!
- Subscribe to IBM Data Management magazine

One year ago, we published a special report on migrating from Oracle environments to DB2 9.7 ("Migrate from Oracle or Sybase® to DB2® in weeks," Issue 4, 2010). We looked at new technology that simplified migration by making DB2 capable of delivering many common Oracle features natively. We talked about how to plan for a migration, how to make the most out of the new DB2 capabilities, and where organizations would need to spend extra time to be sure that their migrations succeeded.

What a difference a year makes. Since we published our story, many organizations have done their own migrations and reported their experiences to IBM, to industry analysts, and to the trade press. So, how did we do? Where did our coverage meet expectations, where did we fall short, and what's changed since then? Let's take a look.

How compatible is it?

Last year, after talking with IBM engineers and hearing about some early customer results, we were impressed with the ability of DB2 to handle Oracle and Sybase code natively. We wrote that, "Most Oracle and Sybase applications can now be moved to DB2 9.7 with only minor modifications."

If anything, we may have played this one a little conservatively. Over the past year, we've seen several reports of successful migrations where organizations were able to run their Oracle applications—including some third-party applications—on DB2 9.7 with zero changes. Throughout 2011, reports from industry observers, including IDC and others, corroborated the extent of the native support that DB2 provides for Oracle applications (see "Resources").

Here's an example: over the past year, a leading global distributor migrated three Oracle applications to DB2. They had a remarkable degree of success from the start: one application needed no code changes, another needed only minor changes, and for the third, 94 percent of the code came over clean, 5 percent had minor syntax changes, and 1 percent needed rewriting. That last 1 percent of code dealt with XML translation and would have had to be rewritten even if the company stayed with Oracle, as those functions are no longer supported.


Eyes wide open

When we talked to IBM last year, we asked the IBM team to name some technical issues organizations needed to keep an eye on during migrations. IBM engineers provided a list of areas where a tech professional would probably need to intervene. Several were minor, but there were three that we thought the most likely to require significant attention. The first was trigger support; when we wrote the article, DB2 did not allow you to perform updates to tables from within a BEFORE trigger, and it did not allow trigger actions to be combined the way that a PL/SQL multi-action trigger does. The second was partition handling, as certain types of Oracle database partitioning would force you to update your table layout. The last major hurdle was third-party software dependencies written into the code.

In retrospect, there was one issue that we didn't specifically call out but probably should have: testing. Of course, when considering the overall cost of a migration project, the time and expense of testing applications in a new environment absolutely needs to be factored in (for an example of how testing and validation can affect your project schedule, see "Major financial firm switches from Oracle to DB2 in 12 hours" on page 24). Some observers argued that the native compatibility features of DB2 could help mitigate testing costs to a certain extent. Others recommended running a full test cycle as the prudent course of action.

What's improved in DB2 9.7?

In addition to enhanced compatibility features, the IBM Data Movement Tool (IDMT) continues to add capabilities. IDMT was already a dependable vehicle to migrate database objects and data, with interactive and background options. Now there's a new option to specify the number of JVMs, which provides scalability. The Auto Fix utility gives developers a temporary quick fix to increase out-of-the-box compilation of PL/SQL source files. And for the unusual scenario of a schema without tables, such as a schema containing only procedures, there is a feature that will enable migration of DDL and objects.

We went back to IBM to investigate how the compatibility features had changed in the ensuing year and found some interesting news. We spoke with Serge Rielau, the lead architect for the Oracle compatibility features in DB2 for Linux, UNIX, and Windows.

The first thing we learned is that the state of DB2-Oracle compatibility is something of a moving target because the team is constantly making and releasing improvements (see sidebar, "What's improved in DB2 9.7?"). For example, that lack of support for PL/SQL triggers? Fixed. "We added full support for multi-action PL/SQL triggers as well as updates in BEFORE triggers in Fix Pack 4, which was made generally available in April," says Rielau.

We also asked about support for complex nested objects that need to be processed by PL/SQL. These often occur in situations where data is entered through a form in a web browser. The browser (or web server) logic may package up the data into a set of nested objects, which it expects the database to be able to decode.

Here, we got a good news/bad news reply. The bad news is that we didn't cover this compatibility issue in our original story—the development team simply did not expect nested complex objects to be popular. The good news is that it will probably not be an issue for much longer. Rielau wouldn't make any promises, but it's clear that the team has their eyes on a solution.


When does it make sense to migrate?

One of the biggest decisions that an organization needs to make about migration is figuring out whether the return on investment is sufficient to justify the cost. Most observers focused on the direct costs of the RDBMS platform, but it turns out that licenses aren't the only places where organizations can recoup their investment.

In April 2011, IDC reported on an Oracle-to-DB2 migration that the Coca-Cola Bottling Co. Consolidated (CCBCC) undertook to support its SAP ERP system. The report noted that CCBCC was able to reduce its licensing costs by moving to DB2. But IDC writes that the company was also able to reduce its database storage space: "By using [IBM DB2] Deep Compression—a dictionary-based approach to replace and index repeating patterns with short symbols, compressing the data to 160 tables—SAP ERP systems storage requirements went down to 3TB from 5TB prior to migration. As a result, no hardware upgrades were required. In addition, the duration of manufacturing runs was also reduced by 65%, from 90 minutes to 30 minutes."

The year also turned out to be a bit unusual on the migration front. Several organizations found themselves looking for alternatives as a result of Oracle's decision to cease future development on Intel Itanium processor–based servers. That drama is still playing out, but this could be a time when organizations looking for long-term stability consider migration. In an article for ZDNet, Daniel Kusnetzky recommended that organizations "consider everything that would be needed to make the transition work" and choose "a supplier that has the tools, the services, the partners, and systems to create a long-term solution to this problem."

Kusnetzky also notes that "IBM certainly can be seen as a strong supplier of products and services that can address this issue. The company offers a broad portfolio of systems, software and professional services to help in a migration. They also have an extensive, worldwide partner ecosystem [that] can offer help wherever the customer is located."


Report card

In our original story on Oracle and Sybase migration, we wrote that "DB2 9.7 is compatible with applications and databases developed for Oracle and Sybase at a level that you might not have thought possible." So how well you think we did in our coverage may depend on how compatible with Oracle and Sybase you thought DB2 9.7 was in the first place.

Overall, we believe that our assertions matched up nicely with what independent observers reported during the past year. But no matter what, with many organizations seeking strategies to cut costs, improve performance, and establish a stable information-management foundation, it looks like migration will be a hot topic for some time to come.

Sponsored Article
The Internet is Your Oyster Safeguarding the Smart Grid with a Tactical Appliance Does Your Storage Have the Power to Support Mixed Workloads?
IBM, Intel Post Top Results for SAP Transaction BankingIBM DB2 Advanced Enterprise Server EditionRiding the Open Social-Content Wave
Critical Modeling Strategies for Insurance CompaniesVirtualized Business Intelligence Levels the Playing Field for Small and Midsize CompaniesGrace Under Pressure: ENOVIA V6 PLM Redefines Peak Workload Performance on DB2
DB2 is Pure Power for Growing BusinessesIBM Champions Connection
Partner Resources
Advent Global Solutions, Inc.Applied Analytix, Inc.ASG Software Solutions
BMCCogitoDassault Systèmes
Daeja Image SystemsDBIFuzzy Logix
Melissa DataNECNetezza
QueBIT Quest SoftwareRelational Architects International
Safari Books Online

Resources

About the author

Cameron Crotty (editor@tdagroup.com) is editor of IBM Data Management magazine.

Report abuse help

Report abuse

Thank you. This entry has been flagged for moderator attention.


Report abuse help

Report abuse

Report abuse submission failed. Please try again later.


developerWorks: Sign in


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

Choose your display name

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


Rate this article

Comments

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=766683
ArticleTitle=Migration: One year later
publish-date=10212011

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

For articles in technology zones (such as Java technology, Linux, Open source, XML), Popular tags shows the top tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), Popular tags shows the top tags for just that product zone.

For articles in technology zones (such as Java technology, Linux, Open source, XML), My tags shows your tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), My tags shows your tags for just that product zone.

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.

Special offers