1. 程式人生 > >ORA-01652: unable to extend temp segment by 8192...

ORA-01652: unable to extend temp segment by 8192...

臨時段被使用的情形
A TEMPORARY segment may be from:
1) A SORT                  Used for a SELECT or for DML/DDL
2) CREATE INDEX          The index create performs a SORT in the users default TEMP tablespace and ALSO uses a TEMP segment to build the final index in the INDEX  tablespace. 
                            Once the index build is complete the segment type is changed.
3) CREATE PK CONSTRAINT   
4) ENABLE CONSTRAINT   
5) CREATE TABLE              New tables start out as TEMPORARY segments.
           Eg: If MINEXTENTS is > 1 or you issue CREATE table as SELECT.
6) Accessing a GLOBAL TEMPORARY TABLE   When you access a global temporary table a TEMP segment is instantiated to hold the temporary data.