Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

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

  




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 Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Vinoth Kumar357
  Gopu Gopi340
  Gitesh Trivedi322
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software