Unable to extend temp segment by 128 (in Tablespace temp)

Source: Internet
Author: User

1. View the path to the data file store in the tablespace and whether it can be automatically extended

SELECT Tablespace_name, bytes/1024/1024 file_size_mb, file_name from Dba_data_files;

2. Set temporary data files to auto-expand

ALTER DATABASE Tempfile '/OPT/ORACLE/ORADATA/TEST/TEMP01.DBF ' autoextend on next 5m MaxSize Unlimited;

The extension table times is the following error

ERROR at line 1:ora-00376:file 201 cannot is read at this time

Ora-01110:data file 201: '/OPT/ORACLE/ORADATA/TEST/TEMP01.DBF '

3. View the status of a staging table

Select Name,status from V$tempfile

The reason: The temporary tablespace does not know what the reason is offline. Modified to online after successful modification

ALTER DATABASE Tempfile '/OPT/ORACLE/ORADATA/TEST/TEMP01.DBF ' online;

Database altered. Once again, the 2nd is OK.

Unable to extend temp segment by 128 (in Tablespace temp)

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.