Oracle11g R2 - Edition Based Redefinition for On Line Application Upgrade

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Oracle11g R2 - Edition Based Redefinition for On Line Application Upgrade - Presentation Transcript

    1. Release 2
      Release 3
      Base Release
      Introducing Oracle 11gR2 Edition Based RedefinitionOn Parallel Application Universes
      Lucas Jellema
      (Oracle ACE Director)
      CTO, AMIS
    2. Availability
      Availability = Performance * (Up or Down)
      Up = !Down
      Down = Unplanned Down + Planned Down
      Planned Down???
      System Maintenance
      Power-supply, Hardware & Network, O/S upgrade
      Database patching & Upgrade
      Application Upgrades
    3. Application Upgrade
      Creation of new objects
      Changing existing objects (alter and create or replace)
      Add, Modify or Drop columns or constraints
      Change packages and stored procedures
      Recompile
      Drop redundant objects
      Convert or migrate data
      Resume normal operations
      Application is DOWN
    4. Compare with road maintenance
    5. Restructuring A12
      Build new road next to current one (A12-B)
      Same “functionality” as the old road
      At the cut-over moment
      Open new A12-B:
      Newly arriving traffic travels on temporary road
      Close A12 (original)
      Cars already on old road keep going
    6. Edition Based Redefinition is similar
      Application Upgrade:
      Prepare new release
      Construct the release in parallel to the existing
      Operations in existing application ‘edition’ continue normally
      From the cut-over point:
      Have new sessions operate on new release
      Existing sessions can continue to run on existing release
    7. Edition Based Redefinition brings a new dimension to the database
      Release 3
      Release 2
      Base Release
    8. Editions introduce or inherit versions of objects
      Release 2
      Release 3
      Base Release
    9. Editions are parallel universes
      Database Objects are identified by
      Object Type
      Schema
      Object Name
      …. Edition!
      (release, application version, stripe, parallel universe id)
      Database Sessions run in the context of a specific edition
      Using a specific collection of versions of objects
    10. Database sessions run in a specific edition –one version of each object
      Release 2
      Release 3
      Base Release
      The database as seen by a sessionrunning in the context of Release 3
      3
      2
      3
      B
      2
      2
      3
      3
      2
    11. Demo of Application Upgrade
      Existing base application, in base edition
      Create new editon – release_2
      Create and Alter database objects
      Base application continues running
      Cut-over point
      New sessions run in release_2 edition
      Current sessions continue in base
    12. Some Rules for EBR (Edition Based Redefinition)
      Editioning acts on packages, functions, triggers, procedures, views, types and synonyms
      Editioning does not apply to tables
      Data is not versionend, cloned, migrated
      Different incarnations of a table are suggested through editionable views – there is only one table
      Applications should never access tables directly!
      Cross Edition Triggers on the table synchronize DML from different editions with the current state of the table
      CET are temporary objects – not part of the application
    13. But wait, there is more
      After the release of a new edition – there is no reason why you cannot keep the previous one going for some time
      And multiple previous ones!
      That means – END OF THE BIG BANG upgrade!
      Multiple versions of the application can continue running to suport various user groups (e.g. SaaS)
      Without data migration and additional downtime upon later move over of user groups
    14. Parallel Application Versions
      Application X
      VERSION 1
      Application X
      VERSION 2
      Release 2
      Release 3
      Base Release
    15. Version 1 on Base Edition
    16. Version 1 on Edition Release 2
    17. Upgrade Base to Release 2
      Authors
      New columns COUNTRY and BIOGRAPHY
      Books
      Drop column NUM_OF_PAGES
      Modified column ISBN (10 to 20 characters)
      New columns LANGUAGE and PUBLICATION_YEAR
    18. Version 2 (on Edition Release 2)
    19. Version 2 on Base Edition
    20. SummaryEdition Based Redefiniton
      11gR2 Editions are parallel, co-existing universes with incarnations of database objects
      The new release can be constructed, tested and run in a new edition
      The old edition can be switched off at cut-over
      Editions also allow long time co-existence of multiple releases of an application
      Application Upgrade no longer needs to disrupt the operation through planned downtime
    21. Conclusion
      See http://www.amis.nl
      To do an 11gR2 PoC together with us
      To learn about 11gR2 training (DBA & Developer)
      For more on database migration services
      Free Event: 29th September – technical details on 11gR2 including hands-on session
      See Blog for 11gR2 articles
      http://technology.amis.nl/blog
      Contact me: lucas.jellema@amis.nl

    + Lucas JellemaLucas Jellema, 2 months ago

    custom

    466 views, 1 favs, 3 embeds more stats

    Continuous database application evolution with Orac more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 466
      • 287 on SlideShare
      • 179 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds
    • 176 views on http://technology.amis.nl
    • 2 views on http://74.125.113.132
    • 1 views on http://74.125.95.132

    more

    All embeds
    • 176 views on http://technology.amis.nl
    • 2 views on http://74.125.113.132
    • 1 views on http://74.125.95.132

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories