SlideShare a Scribd company logo
1 of 26
Download to read offline
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

What's hot

Expert summit SQL Server 2016
Expert summit   SQL Server 2016Expert summit   SQL Server 2016
Expert summit SQL Server 2016Łukasz Grala
 
Open Innovation with Power Systems
Open Innovation with Power Systems Open Innovation with Power Systems
Open Innovation with Power Systems IBM Power Systems
 
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...
Oracle OpenWorld 2016 Review - Focus on Data, BigData, Streaming Data, Machin...Lucas Jellema
 
Oracle & SQL Server on the Cloud: Database Week SF
Oracle & SQL Server on the Cloud: Database Week SFOracle & SQL Server on the Cloud: Database Week SF
Oracle & SQL Server on the Cloud: Database Week SFAmazon Web Services
 
Oracle & SQL Server on the Cloud: Database Week San Francisco
Oracle & SQL Server on the Cloud: Database Week San FranciscoOracle & SQL Server on the Cloud: Database Week San Francisco
Oracle & SQL Server on the Cloud: Database Week San FranciscoAmazon Web Services
 
An overview of snowflake
An overview of snowflakeAn overview of snowflake
An overview of snowflakeSivakumar Ramar
 
Hive - 1455: Cloud Storage
Hive - 1455: Cloud StorageHive - 1455: Cloud Storage
Hive - 1455: Cloud StorageHortonworks
 
Delivering Pluggable Database as a Service
Delivering Pluggable Database as a ServiceDelivering Pluggable Database as a Service
Delivering Pluggable Database as a ServicePete Sharman
 
Oracle and SQL Server on the Cloud
Oracle and SQL Server on the CloudOracle and SQL Server on the Cloud
Oracle and SQL Server on the CloudAmazon Web Services
 
Introducing Postgres Plus Advanced Server 9.4
Introducing Postgres Plus Advanced Server 9.4Introducing Postgres Plus Advanced Server 9.4
Introducing Postgres Plus Advanced Server 9.4EDB
 
DBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSDBaaS with EDB Postgres on AWS
DBaaS with EDB Postgres on AWSEDB
 
Spark and Couchbase– Augmenting the Operational Database with Spark
Spark and Couchbase– Augmenting the Operational Database with SparkSpark and Couchbase– Augmenting the Operational Database with Spark
Spark and Couchbase– Augmenting the Operational Database with SparkMatt Ingenthron
 
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527
Things Every Oracle DBA Needs to Know About the Hadoop Ecosystem 20170527Zohar Elkayam
 
Couchbase and Apache Spark
Couchbase and Apache SparkCouchbase and Apache Spark
Couchbase and Apache SparkMatt Ingenthron
 
Review Oracle OpenWorld 2015 - Overview, Main themes, Announcements and Future
Review Oracle OpenWorld 2015 - Overview, Main themes, Announcements and FutureReview Oracle OpenWorld 2015 - Overview, Main themes, Announcements and Future
Review Oracle OpenWorld 2015 - Overview, Main themes, Announcements and FutureLucas Jellema
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2Mohsen B
 
Snowflake on AWS Workshop
Snowflake on AWS WorkshopSnowflake on AWS Workshop
Snowflake on AWS WorkshopDavid Teszler
 
Migration from Oracle to PostgreSQL: NEED vs REALITY
Migration from Oracle to PostgreSQL: NEED vs REALITYMigration from Oracle to PostgreSQL: NEED vs REALITY
Migration from Oracle to PostgreSQL: NEED vs REALITYAshnikbiz
 

What's hot (20)

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

Viewers also liked

Sales presentation market explore-english
Sales presentation   market explore-englishSales presentation   market explore-english
Sales presentation market explore-englishRachid QCHIQACH
 
He had such quiet eyes
He  had such quiet eyesHe  had such quiet eyes
He had such quiet eyesWan Firdaus
 
Kedaulatan Rakyat 2 Maret 2014
Kedaulatan Rakyat 2 Maret 2014Kedaulatan Rakyat 2 Maret 2014
Kedaulatan Rakyat 2 Maret 2014hastapurnama
 
Rising Asia - Inaugural Issue, April 2015
Rising Asia - Inaugural Issue, April 2015Rising Asia - Inaugural Issue, April 2015
Rising Asia - Inaugural Issue, April 2015Rumman Ahamed
 
