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;
This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply