ORA-55641: Cannot drop tablespace used by Flashback Data Archive

When i tried to drop tablespace appear next error:

SQL> drop tablespace FLASHBACK_DATA_ARCHVIE including contents and datafiles;
drop tablespace FLASHBACK_DATA_ARCHVIE including contents and datafiles
*
ERROR at line 1:
ORA-55641: Cannot drop tablespace used by Flashback Data Archive

this is because this tablespace is using for flashback data archive, for identify name of flashback data archive we can query:

select flashback_archive_name, status from dba_flashback_archive;
FLASHBACK_ARCHIVE_NAME         STATUS
------------------------------ -------
ANDO
fdba1

drop fdba1

SQL> drop flashback archive fdba1;
Flashback archive dropped.

after that we can drop tablespace

SQL> drop tablespace FLASHBACK_DATA_ARCHVIE including contents and datafiles;
Tablespace dropped.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s