Bizarre ORA-25153: Solutions for temporary tablespace being empty

Source: Internet
Author: User


Recently report data source switch to the query database, the query reported ORA-25153: Temporary tablespace is empty, it is strange, some queries have problems, some normal, switch to the business database Normal. The system database www.2cto.com is divided into business databases and query databases, and the consumer uard is used. Later, it was found that the temporary tablespace in the query database exists, and the corresponding temporary data file does not exist. The default temp is still there, but the business database is normal. The user specified a temporary tablespace to create the temporary tablespace. When a temporary tablespace is created on the business database during initialization, the temporary data file is not automatically synchronized to the query database. This means that the query database has a temporary tablespace, but the corresponding temporary data file is missing, some complex queries require the use of temporary tablespace to query and store some buffer data. It is normal to report an error. Previously, temporary data files in the business database were manually copied to the query database, but cannot be identified;

Modify the temporary tablespace of the current user to the built-in TEMP, and the query returns to normal. Author sunway0628

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.