Forum Stats

  • 3,854,655 Users
  • 2,264,394 Discussions
  • 7,905,747 Comments

Discussions

How to Disable EBR during 19c database upgrade?

user1165418
user1165418 Member Posts: 3
edited Apr 6, 2020 2:55PM in Database Upgrade

Hi All,

We have upgraded Oracle EBS to 12.2.7. We are now prepping to upgrade the 12.1.0.2 Enterprise Database up to 19.3.

The 19c database upgrade instructions (Doc ID 2539778.1) say “Disable any custom triggers that would get executed before / after DDL. You can enable it once upgrade is completed.”

We are using Edition Based Redefinition (EBR).  Do we simply disable all triggers on tables owned by APPS?  Than re-enable them afterwards?

Any thoughts (and references) would be appreciated.

Dude!

Answers

  • Dude!
    Dude! Member Posts: 22,830 Black Diamond
    edited Apr 2, 2020 4:00PM

    EBS has it's own forum. But generally speaking, it's "disable any custom triggers". Have you created custom triggers on any tables?

  • user1165418
    user1165418 Member Posts: 3
    edited Apr 3, 2020 9:54AM

    No custom triggers on the regular tables owned by APPS.

  • Daniel Overby Hansen-Oracle
    Daniel Overby Hansen-Oracle Posts: 93 Employee
    edited Apr 6, 2020 2:24PM

    A database upgrade does not touch user data (e.g. EBS data). It touches only the meta data itself (objects owned by Oracle Maintained users, e.g. SYS and SYSTEM). You can do whatever you want with user data and it will not conflict with a database upgrade. Also, Edition Based Redefinition works only on user data. You can't use it for SYS. So you can have e.g. two editions in your database at the same time.

    The triggers you should worry about are those that trigger on a database event or a ddl event. If they work on a user schema they should be fine to keep during upgrade. However, if you have made triggers that works on any Oracle Maintained user or fire database-wide I recommend that you disable those during upgrade. They might conflict with the upgrade itself - although it might not necessarily be so.

    Regards,

    Daniel

    Dude!
  • Daniel Overby Hansen-Oracle
    Daniel Overby Hansen-Oracle Posts: 93 Employee
    edited Apr 6, 2020 2:26PM

    By the way, have you considered using AutoUpgrade for the upgrade? There is a quick start guide here. Al the many manual steps that are listed in the MOS note are automatically executed by AutoUpgrade for now. You should be able to upgrade the database in just one command with AutoUpgrade.

    We launched the tool last spring and it is our recommended method for database upgrades.

    Regards,

    Daniel

  • Dude!
    Dude! Member Posts: 22,830 Black Diamond
    edited Apr 6, 2020 2:55PM

    That's good info!