viernes, 22 de mayo de 2020

IDENTIFICAR ROW MIGRATION

SQL> analyze table hr.prueba compute statistics;

Table analyzed.

SQL> select num_rows,avg_row_len,chain_cnt from dba_tables where owner='HR' and table_name='PRUEBA';

  NUM_ROWS AVG_ROW_LEN CHAIN_CNT
---------- ----------- ----------
       107     73 0

SQL> 


SQL> ANALYZE TABLE hr.prueba list chained rows;


UNA FORMA REORGANIZAR SERIA

SQL> alter table hr.prueba move; 


OTRA FORMA SERIA

SQL> alter table hr.prueba move tablespace example;



No hay comentarios: