Oracle modifies table space to extend and limit maximum value ____oracle

Source: Internet
Author: User


querying the table space in the current database whether to expand automatically

Select tablespace_name,file_name,autoextensible from Dba_data_files;
To automatically expand the table space by modifying the data file for the tablespace, and limit the maximum file size
ALTER DATABASE datafile '/OPT/APP/ORACLE/ORADATA/CAACDB/SYSTEM01.DBF ' autoextend on NEXT 50M maxsize 31G;
ALTER DATABASE datafile '/OPT/APP/ORACLE/ORADATA/CAACDB/UNDOTBS01.DBF ' autoextend on NEXT 50M maxsize 31G;
ALTER DATABASE datafile '/OPT/APP/ORACLE/ORADATA/CAACDB/SYSAUX01.DBF ' autoextend on NEXT 50M maxsize 31G;

ALTER DATABASE datafile '/OPT/APP/ORACLE/ORADATA/CAACDB/USERS01.DBF ' autoextend on NEXT 50M maxsize 31G;


. Summary modification Statement syntax
Turn on automatic extended function syntax:
ALTER DATABASE datafile ' corresponding data file path information ' autoextend on;
Turn off automatic extended functionality syntax:
ALTER DATABASE datafile ' corresponding data file path information ' autoextend off;

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.