Whats new in_db_upgrade_12c

6,202 views

Published on

What is new in Oracle Database 12c Upgrade

Published in: Technology, News & Politics
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
6,202
On SlideShare
0
From Embeds
0
Number of Embeds
4,639
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Whats new in_db_upgrade_12c

  1. 1. Oracle Database 12c: What’s New in Database Upgrade? Roy F. Swonger Senior Director & Product Manager, Database Upgrade & Utilities Oracle Updated: 19-JUL-2013
  2. 2. What’s New in Database Upgrade? §  Supported Versions §  Pre-Upgrade Enhancements §  Parallel Upgrade Scripts §  DBUA Enhancements §  Information and Resources 2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  3. 3. What’s New in Database Upgrade? §  Supported Versions §  Pre-Upgrade Enhancements §  Parallel Upgrade Scripts §  DBUA Enhancements §  Information and Resources 3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  4. 4. Lifetime Support Policy today 2025 2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014 2013 (GA: Jul 2005) 2012 Oracle 10.2 2011 (GA: Jan 2004) 2010 Oracle 10.1 2009 JAN 2007 2008 2007 2006 2005 2004 (GA: Jul 2002) 2003 2002 Oracle 9.2 JUL 2010 JAN 2009 JAN 2012 JUL 2010 Oracle 11.1 JUL 2013 AUG 2012 (GA: Aug 2007) Oracle 11.2 JUL 2015 AUG 2015 JAN 2015 (GA: Sep 2009) Oracle 12.1 JAN 2018 JUN 2018 (GA: Jun 2013) JUN 2021 today Premier Support 4 Waived Extended Support Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Extended Support Limited ES Sustaining Support
  5. 5. Database Patch Set Roadmap §  Release Schedule of Current Database Releases Note.742060.1 –  Note.742060.1 contains also information about platform desupport and patching end dates 5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  6. 6. Upgrade to Oracle Database 12c Oracle 7.3.4 Oracle 7.3 (GA: 1996) Oracle 8.0 (GA: 1997 Oracle 8.1 (GA: 1998) Oracle 8.0.6 Oracle 8.1.7.4 Oracle ≥9.0.1.4 7.3.4 Oracle 9.2.0.8 Oracle 10.1.0.5 Oracle 10.2.0.5 Oracle 11.1.0.7 Oracle ≥11.2.0.2 9.2.0.8 ≥11.2.0.2 9.2.0.8 8.0.6 ≥11.2.0.2 8.1.7.4 Oracle 9.0 (GA: 2001) Oracle 9.2 (GA: Jul 2002) Oracle 10.1 (GA: Jan 2004) Oracle 10.2 (GA: Jul 2005) Oracle 11.1 (GA: Aug 2007) Oracle 11.2 (GA: Sep 2009) Oracle 12.1.0.1 10.2.0.5 9.0.1.4 10.2.0.5 9.2.0.8 ≥11.2.0.2 10.1.0.5 ≥11.2.0.2 10.2.0.5 DIRECT 11.1.0.7 DIRECT ≥11.2.0.2 DIRECT Oracle 12.1 (GA: Jun 2013) Please note: This graph will apply to database upgrades only! 6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  7. 7. Upgrade and Migration Paths exp/imp, expdp/impdp UPGRADE/MIGRATION CTAS, COPY, SQL Loader N Stay on same OS? Y N SQL Apply & Transient Standby Transportable Tablespaces Full Transportable Export/Import Oracle Golden Gate 7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Downtime >30min? Y DBUA CLI $> catctl.pl
  8. 8. What’s New in Database Upgrade? §  Supported Versions §  Pre-Upgrade Enhancements §  Parallel Upgrade Scripts §  DBUA Enhancements §  Information and Resources 8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  9. 9. Pre-Upgrade Enhancements New SQL Automation Fixup Scripts §  NEW preupgrade script SQL> @<ORACLE-HOME-12c>/rdbms/admin/preupgrade.sql §  Executes pre-upgrade checks and generates “fixup” scripts –  Must be executed within the source (lower-numbered version) environment –  Generates fixup scripts to remedy issues that can be resolved via SQL*Plus commands before upgrade –  Scripts and logs are generated in the preupgrade directory of the source environment §  $ORACLE_BASE/cfgtoollogs/$ORACLE_SID/preupgrade/ ð  preupgrade.log ð  preupgrade_fixups.sql ð  post_upgrade_fixups.sql 9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  10. 10. Pre-Upgrade Enhancements New SQL Automation Fixup Scripts 10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  11. 11. What’s New in Database Upgrade? §  Supported Versions §  Pre-Upgrade Enhancements §  Parallel Upgrade Scripts §  DBUA Enhancements §  Information and Resources 11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  12. 12. Parallel Upgrade Scripts Faster Upgrade, Less Downtime §  New feature in Oracle Database 12c – and the default for upgrades –  SERVER component upgrade scripts get executed in parallel, where possible –  Overall time to upgrade is reduced between 20% and 40% –  Parallel upgrade is driven by a catctl.pl PERL script script1.sql script2.sql script3.sql script4.sql script7.sql script9.sql script5.sql script8.sql script10.sql script6.sql script6.sql 12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. script11.sql
  13. 13. Parallel Upgrade Scripts Start the database upgrade in parallel §  How to Start Your Upgrade SQL> startup upgrade SQL>Option –n 4 will run 4 parallel threads (this is also the default value) –  exit $> – cd $ORACLE_HOME/rdbms/admin and type bodies Allows parallel creation of packages $> $ORACLE_HOME/perl/bin/perl catctl.pl -n 4 catupgrd.sql NOTE: Invoking catupgrd.sql from the SQL*Plus command prompt will give you instructions for how to run the new parallel upgrade. 13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  14. 14. Parallel Upgrade Scripts New Output at Terminal and in Logfiles $> $ORACLE_HOME/perl/bin/perl catctl.pl -n 4 catupgrd.sql 14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  15. 15. Parallel Upgrade Scripts Real Customer Examples §  Telco System, Japan Test upgrade from Oracle 9.2.0.8 to Oracle 11.2.0.3 Serial/Default 1046 ORACLE SERVER Component Upgrade 669 0 15 200 400 600 800 1000 1200 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Parallel 36% faster seconds
  16. 16. Parallel Upgrade Scripts Real Customer Examples §  Payback GmbH, Germany Upgrade from Oracle 11.1.0.7 to Oracle 11.2.0.3 on Exadata X2-2 Serial/Default 539 ORACLE SERVER Component Upgrade 338 0 16 100 200 300 400 500 600 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Parallel 37% faster seconds
  17. 17. What’s New in Database Upgrade? §  Supported Versions §  Pre-Upgrade Enhancements §  Parallel Upgrade Scripts §  DBUA Enhancements §  Information and Resources 17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  18. 18. DBUA Enhancements Automated Pre-Upgrade Fixes 18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  19. 19. DBUA Enhancements Parallel Upgrade and Automated Dictionary Stats Gathering 19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  20. 20. DBUA Enhancements Integration With Existing RMAN Backups 20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  21. 21. DBUA Enhancements Use a Guaranteed Restore Point 21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  22. 22. DBUA Enhancements View the Upgrade Log In Progress 22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  23. 23. DBUA Enhancements View the Alert Log 23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  24. 24. What’s New in Database Upgrade? §  Supported Versions §  Pre-Upgrade Enhancements §  Parallel Upgrade Scripts §  DBUA Enhancements §  Information and Resources 24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  25. 25. Information and Resources §  Oracle Database Upgrade Blog –  http://blogs.oracle.com/upgrade §  Oracle Database 12c documentation –  Documentation library: http://www.oracle.com/pls/db121/homepage –  Database Upgrade Guide §  My Oracle Support –  Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1] –  Complete Checklist for Manual Upgrades to Oracle Database 12c Release 1 (12.1) [ID 1503653.1] §  Oracle Technology Network –  otn.oracle.com/goto/upgrade 25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  26. 26. Information and Resources: Oracle Database Upgrade Blog http://blogs.oracle.com/upgrade 26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  27. 27. Information and Resources: Oracle Database Upgrade OTN Page http://otn.oracle.com/goto/upgrade 27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  28. 28. Information and Resources: Oracle Database 12c Documentation Library http://www.oracle.com/pls/db121/homepage 28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  29. 29. Information and Resources: My Oracle Support Important Support Notes About Database Upgrade §  Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1] §  Complete Checklist for Manual Upgrades to Oracle Database 12c Release 1 (12.1) [ID 1503653.1] §  How to Download and Run Oracle's Database Pre-Upgrade Utility [ID 884522.1] §  RAC and Oracle Clusterware Best Practices and Starter Kit (Platform Independent) [ID 810394.1] §  Oracle 12cR1 Upgrade Companion - Coming Soon [ID 1462240.1] –  Oracle 11gR2 Upgrade Companion [ID 785351.1] 29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  30. 30. Download the Slides http://blogs.oracle.com/upgrade 30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  31. 31. 31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  32. 32. 32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

×