Topic: Backup & Recovery >> Row Migration and chaning !
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: Row Migration and chaning ! |
| seema |
Posted: Sep 23, 2008 04:48:37 AM |
Total Post: 70
Joined: Jan, 2008
|
Please tell me row migration and chaning is done by the dba or oracle itself???
If that work is done by dba then how to do this??? |
|
|
vino |
| Posted: Sep 23, 2008 11:55:14 AM | |
|
Total Post: 357
Joined: Aug, 2008
|
Row Migration and Chaining is the concepts of Fragmentation. DBA should have to find whether the objects like table, index..etc gone in fragmentation or not. This is done by gathering statistics of each objects. If the statistics value is more than the threshold value then we can go for defragmenting it.
Regards.
|
|
|
|
|
scorpio |
| Posted: Sep 23, 2008 01:14:23 PM | |
|
Total Post: 20
Joined: Sep, 2008
|
The row is too large to fit into an EMPTY data block.In this Oracle stores the DATA for the row in a CHAIN of one or more Data BLOCKS.
CHAINING occurs when row is INSERTED or UPDATED
Migration :An UPDATE statement increases the amount of DATA in a ROW so that the Row NO LONGER FITS in to its DATA BLOCK.
Oracle tries to find another Blockwith enough free space to hold the entire row.If such block is available Oracle moves the entire ROW to the NEW BLOCK.Oracle keeps the original Row piece of a Migrated row row to POINT to the NEW BLOCK containing the actual row.The ROWID of the MIGRATED rows does not change.INDEXES are not updated and they point to the ORIGINAL row LOCATION.
DBA involve in identifiing this row C & M
we can detect the Migrated or chained rows in a TABLE or CLUSTER by using the following methods.
Using ANALYZE,REPORT.TXT and V$VIEWS.
SQL>ANALYZE TABLE SCHEMA_NAME.TABLE_NAME LIST CHAINED ROWS;
SQL>SLECT owner_name,table_name,head_rowid from chained_rows where TABLE_NAME = 'YOUR_TABLE_NAME';
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Vinoth Kumar | 357 |
| Gopu Gopi | 340 |
| Gitesh Trivedi | 322 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|