Oracle_scripte/Tanel/demos/index_build_migrated_rows_small.sql
2014-09-17 13:23:48 +02:00

13 lines
273 B
SQL

drop table t;
create table t PCTFREE 0 as select * from all_objects;
update t set owner = lpad('x',30,'x') where owner = 'SYS' and rownum <= 10;
analyze table t compute statistics;
select chain_cnt from user_tables where table_name = 'T';
create index i on t(owner);