ORA-01652: Unable To Extend Temp Segment By 128 In Tablespace While Running DBMS_STATS

(Doc ID 1383268.1)

Last updated on APRIL 16, 2018

Applies to:

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


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:



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