Compared to MySQL database, Oracle has the following advantages:



Similar documents
Consolidate by Migrating Your Databases to Oracle Database 11g. Fred Louis Enterprise Architect

<Insert Picture Here> Move to Oracle Database with Oracle SQL Developer Migrations

Worldwide Relational Database Management Systems 2007 Vendor Shares

Oracle Database 12c. Andy Mendelsohn. Senior Vice President, Oracle Database Server Technologies

Guide to the MySQL Workbench Migration Wizard: From Microsoft SQL Server to MySQL

DBMS Infrastructures and IT Career Recommendations. Jeff Fineberg November 21, 2011

Introducing Ingres. HP OpenVMS Technical Update Days. Darren Horler. Manager, Engineering. October 2011

COMPETITIVE ANALYSIS. Worldwide RDBMS 2006 Vendor Shares: Preliminary Results for the Top 5 Vendors IDC OPINION. Carl W. Olofson

PATROL From a Database Administrator s Perspective

Oracle SQL Developer Migration

N o v e l l A d d s t o H i g h A v a i l a b i l i t y E x t e n s i o n s f o r S U S E L i n u x E n t e r p r i s e S e r v e r 1 1

MySQL Enterprise Edition Most secure, scalable MySQL Database, Online Backup, Development/Monitoring Tools, backed by Oracle Premier Lifetime Support

Open Source: The New Data Center Standard

Microsoft SQL Server versus IBM DB2 Comparison Document (ver 1) A detailed Technical Comparison between Microsoft SQL Server and IBM DB2

Net Developer Role Description Responsibilities Qualifications

Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system

DBMS Project. COP Spring Final Submission Report

Real-time Data Replication

Migration to SQL Server With Ispirer SQLWays 6.0

Affordable, Scalable, Reliable OLTP in a Cloud and Big Data World: IBM DB2 purescale

Oracle SQL Developer Migration. An Oracle White Paper September 2008

Introduction: Database management system

Security and Control Issues within Relational Databases

Oracle SQL Developer for Database Developers. An Oracle White Paper September 2008

PeopleTools Tables: The Application Repository in the Database

Relational Databases for the Business Analyst

The State of Enterprise Open Source Software After the Oracle Acquisition of Sun Microsystems July 2010

SAP Analytics Roadmap for Small and Midsize Companies. Kevin Chan, Director, Solutions SAP

LISTE DES DOCUMENTS ORACLE

<Insert Picture Here> Oracle Database Directions Fred Louis Principal Sales Consultant Ohio Valley Region

Meeting the Needs of Database Management for SaaS: Oracle Database 12c

Open Source Business Intelligence Costs and Benefits

Database Management System Choices. Introduction To Database Systems CSE 373 Spring 2013

WHITE PAPER GoundWork: Bringing IT Operations Management to Open Source and Beyond

Setting up SQL Translation Framework OBE for Database 12cR1

HP Vertica Integration with SAP Business Objects: Tips and Techniques. HP Vertica Analytic Database

Global Headquarters: 5 Speen Street Framingham, MA USA P F

State of Wisconsin Database Hosting Services Roles and Responsibilities

Database Extension 1.5 ez Publish Extension Manual

Oracle SQL Developer for Database Developers. An Oracle White Paper June 2007

DATABASE ADMINISTRATION (DBA) SERVICES

How DBA s can improve data access in the enterprise, unlock value and boost productivity.

Introductory Concepts

PROGRESS DATADIRECT QA AND PERFORMANCE TESTING EXTENSIVE TESTING ENSURES DATA CONNECTIVITY THAT WORKS

Well packaged sets of preinstalled, integrated, and optimized software on select hardware in the form of engineered systems and appliances

Dbvisit Replicate. Dbvisit Replicate Overview

Migrating Non-Oracle Databases and their Applications to Oracle Database 12c O R A C L E W H I T E P A P E R D E C E M B E R

Data Access Guide. BusinessObjects 11. Windows and UNIX

