dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

ORA-01652 in UNDO tablespace - Oracle Server

This is a discussion on ORA-01652 in UNDO tablespace - Oracle Server ; I have 10.2.0.4 database on AIX, and for some strange reason it reported ORA-01652 error for UNDO tablespace: Sat Sep 5 11:20:06 2009 ORA-1652: unable to extend temp segment by 8 in tablespace UNDO_01 Sat Sep 5 11:20:06 2009 ORA-1652: ...


Home > Database Forum > Oracle Database > Oracle Server > ORA-01652 in UNDO tablespace

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 09-07-2009, 07:22 AM
usenet
Guest
 
Posts: n/a
Default ORA-01652 in UNDO tablespace

I have 10.2.0.4 database on AIX, and for some strange reason it
reported ORA-01652 error for UNDO tablespace:

Sat Sep 5 11:20:06 2009
ORA-1652: unable to extend temp segment by 8 in
tablespace UNDO_01
Sat Sep 5 11:20:06 2009
ORA-1652: unable to extend temp segment by 8 in
tablespace UNDO_01
Sat Sep 5 11:20:06 2009

This is strange as ORA-01652 normally gets reported for TEMP
tablespace (sort, hash join, LOB operations) or for normal data
tablespaces (create table as select, create index, index rebuild,
etc). However I never saw it reported for UNDO.

- Tablespace UNDO_01 is definitely UNDO tablespace:

SQL> select contents from dba_tablespaces where tablespace_name =
'UNDO_01';

CONTENTS
---------
UNDO

- No user has temporary tablespace set to UNDO_01:

SQL> select distinct temporary_tablespace from dba_users;

TEMPORARY_TABLESPACE
------------------------------
TEMP2

- Tablespace UNDO_01 contains only undo segments as expected:

SQL> select distinct segment_type from dba_segments
2 where tablespace_name = 'UNDO_01';

SEGMENT_TYPE
------------------
TYPE2 UNDO

- Parameter undo_management is set to AUTO:

SQL> show parameter undo

NAME TYPE VALUE
------------------------------------ -----------
------------------------------
undo_management string AUTO
undo_retention integer 10800
undo_tablespace string UNDO_01
SQL>

- Value of V$UNDOSTAT.TUNED_UNDORETENTION was approx 50,000 at the
time when errors were reported. The database generates approx 200,000
- 300,000 undo blocks per day (uniformly distributed accross 24
hours), 8K block size, at the time of the error UNDO_01 was 2 GB.


Reply With Quote
  #2  
Old 09-08-2009, 10:13 AM
usenet
Guest
 
Posts: n/a
Default Re: ORA-01652 in UNDO tablespace

ORA-01652: unable to extend temp segment by string in tablespace
string

Cause: Failed to allocate an extent of the required number of blocks
for a temporary segment in the tablespace indicated.

Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
files to the tablespace indicated.

The Oracle engine "seems" to think you're out of space. This IS a
strange one. Check MetaLink and see if anybody else has reported it.
Reply With Quote
  #3  
Old 09-08-2009, 02:34 PM
usenet
Guest
 
Posts: n/a
Default Re: ORA-01652 in UNDO tablespace

On Sep 7, 4:22*am, vsevolod afanassiev
wrote:
> I have 10.2.0.4 database on AIX, and for some strange reason it
> reported ORA-01652 error for UNDO tablespace:
>
> Sat Sep *5 11:20:06 2009
> ORA-1652: unable to extend temp segment by 8 in
> tablespace * * * * * * * * UNDO_01
> Sat Sep *5 11:20:06 2009
> ORA-1652: unable to extend temp segment by 8 in
> tablespace * * * * * * * * UNDO_01
> Sat Sep *5 11:20:06 2009
>
> This is strange as ORA-01652 normally gets reported for TEMP
> tablespace (sort, hash join, LOB operations) or for normal data
> tablespaces (create table as select, create index, index rebuild,
> etc). However I never saw it reported for UNDO.
>
> - Tablespace UNDO_01 is definitely UNDO tablespace:
>
> SQL> select contents from dba_tablespaces where tablespace_name =
> 'UNDO_01';
>
> CONTENTS
> ---------
> UNDO
>
> - No user has temporary tablespace set to UNDO_01:
>
> SQL> select distinct temporary_tablespace from dba_users;
>
> TEMPORARY_TABLESPACE
> ------------------------------
> TEMP2
>
> - Tablespace UNDO_01 contains only undo segments as expected:
>
> SQL> select distinct segment_type from dba_segments
> * 2 *where tablespace_name = 'UNDO_01';
>
> SEGMENT_TYPE
> ------------------
> TYPE2 UNDO
>
> - Parameter undo_management is set to AUTO:
>
> SQL> show parameter undo
>
> NAME * * * * * * * * * * * * * * * * TYPE* * * *VALUE
> ------------------------------------ -----------
> ------------------------------
> undo_management * * * * * * * * * * *string * **AUTO
> undo_retention * * * * * * * * * * * integer * * 10800
> undo_tablespace * * * * * * * * * * *string * **UNDO_01
> SQL>
>
> - Value of V$UNDOSTAT.TUNED_UNDORETENTION was approx 50,000 at the
> time when errors were reported. The database generates approx 200,000
> - 300,000 undo blocks per day (uniformly distributed accross 24
> hours), 8K block size, at the time of the error UNDO_01 was 2 GB.


I may be confusing this with something else, but I have a vague memory
of this happening when you run out of space that you've told Oracle
you have available in the flash recovery area. The default happens to
be 2GB.

jg
--
@home.com is bogus.
http://www3.signonsandiego.com/stori...ace/?uniontrib
Reply With Quote
  #4  
Old 10-20-2009, 02:26 AM
Database Newbie
 
Join Date: Oct 2009
Location: India
Posts: 19
giteshtrivedi is on a distinguished road
Default Re: ORA-01652 in UNDO tablespace

Hi,

Error indicates "out of space". May be not expected behaviour of Oracle. Did you get any other error with same? Check alert.log or any other trace files.
__________________
Thanks and Regards,
Gitesh Trivedi
Dbametrix Solutions
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 03:36 AM.