1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| SQL>create table toto (t varchar2(1000)) ;
Table créée.
SQL> begin
2 for i in 1..10000 loop
3 insert into toto (t) values (RPAD('A',500,'A'));
4 end loop;
5 end;
6 /
Procédure PL/SQL terminée avec succès.
SQL> commit;
Validation effectuée.
SQL> delete from toto;
10022 ligne(s) supprimée(s).
SQL> commit;
Validation effectuée.
SQL> select count(*) from dba_extents where SEGMENT_NAME = 'TOTO';
COUNT(*)
----------
14
SQL>
SQL> alter table toto move;
Table modifiée.
SQL> select count(*) from dba_extents where SEGMENT_NAME = 'TOTO';
COUNT(*)
----------
1 |