Oracle's undotbs01.dbf file is too big a solution __oracle

Source: Internet
Author: User

How to log on to Oracle's Sql*plus with SYS users:
Sys
Oracle
ORCL as Sysdba


Oracle's UNDOTBS01.DBF file is too big a solution:

--Create a new small space for the undo Tablespace
CREATE UNDO tablespace UNDOTBS2 datafile ' D:/oracle/oradata/orcl/undotbs02. DBF ' SIZE 100M reuse autoextend on;
--Set the new table space for the system Undo_tablespace
ALTER SYSTEM SET UNDO_TABLESPACE=UNDOTBS2;
--DROP the old table space
DROP tablespace UNDOTBS1 including CONTENTS;
SELECT * from Dba_tablespaces;

Delete D:/oracle/oradata/orcl/undotbs01 when finished. DBF, and then perform the following operation:

--Create a new small space for the undo Tablespace
CREATE UNDO tablespace UNDOTBS1 datafile ' d:/oracle/oradata/orcl/undotbs01. DBF ' SIZE 100M reuse autoextend on;
--Set the new table space for the system Undo_tablespace
ALTER SYSTEM SET undo_tablespace=undotbs1;
--DROP the old table space
DROP tablespace UNDOTBS2 including CONTENTS;
--View all table spaces
SELECT * from Dba_tablespaces;

Delete D:/oracle/oradata/orcl/undotbs02 when finished. Dbf.


If the temporary table space is very large to handle the same method.

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.