Row Chaining in Oracle |

Sdílet
Vložit
  • čas přidán 21. 07. 2024
  • In this episode of daily DBA, I pick up 6 important #DBA related questions and give my answers! Do not forget to checkout BONUS QUESTION at the end of the video!
    0:21 What's the difference between row chaining and row migration?
    4:47 How many minimum disks are required in external, normal and high redundancy ?
    14:34 Could you talk about recursive calls in Oracle?
    22:26 While I was trying to switchover, I ran into issue? What's your recommendation?
    25:44 What happens in golden gate configuration when you perform source database Point-In-Time-Recovery? How can we fix it?
    30:05 What is db_file_name_convert?
    Bonus Question
    32:05 Should I go for Oracle 12c certification or wait for Oracle 18c certification to be released?
    Website: www.dbagenesis.com/
    Facebook: / dbagenesis
    Instagram: / dbagenesis
    Twitter: / dbagenesis
  • Věda a technologie

Komentáře • 65

  • @nellimandlamadhura3357
    @nellimandlamadhura3357 Před 4 lety +2

    H sir, The way of explaining and clarifying doubts with example is excellent sir .

  • @krishnamm7111
    @krishnamm7111 Před 3 lety +1

    Great explanation. Njoying ur videos

  • @aqeebjaveed3230
    @aqeebjaveed3230 Před 4 lety +2

    In case of external redundancy the diskgroup size would be 3tb, similarly in high redundancy diskgroup size would be 1tb , 3 ways of mirroring data will be stored upto 1tb and accept 2 fault tolerance.

  • @kirandaware9003
    @kirandaware9003 Před rokem +1

    Thanks a lot for sharing knowledge :)

  • @johncharles3197
    @johncharles3197 Před 4 lety +1

    Thank you for explaining row chaining and migration. Could you also explain about high water mark please?

    • @dbagenesis
      @dbagenesis  Před 4 lety +1

      Maybe in my upcoming episodes !!

    • @haripsd
      @haripsd Před 4 lety

      @@dbagenesis
      The size of the diskgroup will be same 3TB, But the amount of data can be stored in the disk group will be 1TB for normal & 3TB for external??

  • @fakrudeenali2005
    @fakrudeenali2005 Před 4 lety +1

    Nice very useful..

  • @anujsharma9952
    @anujsharma9952 Před 4 lety +1

    Hi Arun, question regarding row chaining and row migration - 1) how we will be knowing that we have issue with row chaining/row migration what exact thing will give us clear confirmation that issue occurred because of block level either row chaining/row migration 2) how we will solve this problem row chaining and migration 3) if we gather the stats of table and rebuild the index so index will be updated with new block information or still it will search the old block?

    • @dbagenesis
      @dbagenesis  Před 4 lety +2

      Picked up your question for upcoming episodes!

  • @vigneshchinna358
    @vigneshchinna358 Před 4 lety +1

    Hi bro,
    How to avoid wait events
    Like row lock contention.

  • @sandeepsindhu346
    @sandeepsindhu346 Před 4 lety +1

    Hi sir highly appreciated what you are doing for the dba community....
    Just a small request it will great if you explain the wait events in oracle and the recomended approach to solve them.
    Also what is the best approach to read the awr reports and find the bottlenecks in the oracle performance...
    Thanks

    • @dbagenesis
      @dbagenesis  Před 4 lety +1

      Sure, will speak about wait events in upcoming episodes. Meanwhile do checkout my previous video on AWR report posted on CZcams.

    • @sandeepsindhu346
      @sandeepsindhu346 Před 4 lety

      @@dbagenesis sure sir thanks for the prompt reply

  • @avid2395
    @avid2395 Před 4 lety +1

    After installed 11GR2 for RAC Configuration, why we have showing compatible.asm is 11.2.0.0.0 & compatible.rdbms is 10.1.0.0.0?
    Please explain.

  • @nayan8966
    @nayan8966 Před 4 lety +1

    Good sir...

  • @nihalnadaf8126
    @nihalnadaf8126 Před 4 lety +1

    Can please explain briefly about read consistency in oracle M alwys litle bit confusing on that! pls help😊

  • @9890691169
    @9890691169 Před 4 lety

    Hi Arun,
    1. what is a quorum disk and its concept.
    2. if i have a normal redundancy in a diskgroup and if my 1 disk gets corrupt. what will happen in this scenario. i will have a copy of data on one disk but when new data will be written to a diskgroup it will not have 2nd disk for redundancy what will happen in this case. ?

  • @arifansari42
    @arifansari42 Před 4 lety +1

    If redundancy external then diskgroup size would be equal or less than 3TB.
    If redundancy high then diskgroup size would be equal or less than 1TB.

  • @matheenahamed2692
    @matheenahamed2692 Před 4 lety

    How many types of privileges are available in oracle (both system and object level)? What are the important privileges that DBA should know?

  • @deepn9884
    @deepn9884 Před 4 lety +2

    Hello Arun,
    Thanks! one doubt at 3.30 on "Row migration".
    I believe each block has the same size. if the new row can't fit into existing block of 4 kb how can it fit into another single block, will it again go for "row chaining" instead of row migration

    • @dbagenesis
      @dbagenesis  Před 4 lety +9

      Was expecting this question !! I should have given below example:
      You have one 8KB block and there are two records stored inside the block.
      Rec 1 = 5KB
      Rec 2 = 2KB
      Space Remaining = 1KB
      User Updates Rec 2 and now the new size is 4KB. It will eventually not fit in the existing data block.
      Hence, Oracle will migrate it to a new block! Hope this example helps ;)

  • @rocksolid194
    @rocksolid194 Před 4 lety +1

    Network(tnsnames.ora) could be one of the reasons on the stanby site to connect old primary when switcover failed.

  • @550chanakya
    @550chanakya Před rokem +1

    Hi sir,
    Regarding GoldenGate configuration for source PITR - will it work if we unload schema dump or tablespace dump (expdp) with the current scn -1 via flashback scn parameter... post source DB PITR.... and then load it to GG replication DB.. and then start the replication process with - START replication_process afterCSN scn_number...
    like how we resolve the gap... will it work here too.. please assist.

    • @dbagenesis
      @dbagenesis  Před rokem

      Kindly post it on www.forum.dbagenesis.com/

  • @ganeshhelaskar3811
    @ganeshhelaskar3811 Před 4 lety +1

    On my primary db while importing table with impdp and new parameter transform=disable_archive_logging:y will it impact my standby database

    • @dbagenesis
      @dbagenesis  Před 4 lety +1

      Nope! coz the parameter you mentioned has no impact if your database is running in FORCE LOGGIN MODE.
      And as we all know, primary must run in FORCE LOGGIN MODE in order to setup standby database.

  • @rajranjan0071
    @rajranjan0071 Před 2 lety

    Instead of restoring whole tablespace .I think we can restore only table using rman from 12c. What you say?

  • @nihalnadaf8126
    @nihalnadaf8126 Před 4 lety +1

    Hi Arun,
    How does a CBO generate an optimal execution plan for the SQL statement?

    • @dbagenesis
      @dbagenesis  Před 4 lety +1

      Yes, why you have any doubts on CBO? or do you plan to use RBO?

    • @nihalnadaf8126
      @nihalnadaf8126 Před 4 lety +1

      Thank you so much arun! you alwys hit in cmnts box🤗

    • @nihalnadaf8126
      @nihalnadaf8126 Před 4 lety

      I jst want to knw how CBO generate the best plan how it pick up is it required stats gather regular manner for best pick.?

  • @sureshhello-zn4cw
    @sureshhello-zn4cw Před 4 lety +1

    Is there any article or video about row migigration in our channel?

  • @kharish525
    @kharish525 Před 4 lety +1

    Can we use different sizes in 3 disks? or same size we use?

    • @dbagenesis
      @dbagenesis  Před 4 lety

      You tell me which one will keep your life (or storage admin) life simple? Same size disks or variable size ??

  • @MsSam1971
    @MsSam1971 Před 4 lety +1

    Question: Why I'm missing AWR snapshot? Once I restarted the DB its started to generate the AWR snapshot?

    • @dbagenesis
      @dbagenesis  Před 4 lety

      Oracle auto deletes AWR snapshots older than SNAP_INTERVAL parameter inside your database. You can check it via below query:
      select snap_interval, retention from dba_hist_wr_control;
      You can modify the retention period using below command:
      execute dbms_workload_repository.modify_snapshot_settings(interval => 30,retention => 43200);

    • @MsSam1971
      @MsSam1971 Před 4 lety +1

      Hi Arun
      The retention period was set to 7days but it’s still missing all snapshots before the restart of the db

    • @dbagenesis
      @dbagenesis  Před 4 lety +1

      Whenever you bounce the DB, for that exact particular snap interval, snapshots will not be available. But as you mention that all previous snaps are lost, then look at below what Oracle has to say about it:
      started with 11g ,if the system is so overloaded that it takes over 15 minutes to gather statistics or other MMON tasks ,this error is expected.
      It is functionality enhancement in 11g, as it prevents MMON from locking resources other process might be waiting for
      In 10g MMON process are allowed to run indefinitely
      This is a new code that will kill the MMON slave if it takes too long to complete so that normal sessions do not have to wait for these resources.
      There are only two things i can think of to suggest :
      1) Add more memory to the machine - the customer is nearing the capacity of their environment
      2) set the hidden param_disable_12751 para,eter to TRUE to disable the policy timeout error(ORA-12751).
      Hardware is not adequate for taking the present load.
      Schedule hourly snapshot collection thru CRON, but they may alos fail when load increases.
      Enjoy!

  • @MurthyJn
    @MurthyJn Před 4 lety +3

    for external its 3TB
    for high its 1TB

  • @ks2580
    @ks2580 Před 3 lety +1

    Q1 - 3 TB, Q2 - 1TB

  • @MsSam1971
    @MsSam1971 Před 4 lety +1

    external redundancy will have 3Tb size and High redundancy will have 1TB

  • @RameshKumar-dw9fs
    @RameshKumar-dw9fs Před 4 lety +1

    External -3TB,Red - 1TB

  • @farazmohammed6862
    @farazmohammed6862 Před 4 lety +1

    High 1tb ,external 3tb

  • @kamalgupta1032
    @kamalgupta1032 Před 4 lety +1

    Difference between cluster and grid

  • @nellimandlamadhura3357

    Hi sir, Diskgroup contains 3 disks and each disk having 1Tb size a) If redundancy is external (No Mirroring ) so the size of diskgroup is 3TB b) If redundancy is High(It will maintain 3 copies) so the size of diskgroup is 9TB. If my answer is wrong pls explain and tell the answer so that i can learn.

  • @karumbayiram9073
    @karumbayiram9073 Před 4 lety

    External Means the size of the disk group is 1 TB & High Means the size of the Disk group is 3 TB.

  • @sagarreddy4768
    @sagarreddy4768 Před 3 lety

    1.3TB diskgroup size in external redundancy.
    2.1TB is the diskgroup size in high redundancy.

  • @SACHLIFE
    @SACHLIFE Před 4 lety +1

    High 1tb, external 3tb

    • @dbagenesis
      @dbagenesis  Před 4 lety +1

      Perfect!

    • @SACHLIFE
      @SACHLIFE Před 4 lety

      @@dbagenesis Hello, please also help to understand CBC blocks contention.Thanks