Delete tablespace hints ORA-00604 and ORA-38301 in Oracle

Source: Internet
Author: User

Today, we need to make room on this machine, found that Oracle has a DBF file accounted for about 30G, the data file corresponding to the user usually rarely used, and then want to handle it-delete table space operations.

The native database is a 32-bit 10.2.0.1.0, and table space has several table data for TEST_TB. Start with the DBA role of the system user, directly execute

Drop tablespace TEST_TB including contents and datafiles;

Tips:

ORA-00604: A recursive SQL Level 1 error occurred

ORA-38301: Unable to perform ddl/dml on objects in the Recycle Bin

Cause: The table space TEST_TB data exists in dba_segments, and queries can be executed by the DBA User:

Select Segment_name,segment_type,owner from dba_segments where tablespace_name= ' TEST_TB ';

Processing method:

  1. Log in with the corresponding user for the table space

  2. Execute purge recyclebyin;

  3. Re-executes drop tablespace TEST_TB incluing contents and datafiles;

    After execution, the DBF file does not exist and space is freed up.

Delete tablespace hints ORA-00604 and ORA-38301 in Oracle

Related Article

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.