Creating a Default Temporary Tablespace

staff augmentation service

When you create a default temporary tablespace, Oracle Database assigns it as the temporary tablespace for users who are not explicitly assigned a temporary tablespace.

software development

To create a default temporary tablespace for the database:

  • Include the DEFAULT TEMPORARY TABLESPACE clause in the CREATE DATABASE statement.

supply chain

You can explicitly assign a temporary tablespace or tablespace group to a user in the CREATE USER statement. However, if you do not do so, and if no default temporary tablespace has been specified for the database, then by default these users are assigned the SYSTEM tablespace as their temporary tablespace. It is not good practice to store temporary data in the SYSTEM tablespace, and it is cumbersome to assign every user a temporary tablespace individually. Therefore, Oracle recommends that you use the DEFAULT TEMPORARY TABLESPACE clause of CREATE DATABASE.

testing

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *