Add or alter Temp file in Oracle database

Add or alter Temp file in Oracle database

Add tempfile to temp tablespace

alter tablespace TEMP1 add tempfile 'E:\oradata\temp02.dbf' size 1G autoextend on next 200M;

Resize temp file in Oracle database

alter database tempfile 'E:\oradata\temp02.dbf' resize 2G;

Drop temp file in Oracle database

ALTER DATABASE TEMPFILE 'E:\oradata\temp02.dbf' DROP INCLUDING DATAFILES;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.