Oracle 10 Gb extended tablespace

Source: Internet
Author: User


Oracle 10 Gb extended tablespace 1. manually add the data file size www.2cto.com alter database datafile 'C: \ oracle \ product \ 10.2.0 \ oradata \ CC_DB \****. dbf'resize 100 M; 2. set the tablespace to automatically expand alter database datafile 'C: \ oracle \ product \ 10.2.0 \ oradata \ CC_DB \****. DBF 'autoextend on next 5 M maxsize unlimited; www.2cto.com 3. add a data file to the tablespace (this is recommended) alter tablesapce *** add datafile 'C: \ oracle \ product \ 10.2.0 \ oradata \ CC_DB \ test_1.dbf' size 2 M; alter database d Atafile 'C: \ oracle \ product \ 10.2.0 \ oradata \ CC_DB \ test_1.dbf' resize 100 M; check the status after adding: select ts #, round (bytes/1024/1024 ), name from v $ datafile order by ts #; change the tablespace name alter tablespace test1 rename to test2; view the tablespace Information select * from dba_tablespace; PS: if an error occurs, use the specified user to log on and run the command again.

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.