ORA-01652: Unable To Extend Temp Segment By 128 In Tablespace While Running DBMS_STATS (Doc ID 1383268.1)

Last updated on MAY 22, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.7 and later
Oracle Database - Standard Edition - Version 9.2.0.7 and later
Oracle Database - Personal Edition - Version 9.2.0.7 and later
Information in this document applies to any platform.

Symptoms

ORA-01652: unable to extend temp segment when running dbms_stats on large tables(50–100+ GB).

There is no problem when run against smaller tables. Temp tablespace has been increased from 34 GB to 44 GB and finally to 63 GB and the stats job still fails with the error.

DBMS Command Run:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms