Oracle Migration Assessment
Company: Major Telco, Inc. Database: CallTrack26 Prepared: July 30, 2010 Compatibility Index: 9.6 A compatibility analysis for deploying Major Telco’s Oracle® application database, CallTrack26, on EnterpriseDB’s Postgres Plus® Advanced Server
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 2
Table of Contents
1 Introduction............................................................................................................................... 3 2 Database / Application Profile .................................................................................................. 4 3 Database Compatibility Factors................................................................................................ 5
3.1 Object Parameters. ............................................................................................................. 5 3.2 Features. ............................................................................................................................. 5 3.3 Syntax ................................................................................................................................ 5 3.4 Packages............................................................................................................................. 6 3.5 Implementation .................................................................................................................. 6 3.6 Database Compatibility Measures ..................................................................................... 6
4 CallTrack26 Compatibility Assessment ................................................................................... 8 4.1 Object Parameters .............................................................................................................. 8 4.2 Features .............................................................................................................................. 8 4.3 Syntax ................................................................................................................................ 9 4.4 Packages............................................................................................................................. 9 4.5 Implementation ................................................................................................................ 10
5 CallTrack26 Compatibility Scores.......................................................................................... 10 5.1 Composite Compatibility Map......................................................................................... 10 5.2 Compatibility Index Score ............................................................................................... 10
6 Estimated Migration Time and Costs ..................................................................................... 11 6.1 Migration Time Estimate ................................................................................................. 11 6.2 Migration Cost Estimate .................................................................................................. 12
7 Conclusions and Next Steps.................................................................................................... 12 8 Additional Resources from EnterpriseDB .............................................................................. 13
8.1 For IT Managers .............................................................................................................. 13 8.2 For DBAs, Architects and Developers............................................................................. 14
9 Appendix A: Conversion Assessment Report Summary ........................................................ 16 10 Appendix B: ServTrack Application Migration ................................................................... 18
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 3
1 Introduction
Although Oracle, IBM and Microsoft dominate the proprietary DBMS market, many IT
organizations have begun to expand their data management strategies to include an emerging
class of DBMS providers. As the leading independent DBMS solution provider, EnterpriseDB
Corporation offers open source based database solutions that combine enterprise-class
functionality, compelling economics and uncompromising support. What’s more, EnterpriseDB’s
Postgres Plus Advanced Server has been engineered from the ground up to be compatible with
Oracle’s namesake database, allowing organizations to safely and cost-effectively add an open
source database solution to their IT infrastructures. Figure 1 provides an economic comparison
of deploying comparably-configured Oracle and EnterpriseDB solutions.
You have elected to have EnterpriseDB Corporation perform an Oracle Migration Assessment
for the CallTrack26 database/schema. This migration assessment focuses on moving /
converting the database and related objects from an Oracle implementation to a Postgres Plus
Advanced Server implementation. While the client application is noted where relevant and
discussed in Appendix C, it is not the primary focus of this migration assessment.
While the first step in an application migration is the movement of data, the client applications
also need a review, assessment, possible changes, and testing. It has been EnterpriseDB’s
Figure 1 – Cost Comparison Chart
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 4
and our customers’ experience that many Oracle based applications run unchanged against an
Advanced Server database with simply an update to the application’s database connection
string. Where possible, this assessment will point out potential application issues warranting
further investigation.
2 Database / Application Profile
Based on information you’ve provided to us in conversations and from diagnostic scans of your
database infrastructure we understand this database to have the following general profile:
Database Profile Item Value Comments
Oracle Database Version 10.2.0.3 Operating System / version Rhel5.2 Hardware Make / Model IBM x3350 CPU Configuration 2 Quad Core RAM 4G Disk Profile NAS storage 500G RAID 0+1 # of Servers 1 # Users/Day 100 # Transactions / Day 120,000 Current DB Size 124GB DB Size Growth Rate 25GB/month Target Schema AppY Usage Pattern OLTP Application Server JBoss Client Application Type Custom Custom, COTS Client Application Language Java
Client App. Connectivity JDBC JDBC, ODBC, .NET, OCI, etc. Embedded SQL Usage Yes Monitoring Tools in Use Quest Spotlight Other Tools Veritas e.g. Backup High Availability SLA 99% High Availability Config. Standby database
The remaining sections of this report are intended to help you understand the factors we believe
will be necessary to a successful migration of CallTrack26 from Oracle to Postgres Plus
Advanced Server. In the sections below, we calculate CallTrack26’s migration complexity
based on five compatibility categories, provide you with a composite Migration Compatibility
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 5
Index value, estimate the time and cost of a migration, and offer you guidance on where to go
from here.
3 Database Compatibility Factors
This Oracle Migration Assessment analyzes and collates the data collected from your staff and
diagnostic scans across five categories of usage in your Oracle database that commonly impact
migration feasibility. Those categories are: Object Parameters, Features, Syntax, Packages,
and Implementation. Each of these categories is discussed briefly below. In addition to
computing migration complexity for these key categories, we also derive a composite Database
Compatibility Index to help you quickly understand the feasibility of migrating CallTrack26 from
Oracle to Postgres Plus Advanced Server.
3.1 Object Parameters. We analyze the layout of your database and the options used by the applications that access
your data. Common items we analyze include: table layout and usage, number/scope of
indexes, use of constraints, and database views. We also evaluate Oracle options such as data
compression and “index-organized” tables.
3.2 Features. We evaluate your application’s use of advanced database features and objects to assess
migration complexity. Some of the features we look for include, but are not limited to:
• Dimensions
• materialized views
• stored outlines
• Advanced Queuing
• Spatial
• Text search
• XML
3.3 Syntax We measure the usage of the PL/SQL language constructs in your database. By comparing the
syntax in your application with the inventory of syntax supported by Postgres Plus Advanced
Server, we derive a profile of migration complexity. This profile relates your use of PL/SQL and
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 6
the quality of its mapping to Oracle supported constructs, alternative constructs, and
unsupported Oracle constructs in Postgres Plus Advanced Server.
3.4 Packages We analyze the Oracle-supplied packages utilized in your stored procedures, triggers, and
functions, then compare them with the library of packages supported by Postgres Plus
Advanced Server. We evaluate each package to determine whether the extended functionality
in use will require any changes to your database logic during migration and then explain the
changes needed.
3.5 Implementation We evaluate your use of certain Oracle features, such as database links, replication, RAC,
standby database(logical vs physical), ASM(automated storage management) and
AWR(automatic workload repository) to determine the degree to which your implementation
conforms to comparable features in Postgres Plus Advanced Server.
3.6 Database Compatibility Measures
3.6.1 Composite Compatibility Map A composite graph is provided representing all the compatibility categories to help you better
visualize the overall compatibility of the CallTrack26 database with its Postgres Plus Advanced
Server implementation. The radar graph attempts to show how well your database’s
characteristics map (either directly or indirectly) to those of Postgres Plus Advanced Server. A
sample is provided below.
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 7
3.6.2 Database Compatibility Index
The Overall Compatibility Index is a based on an algorithm that combines scores in the five
categories described above. Based on the migration complexity we obtain from each of those
categories, we compute a composite, weighted average compatibility index for your database in
the context of its referencing application.
Database Compatibility Index
EnterpriseDB provides migration viability ranges to help you evaluate the meaning behind the
compatibility index score as noted below:
3.6.2.1 Scores from 7-‐10 These databases are considered very good to excellent candidates for migration. At the high
end of the range a migration can be accomplished with minimal help from EnterpriseDB beyond
any standard documentation and training that are available. At the lower end of the range,
some consulting from EnterpriseDB experts may be needed to implement portions of the
database and its client application. The actual migration of the database and any needed
modifications can typically be performed in 2 to 4 weeks time before starting formal testing.
3.6.2.2 Scores from 4-‐7 These database are considered moderate to good candidates for migration. It is recommended
that the customer utilize some consulting help from EnterpriseDB to accomplish the migration as
some features may need a significantly different implementation or solution than currently in
use. The actual migration of the database and any needed modifications can typically be
performed in 4 to 8 weeks time before starting formal testing.
3.6.2.3 Scores from 0-‐4 These databases are considered poor to difficult candidates for migration. The database is
using enough features or features critical to the application that are not supported by Postgres
Plus Advanced Server and no viable alternatives exist. Score differences within the range can
vary because a migration would mean a significant loss of critical functionality or simply be cost
prohibitive because of additional work or skills needed for the new implementation.
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 8
4 CallTrack26 Compatibility Assessment Below are the narrative details of the CallTrack26 database assessment. Summary and detail
results from EnterpriseDB’s CallTrack26 diagnostic scans are provided in Appendix A and
Appendix B, respectively. Appendix C includes discussion of ServTrack, a CallTrack Java
application that Major Telco wishes to migrate with the CallTrack26 database.
4.1 Object Parameters No Object Parameter issues were discovered.
4.2 Features The following feature-related items were discovered.
4.2.1 1 Bitmap Index. Postgres Plus Advanced Server supports dynamic bitmap indexes but not on disk bitmap
indexes. This bitmap index will be migrated to a btree index automatically by the Postgres Plus
migration toolkit.
4.2.2 4 Indexed Organized Table(IOT) IOTs are not supported in Postgres Plus Advanced Server. You can achieve similar results by
clustering a table according to an index. This sorts the table data according to the index as an
IOT would thus improving read performance of the data.
4.2.3 1 Profile Profiles are not supported in Postgres Plus Advanced Server. However, the profile in use is an
Oracle default that is configured upon installation of Oracle. It may not be important to the
CallTrack26 application.
4.2.4 6 Materialized Views Materialized views are supported in Postgres Plus Advanced Server but they are not compatible
with the Oracle syntax. Therefore, these objects will be migrated manually.
4.2.5 1 Table Collection. Table collections are supported in Postgres Plus Advanced Server.
4.2.6 44 Private Synonyms. Older versions of Postgres Plus Advanced Server only supported PUBLIC synonyms but as of
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 9
the 8.4 release, private synonyms are supported.
4.3 Syntax The following syntax-related items were discovered:
4.3.1 16 Commits Postgres Plus Advanced Server supports commits in stored procedure logic.
4.3.2 2 RAISE Statements Earlier versions of Postgres Plus Advanced Server didn’t support the RAISE statement but as of
the 8.4 release, this is supported.
4.3.3 2 Collection Type Declaration Similar to table collections but defined in stored procedures, these types are supported in
Postgres Plus Advanced Server.
Note: Since table collections are in use, there is a possibility that you are using a constructor
function to instantiate that collection. Constructor methods are not currently supported but you
can populate a collection by using a loop to iterate thru the collection assigning a value to each
element as you go.
4.3.4 2 Index Hints CallTrack26 uses two instances of the INDEX hint. Postgres Plus Advanced Server supports
the INDEX hint.
4.4 Packages The following package-related items were discovered:
4.4.1 The Oracle supplied DBMS_LOB package This package is supported in Postgres Plus Advanced Server.
4.4.2 The DBMS_REFRESH package This package is used to schedule refreshes of materialized views. Although this package is not
directly supported, the method to implement materialized views in Postgres Plus Advanced
Server also includes refresh methods. Those refresh methods can be scheduled using the
Oracle compatible DBMS_JOB package in Postgres Plus Advanced Server.
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 10
4.5 Implementation The following implementation-related issues were discovered:
4.5.1 11 Database Links Database links are supported in Postgres Plus Advanced Server and will be migrated
automatically. However, due to Oracle’s security policies, the password used in the database
link definition is not readable and thus when the database is created in Postgres Plus Advanced
Server, it will be done so with a blank password. Therefore, the database administrator must
recreate the database link with a valid password.
5 CallTrack26 Compatibility Scores
5.1 Composite Compatibility Map Figure 2 graphs EnterpriseDB’s assessment of the CallTrack26 database information you
provided using the Database Compatibility Factors described above. Additional commentary
follows the graph.
Figure 2: CallTrack26 Composite Compatibility Map
5.2 Compatibility Index Score Based on the above analysis, EnterpriseDB has derived an overall Database Compatibility
Index value of 9.6 for CallTrack26. Our conclusion is that CallTrack26 is an excellent
candidate for migration to Postgres Plus Advanced Server.
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 11
Calltrack26 Compatibility Index: 9.6
6 Estimated Migration Time and Costs
6.1 Migration Time Estimate Many factors will affect an estimate of a CallTrack26 database migration project, not the least
of which include:
• Complexity and size of the database
• Complexity and size of the client application
• Staff skill sets and experience
• Competing projects
• Organizational resources and budget
• Time constraints
• Hardware and network infrastructure
• Service Level Agreements
• Use of EnterpriseDB staff and expertise
To make EnterpriseDB’s estimation effort even more difficult, these parameters will vary widely
between our customers’ organizations. Please keep in mind that the estimate is just that, an
estimate. To help mitigate the project time estimate, we have also assumed you will utilize a
certain level of consulting expertise from EnterpriseDB (detailed in the Cost section below this
section).
We estimate the migration project to migrate the CallTrack26 database from Oracle to Postgres
Plus Advanced Server will take between 2-4 weeks.
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 12
6.2 Migration Cost Estimate
6.2.1 Existing Oracle Based Configuration Based on conversations with Major Telco’s staff regarding your existing Oracle software
configuration and license and maintenance use, your current Oracle costs break down
approximately as follows:
Component Cost Comments
Licenses for 8 Cores $120,000 8 cores * .50 * 25% discount
Yearly Maintenance Fee $26,400 22% of license fee
Total for first year $120,000
6.2.2 Postgres Plus Advanced Server Migrated Configuration The estimate below is not a true apples to apples comparison since Postgres Plus Advanced Server does not have an upfront license fee. Instead, we have substituted the migration costs as your upfront costs for moving to Postgres Plus Advanced Server. Component Cost Comments
Licenses for 8 Cores $0 No License fees for Postgres Plus Advanced Server
Yearly Maintenance Fee $8,990* EnterpriseDB socket based pricing to accommodate the current server dual quad core hardware being used by Oracle. 2 sockets.
Total for first year $8,990 * This price assumes a single year renewal. Purchasing a 3 year maintenance subscription in advance provides a 20% discount. Note: the estimate above is not a quote for purchase or an agreement to sell. To receive an actionable quote from EnterpriseDB please contact your Sales Representative or EnterpriseDB Reseller.
7 Conclusions and Next Steps
The compatibility assessment provided in this report is an important tool for helping you
understand your database options. However, the analysis is based solely on information
discovered from your CallTrack26 database and, therefore, does not include key financial,
business and technical dimensions of your overall database strategy. We strongly recommend
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 13
that you schedule a follow-up telephone conference with an EnterpriseDB migration expert to
discuss your application and database migration needs in greater detail. This call can be
scheduled through your EnterpriseDB sales associate at +1.978.589.5700, and is provided at
no additional cost.
8 Additional Resources from EnterpriseDB As Oracle migration experts, EnterpriseDB can provide your team with training programs,
mentorship, and migration best practices. We can also offer you hands-on consulting expertise
to get migrations done quickly, properly and cost-effectively. Whether you need our award-
winning Postgres Plus Advanced Server software or other forms of assistance, we stand ready
to help you. Please contact your EnterpriseDB sales associate at +1.978.589.5700 to schedule
a detailed discussion of your database migration options.
If you have not already done so, you can also download Postgres Plus Advanced Server today
and try it for yourself and take advantage of our other Oracle resources at:
http://www.enterprisedb.com/solutions/resources.do
8.1 For IT Managers
8.1.1 The Explosion in DBMS Choice
This white paper, written by industry expert Curt Monash, provides an overview and recommendations for usage of open source databases.
http://www.enterprisedb.com/openDownloads.do?productId=309&redirectReason=true&productVersion=otherDownload
8.1.2 FTD Case Study
Learn how FTD, the worldwide leader in floral delivery, used Postgres Plus to implement a sophisticated Oracle replication, reporting and BI infrastructure in six weeks.
http://www.enterprisedb.com/learning/success.do
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 14
8.1.3 Interview with Judith Hurwitz
In this podcast interview, renowned IT analyst Judith Hurwitz discusses a range of information technology topics, including the appropriate use of open source databases.
http://www.enterprisedb.com/openDownloads.do?productId=362&redirectReason=true&productVersion=otherDownload
8.2 For DBAs, Architects and Developers
8.2.1 A Manager's Guide to Oracle Cost Containment
This EnterpriseDB white paper identifies popular Oracle cost containment strategies and provides helpful case studies that illustrate how Oracle costs are being managed in the field today.
http://www.enterprisedb.com/openDownloads.do?productId=560&redirectReason=true&productVersion=otherDownload
8.2.2 What is Oracle Compatibility?
This 10-minute video reveals exactly what Oracle compatibility means from your business, technical, and skills points of view. Created for DBAs, Developers, and IT Managers/Architects, this presentation looks at support for SQL extensions, various database features, the PL/SQL language, and tools. The video also offers multiple low risk strategies for using Postgres Plus Advanced Server to lower your Oracle costs and utilize the advantages of the most advanced open source database available.
http://www.enterprisedb.com/learning/videos/Oracle_Compatibility.do
8.2.3 Migrating Oracle to Postgres Plus Advanced Server
This EnterpriseDB webcast presents an overview of Oracle compatibility strategies, and then provides a detailed discussion of Oracle database migration.
http://www.enterprisedb.com/openDownloads.do?productId=475&redirectReason=true&productVersion=otherDownload
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 15
8.2.4 Oracle Compatibility Developer's Guide
This EnterpriseDB white paper provides an in-depth review of the Oracle compatibility features, functions, interfaces and utilities available in Postgres Plus Advanced Server.
http://www.enterprisedb.com/openDownloads.do?productId=276&redirectReason=true&productVersion=otherDownload
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 16
9 Appendix A: Conversion Assessment Report Summary
Migration Analysis Date July 24, 2009
Database CallTrack26
Schema AppY
Database Version 10.2.0.3
Database Size (GB) 124.49
Schema Size (MB) 5,705
Object Counts Constraint Counts
Type Count Type Count Function 34 CHECK OR NOT NULL 356 Index 239 FOREIGN KEY 113 LOB 5 PRIMARY KEY 77 Materialized View 5 UNIQUE KEY 2 Procedure 17 OTHER 3 Sequence 64 Total Constraint Count 563 Table 133 Table Partition 3 Trigger 42 JOB 2 Package 2 Package Body 2 Type 2 View 201
Total Object Count 795
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 17
Migration Issues
Object Type Type Count DATATYPE Count 1 TABLE Count 0 INDEX Count 1 VIEW Count 3 PART TABLE Count 0 PART TABLE Hash Part 0 PART TABLE Sub Parts 0 PART INDEX Count 0 NESTED TABLE Count 0 EXTERNAL TABLE Count 0 TRIGGER Count 0 PRIVATE SYNONYM Count 44 SOURCE Syntax - Command 0 SOURCE Package 1 SOURCE Syntax - Exception 0 SOURCE Function 0 SOURCE Syntax - Objects 1 SOURCE Syntax - Other 2 SOURCE Syntax - Hints 2 SOURCE Syntax – Exp Trans Ctl 16 SOURCE Total Count 22 COLLECTION Count 1 VARRAY Count 0 DIMENSION Count 0 JOB Count 4 MATERIALIZED VIEW Count 5 DATABASE LINK Count 19 REPLICATION Count 0 OUTLINE Count 0 RESOURCE MANAGER Count 0 POLICY Count 0 PROFILE Count 1 SUMMARY Possible Migration Issues 106
Oracle Migration Assessment Report
Copyright © 2009 EnterpriseDB Corporation Page 18
10 Appendix B: ServTrack Application Migration EnterpriseDB migration experts met with Major Telcoʼs project team to discuss the migration of a customer service application, ServTrack, that uses the CallTrack26 database. ServTrack is a Java application that is deployed into a JBoss Application Server. ServTrack uses an Oracles type 4 JDBC driver to connect to the Oracle database. There are hardcoded SQL statements in the application that use Oracle built-in SQL functions and Oracle syntax such as CONNECT BY. By applying its migration best practices, EnterpriseDBʼs consultants were able to quickly determine that ServTrack can be migrated to Postgres Plus Advanced Server with minor effort. The required two steps are:
1. Install the Postgres Plus Advanced Server JDBC driver into the JBoss database connection directory.
2. Change ServTrackʼs connection string as follows:
Old connection syntax: New connection syntax:
Although ServTrack uses hardcoded SQL functions and CONNECT BY syntax, the Oracle compatibility features of Postgres Plus Advanced Server will handle those implementation details seamlessly.
Class forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe”,”scott”,”tiger”);
Class.forName("com.edb.Driver"); Connection con = DriverManager.getConnection("jdbc:edb://localhost:5444/edb", "enterprisedb","enterprisedb");
Top Related