Insight. Microsoft Channel Partners Feel the Pain and Ecstasy of the Cloud. Summary. Analysis. The Commitment to the Cloud

Tracking Database Schema Changes. Guidelines on database versioning using Devart tools

JBoss Enterprise Middleware

Long Term Care Group Deploys Zerto for Data Protection and Recovery for Virtual Environments

Top 10 Oracle SQL Developer Tips and Tricks

Call us today to help you (888) LAWSON CERTIFIED CONSULTANTS

Vendors Questions for RFP DBA and System Administration Support

Short notes on webpage programming languages

Database Mirroring: High Availability (HA) and Disaster Recovery (DR) Technology

Servoy the first choice to deliver Software as a Service (SaaS) platform to accommodate fast, better and cheap application development to Java.

Unicenter Database Management For Distributed RDBMS

Datamation. 3 Ways to Move Application Development to the Cloud. Executive Brief. In This Paper

SAP Sybase Replication Server What s New in SP100. Bill Zhang, Product Management, SAP HANA Lisa Spagnolie, Director of Product Marketing

Performance Management of SQL Server

Stronger database security is needed to accommodate new requirements

Business Usage Monitoring for Teradata

DBA / System Administrator. Activities E N A B L E R S O F T H E V I R T U A L E N T E R P R I S E

Improving Information Delivery and Reducing Cost of Ownership in an IBM Data Environment

SQL Server 2016 New Features!

SEP sesam Online/Hot Backup & Restore for Databases and Application Protection

Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute

The Right Database for Your Growing Business Ndo M. Osias

INTRODUCTION ADVANTAGES OF RUNNING ORACLE 11G ON WINDOWS. Edward Whalen, Performance Tuning Corporation

MyOra 3.0. User Guide. SQL Tool for Oracle. Jayam Systems, LLC

Big Data Analytics - Accelerated. stream-horizon.com

PostgreSQL vs. MySQL vs. Commercial Databases: It's All About What You Need

Oracle 11g is by far the most robust database software on the market

ENABLING INTEROPERABILITY OF ENTERPRISE DATA AND APPLICATIONS USING THE OPEN SOURCE INGRES DATABASE

Implementing efficient system i data integration within your SOA. The Right Time for Real-Time

MySQL. Leveraging. Features for Availability & Scalability ABSTRACT: By Srinivasa Krishna Mamillapalli

Big Data Too Big To Ignore

A Whole New World. Big Data Technologies Big Discovery Big Insights Endless Possibilities

WHITE PAPER Get Your Business Intelligence in a "Box": Start Making Better Decisions Faster with the New HP Business Decision Appliance

High-Volume Data Warehousing in Centerprise. Product Datasheet

Why developers should use ODBC instead of native proprietary database interfaces

SQL Server Training Course Content

Oracle Architecture, Concepts & Facilities

Consulting Services for Veritas Storage Foundation

Vendor Selection Matrix Relational OLTP Mid-Market DBMS Scope: Global 2014

CommVault Backup Appliance with NetApp

IBM Storwize Rapid Application Storage solutions

2010 Ingres Corporation. Interactive BI for Large Data Volumes Silicon India BI Conference, 2011, Mumbai Vivek Bhatnagar, Ingres Corporation

Job Description. Direct Reports

YOUR APP. OUR CLOUD.

1. INTRODUCTION TO RDBMS

Realizing the Benefits of Data Modernization

Virtuoso Replication and Synchronization Services

IBM WebSphere Application Server Family

Real-Time Database Protection and. Overview IBM Corporation

Transcription:

To: John, Jerry Date: 2-23-07 From: Joshua Li Subj: Migration of NEESit Databases from MySQL to Oracle I. Why do we need database migration? Compared to MySQL database, Oracle has the following advantages: 1. Oracle database is very stable, reliable and scalable. It is the best relational database. So far MySQL database has wasted our developers time on debugging and testing functions and features of the database engine itself. 2. Triggers and PL/SQL procedures can be used in Oracle to help application development and enhance performance 3. Oracle has better performance, backup and recovery. Oracle s hot backup allows backup in seconds while our current MySQL backup is done by daily batch. 4. Oracle database can handle very large amount of data up to TB scale. As database grows with project development and some of real data in files added to database, MySQL sever will reach a limit. Soon or later we have to migrate MySQL to a better database system. Now the database schema in MySQL is still simple and data amount small. The sooner we migrate database, the easier. 5. Oracle database is more secure. In addition, SDSC has very good license terms with Oracle Corporation, which also favors SDSC on NEES project. MySQL is not free as we currently pay $9000 a year for MySQL support. II. Why do we chose Oracle instead of other RDBMS? There are many different relational database management systems (RDBMS). These RDBMS vary significantly in their capabilities and in costs.

The popular vendors of RDBMS are listed below: RDBMS Vendors RDBMS Computer Associates INGRES IBM DB2 INFORMIX Software INFORMIX Oracle Corporation Oracle Microsoft Corporation MS Access Microsoft Corporation SQL Server MySQL AB MySQL NCR Teradata PostgreSQL Dvlp Grp PostgreSQL Sybase Sybase 11 Oracle, DB2 and SQL sever are the three leading RDBMS in the market. According to most recent statistic data from Gartner, Oracle, DB2 and SQL sever have 49%, 22% and 14~15%, respectively, for the worldwide RDBMS market for 2005 and 2004. The data of 2006 will be available in the coming May. Oracle and DB2 are usually used for large database on Unix platform while SQL Server for middle size on Windows platform. Please see attached two papers from eweek and Gartner on RDBMS market. Oracle is the best choice for NEESit considering the project scope, our infrastructure and other resource. Oracle Corp. gives very good license terms, nearly free, to SDSC. We have more people who used Oracle in NEESit group. We also can leverage Oracle expertise from Jerry, Joshua and others in SDSC. Oracle gives the highest quality and excellent support compared to other RDBMS vendors. Oracle on Linux platform has been used for several years. Once we migrate current NEES databases to Oracle, we can store some real data in file system to database by parsing them to tables or LOB types. DB2 has slight less functionality compared to Oracle although DB2 is also a very good enterprise

RDBMS. SQL sever does not fit to our Unix system. PostSQL and MySQL are usually slow, lacking database features, and not reliable and nor scalable for a large project. Other RDBMS are shrinking in database market and may be not available in the future. III. What are the Database Migration Tasks? The database migration involves changes in database system setup, schema modification, data migration, and application modification. It also needs good testing and a short period of down time of database sever and web site to finish the data migration and switch database sever and web application. Most development work will be in schema conversion and data migration in database side and modification of the persistent layer or mapper that connects database in application codes. It is suggested to let Kevin who charges the mapper or persistent tier of application to give more accurate estimation and details on the modification of application codes although some estimation on schedule is given below. I will focus on the work in database side. Task 1, to set up oracle database: This is basic database administration work: installation of Oracle RDBMS 10g, standard or enterprise version; creation of Oracle databases and instances for production, testing and development; user and role management, backup and recovery, and monitoring as well as tuning. Task 2, to modify schema of all database objects The SQL scripts of schema creation have a lot differences between MySQL and Oracle. First we need to fix incompatible objects in current database before we the migration. For example, some columns, named as comment, date, etc, cannot be used in Oracle. Then we can convert the MySQL script of the NEEScentral and NeesGA database schema to Oracle. We need not only to

