Database Administration (MOSC)

MOSC Banner

why would tempfile become offline when drop was attempted

edited Mar 15, 2019 2:25PM in Database Administration (MOSC) 7 commentsAnswered

Hi

I am trying to understand why would a tempfile become offline when drop was attempted and failed subsequently. RDBMS version is 12.1.0.2 and OS is Linux 6.

Sat Mar 09 01:05:07 2019

alter tablespace temp1 drop tempfile '/oracle/data1/PROD/tempfiles/temp105.dbf'

ORA-25152 signalled during: alter tablespace temp1 drop tempfile '/oracle/data1/PROD/tempfiles/temp105.dbf'...

Sat Mar 09 01:07:10 2019

when tempfile drop was attempted, it failed with below error:

ORA-25152: TEMPFILE cannot be dropped at this time

We were trying to claim some space in the data mount. When above error came, we thought nothing happened and moved onto shrinking another tempfile which was successful. Couple of days after we got to know that there were issues that application team detected with workflow (as below) which was due to the file became offline.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center