Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ORA-01652: unable to extend temp segment

RE: ORA-01652: unable to extend temp segment

From: Ian Cary (C) <Ian.Cary_at_ordnancesurvey.co.uk>
Date: Tue, 24 Jan 2006 08:55:37 -0000
Message-ID: <4AA808D68343824E8891632BD448AE6B01D20050@OSMAIL.ordsvy.gov.uk>


Roger,  

The temporary segment you are seeing will become the index once the statement has been completed.  

I suspect you are running out of space because you are running the operation in parallel. When you do this each parallel thread creates its own extents so if, for example, the initial extent of the index is 6Gb by specifying the degree of parallelism as 3 you automatically require 18Gb while the index is being built. Once the parallel slaves have completed these temporary index segments are then coalesced down to give an index of the same size (roughly) as would have been created by a single threaded process.  

Hope this helps,  

Cheers,  

Ian  


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Roger Xu Sent: 23 January 2006 19:31
To: Oracle-L_at_Freelists. Org (E-mail)
Subject: ORA-01652: unable to extend temp segment  

SQL> alter index "SAPR3"."VBFA~0" rebuild online parallel 3 tablespace PSAPREROGI;
*
ERROR at line 1:
ORA-12801: error signaled in parallel query server P001 ORA-01652: unable to extend temp segment by 89595 in tablespace PSAPREROGI   I got ORA-01652 while rebuilding the 14 GB index to a new tablespace and the tablespace

has 16 GB free space. Before the error occurred, the 31 GB temp tablespace had 13.5 GB

used.  

Any idea why it created temp segments in the target tablespace?

How big the target tablespace would be? I thought 16 GB is enough.  

Thanks,  

Roger

This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material.



This email has been scanned for all viruses by the MessageLabs Email Security System. Any questions please call 972-721-8257 or email your request to tech_support_at_dp7uptx.com.

.

This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.

Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.

Thank you for your cooperation.

Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 023 8079 2000
http://www.ordnancesurvey.co.uk

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 24 2006 - 02:55:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US