Pak 1974-na-committe-ahmadiyya.vOL 5
Pak 1974-na-committe-ahmadiyya.vOL 5Pak 1974-na-committe-ahmadiyya.vOL 5
Pak 1974-na-committe-ahmadiyya.vOL 5muzaffertahir9
 
2012 deep research report on china special steel industry
2012 deep research report on china special steel industry2012 deep research report on china special steel industry
2012 deep research report on china special steel industrysmarter2011
 
hjkjhkjh
hjkjhkjhhjkjhkjh
hjkjhkjhMerjerz
 
Proyecto de Ley del Arrepentido
Proyecto de Ley del ArrepentidoProyecto de Ley del Arrepentido
Proyecto de Ley del ArrepentidoGabriel Conte
 
Answers in environmental education @kaye
Answers in environmental education @kayeAnswers in environmental education @kaye
Answers in environmental education @kayeCee Saliendrez
 
How backlinks can be increased in google
How backlinks can be increased in googleHow backlinks can be increased in google
How backlinks can be increased in googleRaghwendra Kumar
 
SERTIFIKAT HSE EXPRESS
SERTIFIKAT HSE EXPRESSSERTIFIKAT HSE EXPRESS
SERTIFIKAT HSE EXPRESSsertifikatSMK3
 
Nevi cpd missie visie en strategie v1.0
Nevi cpd missie visie en strategie v1.0Nevi cpd missie visie en strategie v1.0
Nevi cpd missie visie en strategie v1.0John van Veen
 
Spine X Live2D 百萬智多星製作經驗談
Spine X Live2D 百萬智多星製作經驗談Spine X Live2D 百萬智多星製作經驗談
Spine X Live2D 百萬智多星製作經驗談Scissor Lee
 
Bai tap trac_nghiem_16_units
Bai tap trac_nghiem_16_unitsBai tap trac_nghiem_16_units
Bai tap trac_nghiem_16_unitsGodfrey Tran
 

Viewers also liked (20)

Phone list
Phone listPhone list
Phone list
 
Apuntes
ApuntesApuntes
Apuntes
 
Sales presentation market explore-english
Sales presentation   market explore-englishSales presentation   market explore-english
Sales presentation market explore-english
 
He had such quiet eyes
He  had such quiet eyesHe  had such quiet eyes
He had such quiet eyes
 
Kedaulatan Rakyat 2 Maret 2014
Kedaulatan Rakyat 2 Maret 2014Kedaulatan Rakyat 2 Maret 2014
Kedaulatan Rakyat 2 Maret 2014
 
JCLIC
JCLICJCLIC
JCLIC
 
Rising Asia - Inaugural Issue, April 2015
Rising Asia - Inaugural Issue, April 2015Rising Asia - Inaugural Issue, April 2015
Rising Asia - Inaugural Issue, April 2015
 
Gazeta
GazetaGazeta
Gazeta
 
Pak 1974-na-committe-ahmadiyya.vOL 5
Pak 1974-na-committe-ahmadiyya.vOL 5Pak 1974-na-committe-ahmadiyya.vOL 5
Pak 1974-na-committe-ahmadiyya.vOL 5
 
2012 deep research report on china special steel industry
2012 deep research report on china special steel industry2012 deep research report on china special steel industry
2012 deep research report on china special steel industry
 
hjkjhkjh
hjkjhkjhhjkjhkjh
hjkjhkjh
 
Proyecto de Ley del Arrepentido
Proyecto de Ley del ArrepentidoProyecto de Ley del Arrepentido
Proyecto de Ley del Arrepentido
 
Spectral Presentation
Spectral PresentationSpectral Presentation
Spectral Presentation
 
Answers in environmental education @kaye
Answers in environmental education @kayeAnswers in environmental education @kaye
Answers in environmental education @kaye
 
How backlinks can be increased in google
How backlinks can be increased in googleHow backlinks can be increased in google
How backlinks can be increased in google
 
SERTIFIKAT HSE EXPRESS
SERTIFIKAT HSE EXPRESSSERTIFIKAT HSE EXPRESS
SERTIFIKAT HSE EXPRESS
 
Ipf vanhove scientix
Ipf vanhove scientixIpf vanhove scientix
Ipf vanhove scientix
 
