Modify Oracle's DataFile file name

Source: Internet
Author: User
Tags sqlplus

Today to increase the data file, the database file name more than one point, although it can be used, but in the operating system to see the file but feel very uncomfortable, check some data, modify the method summarized as follows:

1. Close the database

Sqlplus/nolog

SHUTDOWN;

2. Renaming data files in the operating system

3. Loading the database, modifying the database file name in Oracle

Sqlplus/nolog

START MOUNT;

ALTER DATABASE RENAME FILE ' old_filename ' to ' new_filename ';

4. Open the data to check if the modification was successful

ALTER DATABASE OPEN;

SELECT NAME, STATUS from V$datafile;

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.