ORA-01652: unable to extend temp segment by 128 in tablespace TEMP solution

The process of solving ora-01652 cannot extend the temp segment through 128 (in the temp tablespace): http://www.cnblogs.com/cyl048/p/5984128.html
ORA-01652 appears when the database updates 1.3 million data: unable to extend temp segment by 128 in tablespace TEMP, the reason for this is that the temporary table space has been occupied and the temporary table space cannot be expanded,
because the 130 data needs to be updated in pages, and each page must be sorted, so the temporary table space must be sorted. The table space is full, and the related articles say that there is an SQL problem
. My update is not a SQL problem, so I will modify the temporary table space.
1. View
all tablespaces in the tablespace
select * from dba_tablespaces;

Temporary tablespace view
select * from dba_temp_files;
select * from v$tempfile





It is found that the table space has 2G, but it cannot grow automatically. Modify the temporary table space to grow automatically.
2. Modify the temporary tablespace
alter database tempfile '/oradata/efss/temp01.dbf' autoextend on next 100m;






3. The temporary table space can be automatically increased again, and the






application will not report the ORA-01652: unable to extend temp segment by 128 in tablespace TEMP problem.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326314178&siteId=291194637