Nevi cpd missie visie en strategie v1.0
Nevi cpd missie visie en strategie v1.0Nevi cpd missie visie en strategie v1.0
Nevi cpd missie visie en strategie v1.0
 
Spine X Live2D 百萬智多星製作經驗談
Spine X Live2D 百萬智多星製作經驗談Spine X Live2D 百萬智多星製作經驗談
Spine X Live2D 百萬智多星製作經驗談
 
Bai tap trac_nghiem_16_units
Bai tap trac_nghiem_16_unitsBai tap trac_nghiem_16_units
Bai tap trac_nghiem_16_units
 

Similar to Editioning use in ebs

Oracle applications r12.2, ebr, online patching means lot of work for devel...
Oracle applications r12.2, ebr, online patching   means lot of work for devel...Oracle applications r12.2, ebr, online patching   means lot of work for devel...
Oracle applications r12.2, ebr, online patching means lot of work for devel...Ajith Narayanan
 
Continuous Deployment of your Application @SpringOne
Continuous Deployment of your Application @SpringOneContinuous Deployment of your Application @SpringOne
Continuous Deployment of your Application @SpringOneciberkleid
 
Cooper Oracle 11g Overview
Cooper Oracle 11g OverviewCooper Oracle 11g Overview
Cooper Oracle 11g Overviewmoin_azeem
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsSrinivasa Pavan Marti
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsSrinivasa Pavan Marti
 
Ebs upgrade-to-12.2 technical-upgrade_best_practices
Ebs upgrade-to-12.2 technical-upgrade_best_practicesEbs upgrade-to-12.2 technical-upgrade_best_practices
Ebs upgrade-to-12.2 technical-upgrade_best_practicesaioughydchapter
 
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)pasalapudi123
 
Oracle11g R2 - Edition Based Redefinition for On Line Application Upgrade
Oracle11g R2 - Edition Based Redefinition for On Line Application UpgradeOracle11g R2 - Edition Based Redefinition for On Line Application Upgrade
Oracle11g R2 - Edition Based Redefinition for On Line Application UpgradeLucas Jellema
 
Continuous Deployment to the cloud
Continuous Deployment to the cloudContinuous Deployment to the cloud
Continuous Deployment to the cloudVMware Tanzu
 
Sql 2012 Upgrade Readiness Guide
Sql 2012 Upgrade Readiness GuideSql 2012 Upgrade Readiness Guide
Sql 2012 Upgrade Readiness GuidePARIKSHIT SAVJANI
 
Database Change Management
Database Change Management Database Change Management
Database Change Management headspringlabs
 
OOW15 - technical upgrade best practices for oracle e-business suite 12.2
OOW15 - technical upgrade best practices for oracle e-business suite 12.2OOW15 - technical upgrade best practices for oracle e-business suite 12.2
OOW15 - technical upgrade best practices for oracle e-business suite 12.2vasuballa
 
Oracle EBS Release 12: Tips for Patching
Oracle EBS Release 12: Tips for PatchingOracle EBS Release 12: Tips for Patching
Oracle EBS Release 12: Tips for PatchingScott Jenner
 
10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 UpgradeOAUGNJ
 
Capture the Streams of Database Changes
Capture the Streams of Database ChangesCapture the Streams of Database Changes
Capture the Streams of Database Changesconfluent
 
Modernizing SQL Server the Right Way
Modernizing SQL Server the Right WayModernizing SQL Server the Right Way
Modernizing SQL Server the Right WayJuan Fabian
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Amazon Web Services
 

Similar to Editioning use in ebs (20)

Oracle applications r12.2, ebr, online patching means lot of work for devel...
Oracle applications r12.2, ebr, online patching   means lot of work for devel...Oracle applications r12.2, ebr, online patching   means lot of work for devel...
Oracle applications r12.2, ebr, online patching means lot of work for devel...
 
Continuous Deployment of your Application @SpringOne
Continuous Deployment of your Application @SpringOneContinuous Deployment of your Application @SpringOne
Continuous Deployment of your Application @SpringOne
 
