SlideShare a Scribd company logo
EBR Usage in EBS - 12.2
Ram Narayan Reddy
Skynous Software Services
2/09/2015 SKYNOUS SOFTWARE SERVICES PVT LTD 1
Agenda
• What Made It Possible
• Introduction to ADOP
• Introduction to EBR
• Objects that made EBR Possible
• ADOP Cycle along with Edition
• Conclusion
2/09/2015 2
What Made It Possible?
Online Patching/Code Changes when system is in use ::
• Dual File System
• Introduced in 12.2
• RUN Base and Patch Base
• EBR(Edition-Based Redefinition)
• Introduced in 11gR2
2/09/2015 3
Introduction to ADOP(Online Patching Utility)
• Introduction to ADOP
• Oracle E-Business R12.2 introduced new patching mechanism that allow the
application of patches while your environment is up and running which is
called as Online patch.
• Multiple File systems
• RUN Base and Patch Base
• Different Phases of ADOP
• Downtime Requirement (Required for cutover phase)
2/09/2015 4
Introduction To EBR
• Edition-based redefinition (EBR), enables online application upgrade
with uninterrupted availability of the application.
• When the installation of an upgrade is complete, the pre-upgrade
application and the post-upgrade application are able to be used at
the same time. Therefore an existing session can continue to use the
pre-upgrade application until its user decides to end it; and all new
sessions can use the post-upgrade application. When there are no
longer any sessions using the pre-upgrade application, it can be
retired. When used in this manner, EBR enables hot rollover from the
pre-upgrade version to the post-upgrade version, with zero
downtime.
2/09/2015 5
Objects that Made EBR Possible
• Edition-Based Redefinition depends upon three new kinds of object
• Edition : If the application upgrade will change only views, synonyms, and
PL/SQL objects, then the edition alone is sufficient to allow these changes to
be made while the application remains on line. new workflows are required.
• Editioning View : changes to table data or structure are restricted to only
those tables that are not changed via the ordinary end-user interfaces, then
the edition together with the editioning view are sufficient to allow these
changes to be made while the application remains on line.
• Cross edition Trigger : If changes to table data or structure are required for
those tables that are changed routinely by the end-user, then the edition, the
editioning view, and the cross edition trigger must be used in concert to allow
these changes to be made while the application remains on line.
2/09/2015 6
Edition
• An edition is a new, nonschema object type, uniquely identified,
therefore, by just its name.
• Views (and therefore editioning views), synonyms, and all the kinds of
PL/SQL objects type (and therefore crossedition triggers) are
editionable object types
• An editioned object is uniquely identified by its owner, name,
namespace and the value of current edition that issued the SQL
statement that created or changed it.
2/09/2015 7
Edition Example
2/09/2015 8
Edition examples
2/09/2015 9
SQL> ALTER USER RAM ENABLE EDITIONS;
SQL> SELECT * FROM dba_editions;
EDITION_NAME PARENT_EDITION_NAME USA
------------------------------ ------------------------------ ---
ORA$BASE YES
EDITION_TEST ORA$BASE YES
EDITION_TEST1 EDITION_TEST YES
EDITION_TEST2 EDITION_TEST1 YES
SQL> GRANT USE ON EDITION EDITION_TEST to RAM;
SQL> conn ram/***;
Connected.
SQL> SELECT SYS_CONTEXT('USERENV','SESSION_EDITION_NAME') ASeditionFROM dual ;
EDITION
--------------------------------------------------------------------------------
ORA$BASE
Edition examples
2/09/2015 10
SQL> ALTER SESSION SET EDITION =EDITION_TEST;
SQL> SELECT SYS_CONTEXT('USERENV','SESSION_EDITION_NAME') ASeditionFROM dual;
EDITION
--------------------------------------------------------------------------------
EDITION_TEST
SQL> SELECT object_name,object_type,edition_name FROM user_objects_ae ORDER BY object_name;
OBJECT_NAME OBJECT_TYPE EDITION_NAME
-------------------- ------------------- ------------------------------
EMP TABLE
EV VIEW EDITION_TEST
HELLO PROCEDURE EDITION_TEST
HELLO PROCEDURE ORA$BASE
• How to tell your Edition:
selectad_zd.GET_EDITION_TYPE, ad_zd.GET_EDITION from dual;
•Set Editionat EBS
ad_zd.SET_EDITION(‘RUN’) or ad_zd.SET_EDITION(‘PATCH’)
Editioning Views
2/09/2015 11
• Not All objects are Editionable
• Code Objects – Editionable(PL/SQL Blocks)
• Data Objects – Non Editionable(Tables and Indexes)
• Editioning View
• An editioning view, as a special kind of view, is editionable. It might help to
think that while the physical table cannot be editioned, the editioning view
allows different occurrencesof its logical projection to be presented in
different editions.
Editioning Views Example
2/09/2015 12
Crossedition Triggers
• Assume that we want to modify a column in a table if this is modified
directly we will create invalids in applications and application might mis-
behave depending on the change we do.
• The solution is to create an edition view and cross edition trigger.
• We create an edition view in current edition for the table and alter the
table definition to add new column that has the modification needed.
• We create a new edition from the existing edition and create a new edition
view for the table with new column. Please note that edition view wont
get replaced as it is a editionable object
• Now we create a crossedition trigger, this will populate the changes across
editions
2/09/2015 13
Crossedition Triggers Example
2/09/2015 14
CrossEdition Triggers Example
2/09/2015 15
ADOP and EBS Working Together
2/09/2015 16
ADOP EBR
Prepare New Editionis Created
Apply – File system changes implemented
on Patch Base
Changes are appliedto Newly Created
Edition
Cutover – RUN Base switches New EditionIs made as defaultedition
Abort Newly created Editionis dropped
Cleanup Objects created during online upgrade
are dropped
ADOP PHASE=PREPARE
• Application Side
• Peform Validatations such as Ports
• Sycn the Patch Edition With Run
Edition
• Database Side
• Create edition V_20150718_0941
• Grant use on edition
V_20150718_0941 to public
2/09/2015 17
ADOP PHASE=APPLY
• Application Side
• Perform validation if prepare
completed successfully and if there
are any failed patches
• Applies the patches to patch file
system
• DatabaseSide
• Connect to the Newly Created Patch
edition which in our case is
V_20150718_0941
• We can identify thw new objects
created using dba_objects with
edition_name
2/09/2015 18
ADOP PHASE=FINALIZE
• Validates any failed or
incomplete patching sessions
• Compiles all objects in the
edition
• Prepares the System for the Next
Phase Cutover
• This can be skipped as cutover
will run this if we explicitly run
this.
2/09/2015 19
ADOP PHASE=CUTOVER
• Application Side
• File Base will be changing. Patch
Edition will now become run edition
and vice versa
• Application Outage will happen as
services needs to be started from
new file system
• You will observe that the all managed
servers along with admin server are
started using different port. Oracle
took care that login URL remains
same
• If Logged into the session you will be
prompted with a message to reset
the env
2/09/2015 20
ADOP PHASE=CUTOVER
• Database Side
• The new child version will become
the default version, there by
bringing all the modifications
online
• alter database default edition =
V_20150818_0942
• revoke use on edition
V_20150814_1900 from PUBLIC
• If you are connected existing run
edition your connection will be
terminated
2/09/2015 21
ADOP PHASE=CLEANUP
• Disable and Drop Cross Edition
Triggers
• Clean-up unused seed data
editions
• This will not drop the old edition
2/09/2015 22
ADOP PHASE=ABORT
• revoke use on edition
V_20150816_2311 from PUBLIC
• drop edition V_20150816_2311
cascade
• Inserts the Messages into the
APPLSYS.ad_zd_logs
2/09/2015 23
Customizations
• Best process would be not to perform any custom code movement during
the systemis in patching cycle
• If customizations needed to be moved during the prepare phase make sure
that plsql blocks are compiled on both patch and run editions
• If any files need to be moved to the file system(Such as rdf, shell scripts)
please move them to both the file systems.If these are moved before
prepare, prepare will copy all the files from run file systemto patch file
system.If prepare is already in progress we need to copy to both the file
systems
• Keep your Run and Patch File Systemsin sync with fs_clone
2/09/2015 24
References
• Oracle Manuals
• Google.com
• Tracing adop cycle
2/09/2015 25
Further Questions
Reach us at -ram@skynous.com
Thank You

More Related Content

PPTX
Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...
PPTX
6Reinventing Oracle Systems in a Cloudy World (Sangam20, December 2020)
PDF
Moving your Oracle Databases to the Oracle Cloud
PPTX
IBM Power Systems Announcement Update
PDF
Exadata MAA Best Practices
PPTX
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
PDF
EDBT 2013 - Near Realtime Analytics with IBM DB2 Analytics Accelerator
PPTX
SQL On Hadoop
Triple C - Centralize, Cloudify and Consolidate Dozens of Oracle Databases (O...
6Reinventing Oracle Systems in a Cloudy World (Sangam20, December 2020)
Moving your Oracle Databases to the Oracle Cloud
IBM Power Systems Announcement Update
Exadata MAA Best Practices
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
EDBT 2013 - Near Realtime Analytics with IBM DB2 Analytics Accelerator
SQL On Hadoop

What's hot (18)

PPTX
Expert summit SQL Server 2016
PDF
The state of SQL-on-Hadoop in the Cloud
PPTX
Database as a Service - Tutorial @ICDE 2010
PDF
Open Innovation with Power Systems
PPTX
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
PPT
An overview of snowflake
PPTX
Hive - 1455: Cloud Storage
PDF
Delivering Pluggable Database as a Service
PDF
Introducing Postgres Plus Advanced Server 9.4
 
PDF
DBaaS with EDB Postgres on AWS
 
PPTX
Spark and Couchbase– Augmenting the Operational Database with Spark
PDF
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
PPTX
Couchbase and Apache Spark
PPTX
Review Oracle OpenWorld 2015 - Overview, Main themes, Announcements and Future
PPTX
Oracle & sql server comparison 2
PDF
Snowflake on AWS Workshop
PPTX
Migration from Oracle to PostgreSQL: NEED vs REALITY
PPTX
Expert summit SQL Server 2016
The state of SQL-on-Hadoop in the Cloud
Database as a Service - Tutorial @ICDE 2010
Open Innovation with Power Systems
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
An overview of snowflake
Hive - 1455: Cloud Storage
Delivering Pluggable Database as a Service
Introducing Postgres Plus Advanced Server 9.4
 
DBaaS with EDB Postgres on AWS
 
Spark and Couchbase– Augmenting the Operational Database with Spark
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Couchbase and Apache Spark
Review Oracle OpenWorld 2015 - Overview, Main themes, Announcements and Future
Oracle & sql server comparison 2
Snowflake on AWS Workshop
Migration from Oracle to PostgreSQL: NEED vs REALITY
Ad

Viewers also liked (20)

DOC
Phone list
DOCX
Apuntes
PPTX
Sales presentation market explore-english
PPT
He had such quiet eyes
PDF
Kedaulatan Rakyat 2 Maret 2014
DOCX
JCLIC
PDF
Rising Asia - Inaugural Issue, April 2015
PDF
PDF
Pak 1974-na-committe-ahmadiyya.vOL 5
DOC
2012 deep research report on china special steel industry
PDF
hjkjhkjh
PDF
Proyecto de Ley del Arrepentido
PPSX
Spectral Presentation
PDF
Answers in environmental education @kaye
PPT
How backlinks can be increased in google
PPT
SERTIFIKAT HSE EXPRESS
PDF
Ipf vanhove scientix
PDF
Nevi cpd missie visie en strategie v1.0
PPTX
Spine X Live2D 百萬智多星製作經驗談
RTF
Bai tap trac_nghiem_16_units
Phone list
Apuntes
Sales presentation market explore-english
He had such quiet eyes
Kedaulatan Rakyat 2 Maret 2014
JCLIC
Rising Asia - Inaugural Issue, April 2015
Pak 1974-na-committe-ahmadiyya.vOL 5
2012 deep research report on china special steel industry
hjkjhkjh
Proyecto de Ley del Arrepentido
Spectral Presentation
Answers in environmental education @kaye
How backlinks can be increased in google
SERTIFIKAT HSE EXPRESS
Ipf vanhove scientix
Nevi cpd missie visie en strategie v1.0
Spine X Live2D 百萬智多星製作經驗談
Bai tap trac_nghiem_16_units
Ad

Similar to Editioning use in ebs (20)

PDF
EDITION & TARGET EDITION & Edition-Based Redefinition (EBR) in Oracle
PDF
Presentation online application upgrade of oracle's bug db with edition-ba...
PPTX
Edition Based Redefinition
PPTX
Oracle applications r12.2, ebr, online patching means lot of work for devel...
PDF
King_EditionBasedRedefinition_oracle12c.pdf
PPTX
Oracle11g R2 - Edition Based Redefinition for On Line Application Upgrade
PDF
Ebr the key_to_online_application_upgrade at amis25
PPTX
Edition based redefinition joords
PPTX
Edition based redefinition joords
PDF
Ebs12.2 online patching(aioug_aug2015)
PDF
Ebs12.2 online patching
PDF
How to upgrade your application with no downtime (using edition-based redefin...
PPTX
AOUG_11Nov2016_Challenges_with_EBS12_2
PDF
Edition Based Redefinition Made Easy - Oren Nakdimon
PDF
Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...
PPTX
Edition Based Redefinition - Continuous Database Application Evolution with O...
PPTX
Tales from a Parallel Universe: Using Oracle 11gR2's Edition Based Redefiniti...
PPTX
Introducing and Demonstrating Oracle Database 11gR2's Killer Feature – Editio...
PDF
Online patching ebs122_aioug_appsdba_nov2017
PDF
Customising Oracle's eBusiness Suite
EDITION & TARGET EDITION & Edition-Based Redefinition (EBR) in Oracle
Presentation online application upgrade of oracle's bug db with edition-ba...
Edition Based Redefinition
Oracle applications r12.2, ebr, online patching means lot of work for devel...
King_EditionBasedRedefinition_oracle12c.pdf
Oracle11g R2 - Edition Based Redefinition for On Line Application Upgrade
Ebr the key_to_online_application_upgrade at amis25
Edition based redefinition joords
Edition based redefinition joords
Ebs12.2 online patching(aioug_aug2015)
Ebs12.2 online patching
How to upgrade your application with no downtime (using edition-based redefin...
AOUG_11Nov2016_Challenges_with_EBS12_2
Edition Based Redefinition Made Easy - Oren Nakdimon
Tune my Code! Code-Versionen testen via Edition-Based Redef. - Jérôme Witt, d...
Edition Based Redefinition - Continuous Database Application Evolution with O...
Tales from a Parallel Universe: Using Oracle 11gR2's Edition Based Redefiniti...
Introducing and Demonstrating Oracle Database 11gR2's Killer Feature – Editio...
Online patching ebs122_aioug_appsdba_nov2017
Customising Oracle's eBusiness Suite

More from pasalapudi123 (9)

PDF
Dmz aa aioug
PDF
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
PDF
Getting optimal performance from oracle e business suite(aioug aug2015)
PDF
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
PDF
Oracle12c data guard farsync and whats new - Nassyam Basha
PDF
Oracle database 12c introduction- Satyendra Pasalapudi
PDF
Dba to data scientist -Satyendra
PDF
12c In Memory Management - Saurabh Gupta
PDF
Oracle 12c Application development
Dmz aa aioug
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle database 12c introduction- Satyendra Pasalapudi
Dba to data scientist -Satyendra
12c In Memory Management - Saurabh Gupta
Oracle 12c Application development

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
A Presentation on Artificial Intelligence
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPT
Teaching material agriculture food technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Cloud computing and distributed systems.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
A Presentation on Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Monthly Chronicles - July 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
The Rise and Fall of 3GPP – Time for a Sabbatical?
Spectral efficient network and resource selection model in 5G networks
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Teaching material agriculture food technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Review of recent advances in non-invasive hemoglobin estimation
Machine learning based COVID-19 study performance prediction
Cloud computing and distributed systems.
MYSQL Presentation for SQL database connectivity
cuic standard and advanced reporting.pdf

Editioning use in ebs

  • 1. EBR Usage in EBS - 12.2 Ram Narayan Reddy Skynous Software Services 2/09/2015 SKYNOUS SOFTWARE SERVICES PVT LTD 1
  • 2. Agenda • What Made It Possible • Introduction to ADOP • Introduction to EBR • Objects that made EBR Possible • ADOP Cycle along with Edition • Conclusion 2/09/2015 2
  • 3. What Made It Possible? Online Patching/Code Changes when system is in use :: • Dual File System • Introduced in 12.2 • RUN Base and Patch Base • EBR(Edition-Based Redefinition) • Introduced in 11gR2 2/09/2015 3
  • 4. Introduction to ADOP(Online Patching Utility) • Introduction to ADOP • Oracle E-Business R12.2 introduced new patching mechanism that allow the application of patches while your environment is up and running which is called as Online patch. • Multiple File systems • RUN Base and Patch Base • Different Phases of ADOP • Downtime Requirement (Required for cutover phase) 2/09/2015 4
  • 5. Introduction To EBR • Edition-based redefinition (EBR), enables online application upgrade with uninterrupted availability of the application. • When the installation of an upgrade is complete, the pre-upgrade application and the post-upgrade application are able to be used at the same time. Therefore an existing session can continue to use the pre-upgrade application until its user decides to end it; and all new sessions can use the post-upgrade application. When there are no longer any sessions using the pre-upgrade application, it can be retired. When used in this manner, EBR enables hot rollover from the pre-upgrade version to the post-upgrade version, with zero downtime. 2/09/2015 5
  • 6. Objects that Made EBR Possible • Edition-Based Redefinition depends upon three new kinds of object • Edition : If the application upgrade will change only views, synonyms, and PL/SQL objects, then the edition alone is sufficient to allow these changes to be made while the application remains on line. new workflows are required. • Editioning View : changes to table data or structure are restricted to only those tables that are not changed via the ordinary end-user interfaces, then the edition together with the editioning view are sufficient to allow these changes to be made while the application remains on line. • Cross edition Trigger : If changes to table data or structure are required for those tables that are changed routinely by the end-user, then the edition, the editioning view, and the cross edition trigger must be used in concert to allow these changes to be made while the application remains on line. 2/09/2015 6
  • 7. Edition • An edition is a new, nonschema object type, uniquely identified, therefore, by just its name. • Views (and therefore editioning views), synonyms, and all the kinds of PL/SQL objects type (and therefore crossedition triggers) are editionable object types • An editioned object is uniquely identified by its owner, name, namespace and the value of current edition that issued the SQL statement that created or changed it. 2/09/2015 7
  • 9. Edition examples 2/09/2015 9 SQL> ALTER USER RAM ENABLE EDITIONS; SQL> SELECT * FROM dba_editions; EDITION_NAME PARENT_EDITION_NAME USA ------------------------------ ------------------------------ --- ORA$BASE YES EDITION_TEST ORA$BASE YES EDITION_TEST1 EDITION_TEST YES EDITION_TEST2 EDITION_TEST1 YES SQL> GRANT USE ON EDITION EDITION_TEST to RAM; SQL> conn ram/***; Connected. SQL> SELECT SYS_CONTEXT('USERENV','SESSION_EDITION_NAME') ASeditionFROM dual ; EDITION -------------------------------------------------------------------------------- ORA$BASE
  • 10. Edition examples 2/09/2015 10 SQL> ALTER SESSION SET EDITION =EDITION_TEST; SQL> SELECT SYS_CONTEXT('USERENV','SESSION_EDITION_NAME') ASeditionFROM dual; EDITION -------------------------------------------------------------------------------- EDITION_TEST SQL> SELECT object_name,object_type,edition_name FROM user_objects_ae ORDER BY object_name; OBJECT_NAME OBJECT_TYPE EDITION_NAME -------------------- ------------------- ------------------------------ EMP TABLE EV VIEW EDITION_TEST HELLO PROCEDURE EDITION_TEST HELLO PROCEDURE ORA$BASE • How to tell your Edition: selectad_zd.GET_EDITION_TYPE, ad_zd.GET_EDITION from dual; •Set Editionat EBS ad_zd.SET_EDITION(‘RUN’) or ad_zd.SET_EDITION(‘PATCH’)
  • 11. Editioning Views 2/09/2015 11 • Not All objects are Editionable • Code Objects – Editionable(PL/SQL Blocks) • Data Objects – Non Editionable(Tables and Indexes) • Editioning View • An editioning view, as a special kind of view, is editionable. It might help to think that while the physical table cannot be editioned, the editioning view allows different occurrencesof its logical projection to be presented in different editions.
  • 13. Crossedition Triggers • Assume that we want to modify a column in a table if this is modified directly we will create invalids in applications and application might mis- behave depending on the change we do. • The solution is to create an edition view and cross edition trigger. • We create an edition view in current edition for the table and alter the table definition to add new column that has the modification needed. • We create a new edition from the existing edition and create a new edition view for the table with new column. Please note that edition view wont get replaced as it is a editionable object • Now we create a crossedition trigger, this will populate the changes across editions 2/09/2015 13
  • 16. ADOP and EBS Working Together 2/09/2015 16 ADOP EBR Prepare New Editionis Created Apply – File system changes implemented on Patch Base Changes are appliedto Newly Created Edition Cutover – RUN Base switches New EditionIs made as defaultedition Abort Newly created Editionis dropped Cleanup Objects created during online upgrade are dropped
  • 17. ADOP PHASE=PREPARE • Application Side • Peform Validatations such as Ports • Sycn the Patch Edition With Run Edition • Database Side • Create edition V_20150718_0941 • Grant use on edition V_20150718_0941 to public 2/09/2015 17
  • 18. ADOP PHASE=APPLY • Application Side • Perform validation if prepare completed successfully and if there are any failed patches • Applies the patches to patch file system • DatabaseSide • Connect to the Newly Created Patch edition which in our case is V_20150718_0941 • We can identify thw new objects created using dba_objects with edition_name 2/09/2015 18
  • 19. ADOP PHASE=FINALIZE • Validates any failed or incomplete patching sessions • Compiles all objects in the edition • Prepares the System for the Next Phase Cutover • This can be skipped as cutover will run this if we explicitly run this. 2/09/2015 19
  • 20. ADOP PHASE=CUTOVER • Application Side • File Base will be changing. Patch Edition will now become run edition and vice versa • Application Outage will happen as services needs to be started from new file system • You will observe that the all managed servers along with admin server are started using different port. Oracle took care that login URL remains same • If Logged into the session you will be prompted with a message to reset the env 2/09/2015 20
  • 21. ADOP PHASE=CUTOVER • Database Side • The new child version will become the default version, there by bringing all the modifications online • alter database default edition = V_20150818_0942 • revoke use on edition V_20150814_1900 from PUBLIC • If you are connected existing run edition your connection will be terminated 2/09/2015 21
  • 22. ADOP PHASE=CLEANUP • Disable and Drop Cross Edition Triggers • Clean-up unused seed data editions • This will not drop the old edition 2/09/2015 22
  • 23. ADOP PHASE=ABORT • revoke use on edition V_20150816_2311 from PUBLIC • drop edition V_20150816_2311 cascade • Inserts the Messages into the APPLSYS.ad_zd_logs 2/09/2015 23
  • 24. Customizations • Best process would be not to perform any custom code movement during the systemis in patching cycle • If customizations needed to be moved during the prepare phase make sure that plsql blocks are compiled on both patch and run editions • If any files need to be moved to the file system(Such as rdf, shell scripts) please move them to both the file systems.If these are moved before prepare, prepare will copy all the files from run file systemto patch file system.If prepare is already in progress we need to copy to both the file systems • Keep your Run and Patch File Systemsin sync with fs_clone 2/09/2015 24
  • 25. References • Oracle Manuals • Google.com • Tracing adop cycle 2/09/2015 25
  • 26. Further Questions Reach us at -ram@skynous.com Thank You