Migrations from Oracle/Sybase/DB2 to Microsoft SQL Server it s easy! January 2010 Dmitry Balin dmitry@dbbest.com
Academy Enterprise Partner Group
Successful migrations
DB Best Technologies about us Established in March 2002 as LLC in Delaware 80+ employees Offices in US, Europe, Ukraine DB Best has been developing database products and providing consulting services Microsoft acquired DB Best migration products in January 2005 Main business activities: database consulting (migrations, upgrades, remote DBA, BI/ETL) custom software development (.Net, Java, XML, Perl, Web 2.0) developing database products (DB Best Database Compare, T-SQL Analyzer, OraMigrator) Academy Enterprise Partner Group
SQL Server Migrations Why the focus on migrations & what are some of the key challenges? 60 65% of migrating customers are migrating from Oracle because of cost. Noel Yuhanna, Forrester Analyst Migrations to SQL Server Sales Blockers How we can help Migration Solution Center SSMAs (Oracle, Sybase, Access & PowerBuilder) SSMAhelp * Source: Microsoft CMG DBTracker G7 Summary 2007 5
SQL Server Total Cost of Ownership No price increase for SQL Server 2008 Migration calculations http://www.cioview.com/ Learn of the total economic impact deploying SQL Server 2008 can have: New Independent Study Finds 162% Risk-Adjusted ROI for SQL Server 2008 Enterprise Data Platform: The Value of Migrating to SQL Server Why should customers consider migrating to SQL Server? SQL Server Enterprise Data Platform SQL Server Features & Function: In depth comparison analysis with key competitors demonstrate the power of SQL Server. Oracle Comparisons SQL Server 2008 compared to Oracle 11g database. Deployment Why use SQL Server instead of Oracle for SAP Compare SQL Server to IBM DB2 Compare SQL Server to MySQL Redmond Magazine: SQL Server Closing the Gap SQL Server Security & Compliance: SQL Server 2008 is secure by design, default, and deployment. The following resources define these capabilities. SQL Server 2008 Security Overview for Database Administrators Compliance Guide for SQL Server 2008 6
Identifying & Enabling Migration Opportunities How to spot & activate migration ready scenarios? Budgetary or Vendor Satisfaction Cost Cutting: In today s economic climate many customers are cutting budgets in IT. Question: How much is your current database environment costing you and how much less could it be on SQL Server? SQL Server as the Standard: Many companies either do not have SQL Server as a standard or do. There are questions that can enable migrations for both. Question: Getting SQL Server on your standards list can influence costs of your other database vendors. What will make you consider adding SQL Server as a standard? Question: You ve already made SQL Server a standard. Have you looked a ways of cutting costs by moving existing databases to SQL? Database Vendor Satisfaction: Dissatisfaction with current database vendors (e.g. performance, support, maintenance costs) can cause customers to evaluate their database use scenarios. Customer Question: Are you fully satisfied with your existing database vendor? Do they compete for your business on cost, feature, and quality of support? Or do they compete directly with you? Ecosystem Heterogeneous Environments: >90% of all enterprise customers are running multiple database products. Business capabilities (BI, DW) are a key consideration and investment areas. Customer Question: Do all the existing database platforms in your organization meet your business needs? Application Upgrades: Upgrades are points in time when companies deeply consider their underlying data storage. Customer Question: As part of your application upgrade are their capability enhancements and/or cost reduction benefits your organization could realize? Product Support: Product end of support life-cycles are times when customers will think through their future investments in a product. Customer Question: With your current database reaching end-of-support, have you analyzed cost savings or improved capabilities that your organization could realize? Hardware or Infrastructure Upgrades: When customers upgrade hardware they are typically scaling up or out existing line of business applications. Customer Question: Does your underlying data platform scale to meet new demands? 7
Typical Migration Scenarios Two types of applications: Custom-written: Migration can be done with the customer and a partner Packaged: Talk to the ISV Always do assessment first! (using Migration Analyzer module of SSMA + questionnaire) Many times involves working with SI specializing in database migrations 8
Using SQL Server Migration Assistant (SSMA) SSMA: Automates components of database migrations to SQL Server SSMAs (Oracle, Sybase, Access & PowerBuilder Analyzer) SSMA Migration Analyzer 1 Assess the Migration Project SSMA Schema Converter 2 Migrate Schema & Business Logic SSMA Data Migrator 3 Migrate Data SSMA Migration Tester 4 Test the Converted DB Convert the Application Test, Integrate & Deploy 9
SSMA Migration Analyzer Running it is the easiest way to start a migration project Fill out the questionnaire helps with understanding the environment Does the same as the Schema Converter, but doesn t show the conversion results Preferably to run on a backup/development/test database in order not to interfere with operations You can archive (zip) the reports directory, let us know (send email to ssmahelp@microsoft.com), and we ll try to help you with interpreting the results SSMA Migration Process Analyzer Schema Migrator Data Migrator Tester 10
SSMA Schema Converter Almost never converts 100% (although, sometimes does -Motorola, Valero) Default settings usually work for the initial conversion, but may require changes (e.g. type mappings) as the project progresses Sometimes it s easier to make changes in the source stored procedures rather than complete the conversion manually If you don t know what to do with the conversion errors: save the converted code as a script or save a project file send it to ssmahelp@microsoft.com SSMA support team will analyze the script and will provide some help SSMA Migration Process Analyzer Schema Converter Data Migrator Tester 11
SSMA Data Migrator SSMA for Oracle v2 uses linked server to move data logged operation => slower than SSIS good enough when need to move low data volumes SSMA for Sybase/Access/Oracle v3-4 uses direct pipe to move data reads and writes data using non-logged operation on par with SSIS or bcpout/in doesn t write to the disk SSMA Migration Process Analyzer Schema Migrator Data Migrator Tester 12
SSMA Migration Tester Was introduced first in SSMA for Oracle v3.1 (August 07) Exists in SSMA for Oracle and Sybase v4 Typically used for unit testing of converted stored procedures Customers prefer to run it on existing data sets, rather than letting the tool to create data The next most expensive migration step after the schema conversion SSMA Migration Process Analyzer Schema Migrator Data Migrator Tester 13
SSMA Migration Challenges Oracle Sybase Access Oracle Forms Row-level triggers Packages Package variables Collections (nested tables, VARRAYs, objects) System packages (not supported by SSMA Extension Pack) Outer joins RAISERROR PRINT UPDATE with alias Comparison and concatenation with NULL Sybase-to-SQL replication Conversion queries Application performance post migration 14
SQL Server Migration Assistant Customer Evidence Without SSMA, it would have been a huge undertaking just to inventory and catalog the system, let alone do the conversion. Tom Masciovecchio, Director of Publishing Systems, Simon & Schuster SQL Server Migration Assistant allowed us to migrate the database in just one day with 100% accuracy. Our DBA was able to stay focused on more important things. Gordan Redzic, Automation Team Lead, iden Automation Group, Motorola SQL Server Migration Assistant (SSMA) was very simple to use and ensured data integrity and accuracy during the migration. Sanjay Bhadra, Alliance Manager, Sonata Software SSMA automated the migration, saving us from having to do hours and hours of manual coding. Paulo Henrique da Silva, IT Manager, Atento All case studies and testimonials are at: http://www.microsoft.com/sql/migration/custevidence.mspx 15
Making it Real Mission critical DB s run in Ford s manufacturing, engineering & product planning groups. If DB s go down, plants can t build & ship cars. Ford is in the business of designing, engineering, manufacturing & selling cars period. Jon Brusseau, Global ATS, Microsoft Database Landscape Oracle Longtime Oracle & Teradata customer Oracle Customer Advisory Board ~1200 instances of Oracle 2500-3200 Oracle apps in production SQL Server ~ 120 instances of SQL SQL primary entry via 3rd party machinery Removing Barriers Platform capabilities & TCO vs. Oracle Sales coverage with database leadership team Global resource coordination: Chicago MTC for SQL HA solution Oracle SSMA DB migration event Database and application conversion completed through Migration CoE Knowledge transfer to Ford migration center (India) from Migration CoE (Ukraine) Demonstrated Results June 07 Ford made Oracle the exception & SQL the new standard $10 million dollar savings per year in maintenance fees Removed from Oracle Customer Advisory Board Ford Microsoft reference-able Over 1200 apps migrated SQL 2008 certified by January
Call to Action Call to Action & Resources Consider migration opportunities to SQL Server in your existing ecosystem Leverage the available tools & resources Download SSMA now! Resources Resources Links SQL Server Migration Solution Center http://www.microsoft.com/sqlserver/2008/en/us/migration.aspx SQL Server Migration Assistants SQL Server Migration Assistant Support DB Best Technologies a migration partner http://www.microsoft.com/sqlserver/2005/en/us/migration.aspx SSMAhelp@microsoft.com http://www.dbbest.com, http://dbbest.net/blog Dmitry Balin DB Best Technologies CEO dmitry@dbbest.com 408-202-4567 17
Do you have any final questions? Dmitry Balin dmitry@dbbest.com 14082024567 Academy Enterprise Partner Group