denrepo

Oracle error

ORA-01652

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

What usually causes it

A sort, hash join or temporary table needed more temp space. If the message names a permanent tablespace, it came from an index build or CREATE TABLE AS SELECT.

What to check first

Find the session and SQL using temp; a bad plan is often the real cause. Add a tempfile only after that.

Scripts that help

Tool

Open in the error lookupOracle's reference