User temporary tablespace is not used when dbms_stats run as same user (Doc ID 1908494.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 01-Sep-2017***

Symptoms

 Temporary tablespace assigned to user(example:scott) will not be used when sys owned packages like dbms_stats are executed as user(scott)

 TEMP_SCOTT is the temp tablespace assigned to scott and temp_sys is the default temp tablespace for the database .

  While running the dbms_stats as scott user you may receive

ORA-01652: unable to extend temp segment by 1280 in tablespace TEMP_SYS   <<<<<< TEMP_SYS while we are connected with SCOTT
ORA-06512: at "SYS.DB_STATS_EXT", line 4
ORA-06512: at "SCOTT.DB_STATS_INT", line 3
ORA-06512: at line 1

Changes

None

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