Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Undo Tablespace growing even with retention = 0
Hi All,
Can you please help me to understand this. I have set created new undo tablespace of 4 mb on my test database.
I set undo_retention = 0 and was updateding a table with 1 records and
commiting each time.
But still my undo tablespace is growing.
here is the test case
SQL>
SQL> r
1 select file_name,round(bytes/1048576) size_mb , autoextensible
2* from dba_Data_files where tablespace_name = 'UNDO'
FILE_NAME SIZE_MB AUT -------------------------------------------------------- ---------- --- /TEST/datafile/o1_mf_undo_2lgqkhgv_.dbf 4 YES
SQL>
SQL> create table t as select rownum a from dual;
Table created.
SQL> get und_test
1 declare
2 v_time int; 3 v_undo int;
PL/SQL procedure successfully completed.
Using 10g on linux 4.0
Undo is LMT manual segment space management.
No. of Transaction : I fixed the loop for 300 seconds.
This tablespace's size increased to 251 mb with undo_retention=0 and
with
unto_retention=9000 it reach to 476 mb.
Regards,
Jagjeet Singh
Received on Sat Oct 07 2006 - 05:16:49 CDT
![]() |
![]() |