modify the creation scripts of database objects but to add new database objects such as sequences for each table, multiple accounts for security control, etc. Finally we will run the script to set up schema for NEESit database in Oracle. The most conversion of schema from MySQL to Oracle, can be done by tools such as Sybase PowerDesigner, a tool from Quest Software, or Hibernate/EJB3 that was suggested by Kevin. This automatic conversion can save a lot of time though the generated codes usually need checking and modification manually. Additional Oracle database objects such as synonyms and sequences are still added mannuly. In addition, Hibernate/EJB3 also generates the database mapper or persistent tier for Java application, which also save time in Task 5 below of modification in application codes. It is suggested that Kevin or other Hibernate/EJB3 experts can make sure that upper PHP application can talk to Hibernate to connect to database. It is suggested that business rules should still be enforced by constraints and triggers in database although Hibernate can do in Java. Database tuning and other functions are still needed inside database. Task 3, to write scripts to migrate data There will be two scripts: to dump or export all data from MySQL database and to load the data to Oracle schema in Oracle database. Task 4, to support application developers on SQL and enhance database Some developers probably need help to use SQL on Oracle. The differences of SQL between Oracle and MySQL should be supported from database side. In addition, current database needs to add many database features available in Oracle database such as foreign keys, check constraints, indexes, triggers and PL/SQL procedures. Task 5, to modify application codes of PHP/Java to use Oracle database

All database related application codes in mapper or persistent tier which use SQL or database connection should be checked, and modified if needed, using Oracle database. Although most SQL for MySQL database should work well on Oracle database, data insertions need to add sequence if primary key column use sequence data. This part needs Kevin and other developers for details and schedule. Task 6, to test modified application on Oracle database After the modification of web application and database schema, a complete testing will be done to make sure new system works well in a development or testing environment. Task 7, To migrate production database and switch website A formal migration will be completed in a short period during which website is in either read-only mode or down. The migration will be performed using the tested scripts to load data from MySQL production sever to Oracle production server since both Oracle database schema and modified web application have been set up. Then production website will start to use Oracle production database after the migration. It is suggested a central testing and development Oracle database should be used. Data refreshment from production to testing and development databases will be performed by a DBA regularly. Appendix 1: http://www.eweek.com/article2/0,1895, 1967344,00.asp eweek: Oracle Eats the Database Market Again

By Lisa Vaas May 24, 2006 1 comment posted Add your opinion Oracle ate the database market again in both Gartner and IDC numbers, here in PDF form, released May 24. According to Gartner's numbers for the worldwide RDBMS (relational database management systems) market for 2005, Oracle sat on the biggest slice 48.9 percent of the $13.8 billion pie, which grew 8.3 percent over 2004 numbers. ADVERTISEMENT IDC says the 2005 database market was $14.6 billion, up 9.4 percent over 2004 numbers. IDC granted Oracle a 44.6 percent share of that market, and said that Oracle's appetite grew 8.6 percent over what it took to fill the database king's belly in 2004. Oracle is, understandably, tickled pink to retain its hold on the market, in the two leading analyst firms' assessment. Willie Hardie, vice president of database product marketing for Oracle, said 2005 was a significant year given the release of Oracle Database 10g Release 2 in July. The polished release was what many customers were waiting for to get them to jump on the epic 10g database, he said. "That was a green light for our customers to increase their uptake of 10g," he said. "We saw significant increase of adoption in the second half of last year." RAC (Real Application Clusters) adoption continued to grow as well, Hardie said. Click here to read more about Gartner's assessment of Oracle's identity management. Meanwhile, penetration into the SMB (small to midsize business) market is going gangbusters, he said, what with Oracle's introduction

of the downsized Standard Edition 1. Another factor in Oracle's database dominion is Oracle Express Edition, Hardie said. That's given the company's inroads into the developer community, given the edition's drivers for PHP support and its better integration with.net, among other developer-friendly features. "We're seeing progress in three broad areas of the database community: the enterprise space, the SMB space, and the developer space," Hardie said. That's all well and good, said Gartner analyst Colleen Graham, principal research analyst on the market report. Not to pop Oracle's bubble or anything, but much of Oracle's success is actually coming at the expense of Oracle's own business, she said. To wit: Linux grew the fastest of all the RDBMS platforms, 84 percent, in Gartner's numbers. That growth was driven primarily by Oracle, as well as the maturation and acceptance of Linux as a mission-critical database platform. Appendix 2: http://www.gartner.com/press_releases/asset_152619_11.ht ml Gartner Says Worldwide Relational Database Market Increased 8 Percent in 2005 With Increasing Popularity of Open Source and Evolving Buyer Models, Gartner Adjusts Methodology for Software Industry STAMFORD, Conn., 24 May 2006 - Worldwide relational database management systems (RDBMS) total software revenue totaled $13.8 billion in 2005, an 8.3 percent increase from 2004 revenue, according to Gartner, Inc.

