InterviewSolution
| 1. |
What Is Row Migration And Row Chaining? |
|
Answer» Row Migration: Oracle will leave a FORWARDING pointer in the original BLOCK so indexes will still be able to "find" the row. Note that Oracle does not discriminate between CHAINED and migrated rows, even though they have different causes. A chained row is a row that is too large to fit into a single database data block. For example, if you use a 4KB blocksize for your database, and you need to insert a row of 8KB into it, Oracle will use 3 blocks and store the row in pieces. Some conditions that will cause row chaining are:
Detecting row chaining: To see which rows are chained: This will put the rows into the INVALID_ROWS table which is created by the utlvalid.sql script (located in $ORACLE_HOME/rdbms/admin). Row Migration: Oracle will leave a forwarding pointer in the original block so indexes will still be able to "find" the row. Note that Oracle does not discriminate between chained and migrated rows, even though they have different causes. A chained row is a row that is too large to fit into a single database data block. For example, if you use a 4KB blocksize for your database, and you need to insert a row of 8KB into it, Oracle will use 3 blocks and store the row in pieces. Some conditions that will cause row chaining are: Detecting row chaining: To see which rows are chained: This will put the rows into the INVALID_ROWS table which is created by the utlvalid.sql script (located in $ORACLE_HOME/rdbms/admin). |
|