Understanding Oracle Row Chaining and Row Migration for Optimal Database Maintenance!

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

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

  • @Karankumar-zy3pf
    @Karankumar-zy3pf 7 месяцев назад

    This was very helpful. Thank you for the videos.

  • @Venkatesh-Venky
    @Venkatesh-Venky 9 месяцев назад

    Tq bro

  • @Venkatesh-Venky
    @Venkatesh-Venky 8 месяцев назад

    Bro plz upload more videos

    • @anishkumarvideos
      @anishkumarvideos  7 месяцев назад

      Will upload soon. Thanks for watching !! :)

  • @abhijitmandal9989
    @abhijitmandal9989 4 месяца назад

    What is the difference between two.. For row migration another block has also 8kb.. How can it be fit as entire row ? If it holds half of the info then again it will be same as row chaining.. Its confusing!!

    • @anishkumarvideos
      @anishkumarvideos  4 месяца назад

      How It Works:
      Row Migration Example
      Initial State:
      Block A contains Row 1.
      Block A has 3 KB of free space.
      Row 1 size: 4 KB (fits in Block A initially).
      Update:
      Row 1 is updated and grows to 5 KB.
      Block A no longer has enough space for Row 1.
      Migration Process:
      Oracle finds a new block, Block B, with sufficient space (8 KB free).
      Row 1 is moved entirely to Block B.
      Block A retains a pointer to Block B.
      Result:
      Row 1 resides entirely in Block B.
      Block A has a pointer to Block B.
      No part of Row 1 remains in Block A.

    • @anishkumarvideos
      @anishkumarvideos  4 месяца назад

      Row Chaining Example:
      Initial State:
      A new row (Row 2) is being inserted.
      Row 2 size: 12 KB.
      Chaining Process:
      Block C has 8 KB free.
      Block D has 8 KB free.
      Insert:
      Row 2 cannot fit into a single block.
      The first 8 KB of Row 2 is stored in Block C.
      The remaining 4 KB of Row 2 is stored in Block D.
      Block C has a pointer to Block D.
      Result:
      Row 2 spans Block C and Block D.
      Block C contains the first part of Row 2 and a pointer to Block D.
      Block D contains the remaining part of Row 2.

    • @anishkumarvideos
      @anishkumarvideos  4 месяца назад

      Hope it helped !! :)

    • @abhijitmandal9989
      @abhijitmandal9989 4 месяца назад

      Thanks for ur explanation here.. Its clear now..