"The combined category of open source database management systems vendors, which includes MySQL and Ingres, showed the strongest growth, although it was one of the smallest revenue bases," said Colleen Graham, principal analyst at Gartner. "These open source DBMS products continue to improve in terms of functionality and scalability, and DBMS tool vendors are beginning to provide support for these offerings." The top 5 vendors accounted for nearly 92 percent of the total RDBMS market (see Table 1). Of the top 5 vendors, Microsoft was the only vendor to experience a growth rate above the industry average, mainly as a result of pent-up demand for SQL Server 2005. Gartner Dataquest's Software research group has traditionally measured market share in terms of new license revenue. However, due to the emergence and increasing popularity of open-source software and buyer consumption models such as hosted and subscription offerings, Gartner has moved to measure market share in terms of total software revenue which includes revenue generated from new license, updates, subscriptions and hosting, technical support and maintenance. Professional services and hardware revenue are not included in total software revenue. Table 1 Worldwide 2005 Vendor Revenue Estimates from RDBMS Software, Based on Total Software Revenue (Millions of Dollars) Compa ny 2005 2005 Market Share (%) 2004 2004 Market Share (%) 2004-2005 Growth (%) Oracle 6,721.1 48.6 6,234.1 48.9 7.8 IBM 3,040.7 22.0 2,860.4 22.4 6.3 Microsof t 2,073.2 15.0 1,777.9 13.9 16.6 Teradat a 440.7 3.2 412.1 3.2 6.9 Sybase 407.0 2.9 382.8 3.0 6.3 Other Vendors 1,134.7 8.2 1,090.4 8.5 4.1 Total 13,817 12,757 100.0.4.8 100.0 8.3 Source: Gartner Dataquest (May 2006) Linux grew the fastest of all the RDBMS platforms (84 percent), driven primarily by Oracle, and the maturation and user acceptance of the Linux platform as a mission-critical DBMS platform. RDBMS on the mainframe platform continued to show strength, growing faster than the Unix platform, and even beating the overall growth rate.

Gartner analysts said the worldwide RDBMS market is poised for continued growth through 2010 as data management and integration take on a strategic importance in an increasing number of organizations "The market will see healthy growth, reflecting ongoing demand for relational database management systems used for online transaction procession, which has been the main driver of growth in the past," Ms. Graham said. "The market will also experience increased demand from organizations buying relational database management systems for business intelligence and data warehousing activities. The latter factor is being driven by an explosion of data that is being captured by organizations today." Gartner defines RDBMS as a database management system that incorporates the relational data model, normally including a Structured Query Language (SQL) application programming interface. It is a DBMS in which the database is organized and accessed according to the relationships between data items. In a relational database, relationships between data items are expressed by means of tables. Interdependencies among these tables are expressed by data values rather than by pointers. This allows a high degree of data independence. Additional information is available in the Gartner report "Market Share: Relational Database Management Systems by Operating System, Worldwide, 2005." The report provides market share results for the RDBMS market in Windows, Unix and Linux platforms. The report is available on Gartner?s Web site at http://www.gartner.com/displaydocument?ref=g_search&id=492469. CONTACT: Christy Pettey Gartner +1 408 468-8312 christy.pettey@gartner.com About Gartner: Gartner, Inc. (NYSE: IT) delivers the technology-related insight necessary for its clients to make the right decisions, every day. Gartner serves 10,000 organizations, including chief information officers and other senior IT executives in corporations and government agencies, as well as technology companies and the investment community. The Company consists of Gartner Research, Gartner Executive Programs, Gartner Consulting and Gartner Events. Founded in 1979, Gartner is headquartered in Stamford, Connecticut, U.S.A., and has 3,700 associates, including 1,200 research analysts and consultants in 75 countries worldwide. For more information, visit www.gartner.com.