"Translated from MoS article" in case the OS datafile no longer exists, remove the tablespace

Source: Internet
Author: User

From:
I want to remove a tablespace and the datafile are already removed from the O.s (document ID 786567.1)

Suitable for:
Oracle database-enterprise edition-version 10.1.0.4 and later
Information in this document applies to any platform.

Goal:
When DataFile is removed from the OS level and then tries to drop the tablespace, the results report the following error:

sql> drop tablespace ts_edw1_large01;drop tablespace ts_edw1_large01*error at line 1:ora-01115:io ERROR reading block From file (Block # 1) ora-01110:data file: '/u43/oradata/edw1p/ts_edw1_large01_01.dbf ' ora-27091:unable to queue I/O Ora-27072:file I/o erroradditional information:3additional information:1


Solution:

1. sql> STARTUP MOUNT; 2. Offline drop the datafile. sql> ALTER DATABASE datafile '/u43/oradata/edw1p/ts_edw1_large01_01.dbf ' OFFLINE drop;3. Sql> ALTER DATABASE open;4. Drop the user tablespace. Sql> DROP tablespace <tablespace_name> including CONTENTS;

"Translated from MoS article" in case the OS datafile no longer exists, remove the tablespace

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.