54. Change the temp table space and set it to autogrow

Source: Internet
Author: User

1. Create a staging table space
Create temporary tablespace TEMP1 tempfile ' E:\ORACLE\ORADATA\ORCL9\temp02. DBF '
SIZE 512M Reuse autoextend on NEXT 1M MAXSIZE UNLIMITED;
2. Change the default temporary table space to the new temporary tablespace that you just created Temp1
ALTER DATABASE default temporary tablespace Temp1;
3. Delete the original temporary table space
Drop Tablespace temp including contents and datafiles;
4. Re-create the temporary table space
Create temporary tablespace TEMP tempfile ' E:\ORACLE\ORADATA\ORCL9\temp01. DBF '
SIZE 512M Reuse autoextend on NEXT 1M MAXSIZE UNLIMITED;
5. Reset the default temporary tablespace to the newly created temp table space
ALTER DATABASE default temporary tablespace temp;
6. Remove temporary tablespace for staging
Drop tablespace Temp1 including contents and datafiles;
7. If necessary, re-specify the user tablespace as a temporary table space for the rebuild
Alter user arbor temporary tablespace temp;

54. Change the temp table space and set it to autogrow

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.