Oracle 11g to 12c step by step database upgrade | 11204 to 12101 manual upgrade process

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 92

  • @aasif4594
    @aasif4594 5 лет назад +6

    Oracle 11.2.0.4 to 12.2.0 Upgrade via Manual Method
    ===================================================
    PREPARE FOR UPGRADE
    -------------------
    1) Take DB backup via RMAN
    2) Take ORACLE_HOME, OraInventory backup via OS level copy
    3) Run the utlrp.sql script to validate the invalid objects
    4) exec dbms_stats.gather_database_stats;
    5) exec dbms_stats.gather_dictionary_stats;
    6) exec dbms_stats.gather_fixed_objects_stats;
    INSTALL 12.2.0.1
    ----------------
    1) Download and install 12.2.0.1 into a different Oracle Home Location
    2) Run the pre-upgrade utility which resides under 12.2.0.1 Home
    12_HOME/rdbms/admin/preupgrd.sql
    3) Review and fix all the issues reported via above script
    4) Shutdown the DB, Listener, EMC
    START THE UPGRADE
    ----------------
    1) Copy DBS and Network folder from old O_H to new O_H
    2) Set environment variable O_H to new O_H location
    3) Startup the DB in Startup Upgrade mode
    4) Run the upgrade utility which upgrades the database. Exit from sqlplus
    cd $ORACLE_HOME/rdbms/admin
    $ORACLE_HOME/perl/bin/perl catctl.pl catupgrd.sql
    POST UPGRADE STEPS
    ------------------
    1) Statup DB normally. Make sure its started with 12.2.0.1 O_H
    2) Run the utlrp.sql script to validate the invalid objects
    3) Run the post-upgrade script
    12cHome/rdbms/admin/utlu12.2.sqql
    12cHome/rdbms/admin/captuppst.sql
    12cHome/rdbms/admin/utlu122s.sql
    4) Check the components status
    select comp_name,status,substr(version,1,10) as version from dba_registry;
    5) Change the compatibility parameter to 12.2.0.1 scope=spfile
    6) Check the version details post upgrade
    select comp_name, version, status from dba_registry
    7) Bounce the database
    CLEANUP PROCESS
    ---------------
    1) Update teh new O_H under /etc/oratab file
    2) Unistall the old O_H
    3) Take a fresh backup of database post upgrade

  • @arundubey5896
    @arundubey5896 4 года назад +3

    Very rare explainers found like you .. excellently explained the whole scenario.. so easy to make understand for beginner as well !! keep the good work ! 💐

  • @narendrastudy4286
    @narendrastudy4286 2 года назад +2

    Very very beautifully explained loved it, i watch this video whenever i feel like upgrading, bec just going through this video i believe I have upgraded a DB😘😘😘😘

  • @huipingwen4925
    @huipingwen4925 5 лет назад +3

    This video presents Systematical and detail procedure.

  • @himabindhu7970
    @himabindhu7970 3 года назад +1

    Excellent explanation and Awesome Video, please do more videos which will help for freshers and as well as for experienced people to brush up :)

  • @mvkishore
    @mvkishore 6 лет назад +2

    The video was really very informative and good.
    Thanks for sharing the detailed upgrading process.

  • @thakkaramit5403
    @thakkaramit5403 4 года назад +2

    nice explanation sir, I really like your detail explanation method.

  • @madhukarsargar5414
    @madhukarsargar5414 4 года назад +3

    Thanks for very easy and clear explanation but what about timestamp version upgrade

  • @HarishN-vn9sg
    @HarishN-vn9sg 4 года назад +2

    picture perfect................Thanx...........

  • @manikbasha4745
    @manikbasha4745 3 года назад +1

    Wonderful video detailed explanation Thanks very much!!!

  • @preethiumesh
    @preethiumesh 6 лет назад +1

    Very useful for me, thanks a lot DBA genesis

  • @kumarkoruturu8187
    @kumarkoruturu8187 5 лет назад +2

    tq u so much ....broo......such valuable video .....in depth detailed upgradation.....once agaiy tq uu ....broo....do more videossss

    • @dbagenesis
      @dbagenesis  5 лет назад +1

      You are most welcome. Also check our support website for latest DBA Articles: support.dbagenesis.com/

  • @amitshinde9724
    @amitshinde9724 6 лет назад +3

    nice video
    tysm for this
    its very helpfull

  • @ibrahimjsowe8987
    @ibrahimjsowe8987 2 года назад

    Thanks a lot…..what an excellent demo?

  • @priyaramu7922
    @priyaramu7922 4 года назад +1

    super explanation

  • @pravpandit
    @pravpandit 3 года назад

    Thanks a ton.🙌

  • @dsbs-ke1yn
    @dsbs-ke1yn 4 года назад +1

    Thanks you

  • @ramakrishnab6254
    @ramakrishnab6254 5 лет назад +1

    Bro.. Super explanation....!!

  • @jamshedkhan6121
    @jamshedkhan6121 5 лет назад +2

    thanks a lot...

  • @gemuandore7910
    @gemuandore7910 5 лет назад +1

    thanks for the video :)

  • @narendrapakalapati5660
    @narendrapakalapati5660 5 лет назад

    Excellent video ..thank you

  • @tauseefmohmmed5447
    @tauseefmohmmed5447 6 лет назад +1

    Make a video onOracle RAC install

  • @rupeshrock
    @rupeshrock 5 лет назад +2

    Why we run three 'exec dbms' scripts plz GIve me explanation

  • @MuhammadAli-fi3mn
    @MuhammadAli-fi3mn 4 года назад +1

    Thanks for the nice video. Just wondering why you used a manual method to upgrade the database instead of using a Database upgrade assistant.

  • @Kashyap-Amit
    @Kashyap-Amit 3 года назад

    I didn't find timezone upgrade steps. Also looking for logic, 'why we need to upgrade timezone' I know about it but why not sure

  • @itisvikash
    @itisvikash 4 года назад +2

    Sir can you upload video on upgradation from 11.1.0 to 11.2

    • @dbagenesis
      @dbagenesis  4 года назад +1

      I already have published it. Search once on RUclips

  • @JavedShaikh-ej6ty
    @JavedShaikh-ej6ty 5 лет назад

    Very useful video👏

  • @amitthakur528
    @amitthakur528 5 лет назад

    Great sir

  • @bharathkumar-ds8cd
    @bharathkumar-ds8cd 3 года назад +1

    kindly make one video of downgrade.

  • @ayoob999
    @ayoob999 6 лет назад

    Excellent video......

  • @tauseefmohmmed5447
    @tauseefmohmmed5447 6 лет назад

    Thanku sir

  • @Essentialliv52
    @Essentialliv52 5 лет назад +3

    excellent
    Also after 20 days if I need to revert it to oracle 11G, how do we do that?
    how do we get the data updated after the upgrade?

    • @ankitmehta2460
      @ankitmehta2460 4 года назад +1

      Then you have to downgrade. Follow downgrade steps on Oracle docs

  • @rajatsanwal9919
    @rajatsanwal9919 2 года назад

    phase 49 took 84802 seconds ? 23 hours ?

  • @pramod172
    @pramod172 4 года назад

    Hi.. my Major concern what is best way to revert upgrade incase of upgrade failure? Is it restoring backup again or any other ways? Kindly make a video or reply

  • @Vone_WorldClass
    @Vone_WorldClass 4 года назад +1

    This is very clearly explain,but can I create new oracle home upgrade as the same old home location?

    • @dbagenesis
      @dbagenesis  4 года назад

      Not really, to achieve that, you first perform the upgrade into new home location, delete old home location (11g) and then perform Oracle Home migration (movement) to old home location.
      Kind of tedious job.

  • @ronaknmodi
    @ronaknmodi 4 года назад +1

    Make a video on rolling upgrade in RAC

    • @dbagenesis
      @dbagenesis  4 года назад

      Done!

    • @itisvikash
      @itisvikash 4 года назад

      @@dbagenesis please provide the link, bhaiya !

  • @Silverdragon517
    @Silverdragon517 2 года назад

    Awesome Video, How can I get a copy of your steps in the first screen . I want to use them as notes for the upgrade

  • @ankitgupta10
    @ankitgupta10 6 лет назад +3

    Hi, Can you help us on RAC upgrade?

  • @joeyhcmc
    @joeyhcmc 4 года назад +1

    How was the data in 11g transferred to 12c? Via expdp utility or pointers to db file will be pointed to the original db files location in 11g?

    • @dbagenesis
      @dbagenesis  4 года назад +1

      There is no need for data transfer, once you perform the upgrade, the 11g DB will be running from the new Oracle home 12c.

  • @reginaforka7444
    @reginaforka7444 3 года назад +1

    sir, can you please help with patching 11g and 12c? Thanks

    • @dbagenesis
      @dbagenesis  3 года назад

      Sure, added to my list. Will post videos soon!

  • @masudhasan9315
    @masudhasan9315 4 года назад

    how do i register my oracle database active data guard license?

  • @rehantayyab82
    @rehantayyab82 4 года назад +1

    please can you tell which version of linux used in this practical ?

    • @dbagenesis
      @dbagenesis  4 года назад +1

      I guess OEL 6.5 but you can also go for OEL 7.6, which I currently use for all trainings.

    • @rehantayyab82
      @rehantayyab82 4 года назад

      ok thanks ...... both possibilities are there i think
      installation of 12c on oel 5 ( if 11g already running on oel 5 )
      or
      if 11g running on oel 6 than 12c on oel 6 as well
      am i right ?

  • @rameshkumar-lf4nd
    @rameshkumar-lf4nd 3 года назад

    Hi Arun,
    Would you please let us know what is the significance of timzone upgrde to a minimum supported number w.r.to the version we are going to upgrade?
    What would happen in case if the timezone is not upgraded during the DB upgrade?
    One more doubt like would oracle DB run with higher version binaries without DB upgrade by simply starting up the old DB under new oracle version?
    Thanks in advance.

    • @dbagenesis
      @dbagenesis  3 года назад

      If the Pre-Upgrade Information Tool instructs you to upgrade the time zone files after completing the database upgrade, then use the DBMS_DST PL/SQL package to upgrade the time zone file.
      Applying a change to the database time zone file not only affects the way new data is handled, but potentially alters data stored in TIMESTAMP WITH TIME ZONE columns, so you need to consider the impact of this before upgrading the time zone file.

  • @surajkhanna1735
    @surajkhanna1735 3 года назад

    Can this work for 11.2.0.4 to 19 c also ?

  • @Essentialliv52
    @Essentialliv52 5 лет назад

    please provide the upgrade method from 11.2.0.1 to 11.2.0.4 upgrade video

  • @jasonstewart1504
    @jasonstewart1504 4 года назад

    What is the purpose of validating invalid objects? Also how do you backup ORACLE_HOME and ORAInventory?
    respond ASAp
    Thank you.

  • @thetechcafe754
    @thetechcafe754 4 года назад

    How much time it took for the upgrade?? It seems from your log that it took 89000 sec, is it?? Can you share some information regarding how much time it take for a upgrade of a normal sample db??

    • @rajatsanwal9919
      @rajatsanwal9919 2 года назад

      I am wondering this too . This is huge time to be spent in db upgrade.

  • @reginaforka7444
    @reginaforka7444 3 года назад +1

    do you have a video on patching?

    • @dbagenesis
      @dbagenesis  3 года назад +1

      Not yet but I guess when you download the patch, you get a read-me file. This will help you perform the patching.

  • @lindabrown7470
    @lindabrown7470 5 лет назад

    During the installation portion of this video, why did you select all the groups to be 'dba' and not 'oinstall'? Just curious...

  • @pranavjoshi5961
    @pranavjoshi5961 4 года назад +1

    Any Tutorials related to Golden gate ??

    • @dbagenesis
      @dbagenesis  4 года назад

      we do have video course on Golden Gate: dbagenesis.com/p/oracle-golden-gate-masterclass

    • @pranavjoshi5961
      @pranavjoshi5961 4 года назад

      @@dbagenesis Thank You Sir ..