Cooper Oracle 11g Overview
Cooper Oracle 11g OverviewCooper Oracle 11g Overview
Cooper Oracle 11g Overview
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
Ebs upgrade-to-12.2 technical-upgrade_best_practices
Ebs upgrade-to-12.2 technical-upgrade_best_practicesEbs upgrade-to-12.2 technical-upgrade_best_practices
Ebs upgrade-to-12.2 technical-upgrade_best_practices
 
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
Ebs upgrade-to-12.2 technical-upgrade_best_practices(aioug-aug2015)
 
Oracle11g R2 - Edition Based Redefinition for On Line Application Upgrade
Oracle11g R2 - Edition Based Redefinition for On Line Application UpgradeOracle11g R2 - Edition Based Redefinition for On Line Application Upgrade
Oracle11g R2 - Edition Based Redefinition for On Line Application Upgrade
 
Continuous Deployment to the cloud
Continuous Deployment to the cloudContinuous Deployment to the cloud
Continuous Deployment to the cloud
 
Sql 2012 Upgrade Readiness Guide
Sql 2012 Upgrade Readiness GuideSql 2012 Upgrade Readiness Guide
Sql 2012 Upgrade Readiness Guide
 
Database Change Management
Database Change Management Database Change Management
Database Change Management
 
OOW15 - technical upgrade best practices for oracle e-business suite 12.2
OOW15 - technical upgrade best practices for oracle e-business suite 12.2OOW15 - technical upgrade best practices for oracle e-business suite 12.2
OOW15 - technical upgrade best practices for oracle e-business suite 12.2
 
Oracle EBS Release 12: Tips for Patching
Oracle EBS Release 12: Tips for PatchingOracle EBS Release 12: Tips for Patching
Oracle EBS Release 12: Tips for Patching
 
10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade
 
Capture the Streams of Database Changes
Capture the Streams of Database ChangesCapture the Streams of Database Changes
Capture the Streams of Database Changes
 
R12.2 dba
R12.2 dbaR12.2 dba
R12.2 dba
 
Upgrading Em13c Collaborate 2016
Upgrading Em13c Collaborate 2016Upgrading Em13c Collaborate 2016
Upgrading Em13c Collaborate 2016
 
Modernizing SQL Server the Right Way
Modernizing SQL Server the Right WayModernizing SQL Server the Right Way
Modernizing SQL Server the Right Way
 
IUG ATL PC 9.5
IUG ATL PC 9.5IUG ATL PC 9.5
IUG ATL PC 9.5
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
 

More from pasalapudi123

Ebs12.2 online patching(aioug_aug2015)
Ebs12.2 online patching(aioug_aug2015)Ebs12.2 online patching(aioug_aug2015)
Ebs12.2 online patching(aioug_aug2015)pasalapudi123
 
Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)pasalapudi123
 
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAROracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMARpasalapudi123
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Bashapasalapudi123
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
Dba to data scientist -Satyendra
Dba to data scientist -SatyendraDba to data scientist -Satyendra
Dba to data scientist -Satyendrapasalapudi123
 
12c In Memory Management - Saurabh Gupta
12c In Memory Management - Saurabh Gupta 12c In Memory Management - Saurabh Gupta
12c In Memory Management - Saurabh Gupta pasalapudi123
 
Oracle 12c Application development
Oracle 12c Application developmentOracle 12c Application development
Oracle 12c Application developmentpasalapudi123
 

More from pasalapudi123 (9)

Dmz aa aioug
Dmz aa aiougDmz aa aioug
Dmz aa aioug
 
Ebs12.2 online patching(aioug_aug2015)
Ebs12.2 online patching(aioug_aug2015)Ebs12.2 online patching(aioug_aug2015)
Ebs12.2 online patching(aioug_aug2015)
 
Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)Getting optimal performance from oracle e business suite(aioug aug2015)
Getting optimal performance from oracle e business suite(aioug aug2015)
 
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAROracle12c flex asm_flexcluster - Y V RAVI KUMAR
Oracle12c flex asm_flexcluster - Y V RAVI KUMAR
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
Dba to data scientist -Satyendra
Dba to data scientist -SatyendraDba to data scientist -Satyendra
Dba to data scientist -Satyendra
 
12c In Memory Management - Saurabh Gupta
12c In Memory Management - Saurabh Gupta 12c In Memory Management - Saurabh Gupta
12c In Memory Management - Saurabh Gupta
 
Oracle 12c Application development
Oracle 12c Application developmentOracle 12c Application development
Oracle 12c Application development
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

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