Table space for Oracle Extended database

Source: Internet
Author: User

Log in directly after the host;
If you need to convert an instance of a database, enter it in Windows, enter the set oracle_id= ... in the root directory of Oracle, and enter Export oracle_sid= in the AIX system ....
Authentication method: AIX echo $ORACLE _sid
Windows Set oracle_id
Direct input sqlplus/nolog;
Direct Input Conn/as SYSDBA
After entering the Oracle interface
1) Increase data file size
Enter Select From v$instance, query the database name now used
Enter select Ts#,name from v$tablespace to query the TS that are now corresponding to each table space
Enter select Name,bytes,status from V$datafile where ts#=10; query table space for TS 10 file name
If this is a temporary tablespace:
Enter select Name,bytes,status from V$tempfile where ts#=10;
You can enter Col name format A30 to adjust the display length of the field
Input ALTER DATABASE datafile ' +SZCG_ASM_GROUP/SZCG/DATAFILE/TBS_DXPT.DBF ' resize 1500M,
If this is a temporary tablespace:
Input alrter database tempfile ' +szcg_asm_group/szcg/datafile/tbs_dxpt.dbf ' resize 1500M;
For bigfile file processing format, enter alter TABLESPACE system resize 1500M;
2) Increase the number of files in the data file
Enter Select
From v$instance, query the database name now used
Enter select Ts#,name from v$tablespace to query the TS that are now corresponding to each table space
Enter select Name,bytes,status from V$datafile where ts#=10; query table space for TS 10 file name
Enter select FREE_MB from V$asm_diskgroup; see how much free space asm has,
Input desc V$asm_diskgroup; View ASM Table Structure
Input alter TABLESPACE system add datafile ' +system_dg ' size 100m;
If this is a temporary tablespace:
Input Alter tablespace temp add tempfile ' +system_dg ' size 2G;

Table space for Oracle Extended database

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.