CREATE TEMP TABLESPACE:
-----------------------
CREATE TEMPORARY TABLESPACE TEMP01 TEMPFILE '/u01/oradata/tst/temp01.dbf' size 1024M extent management local uniform size 1M;
CREATE TEMPORARY TABLESPACE TEMP01 TEMPFILE '+ORA_DB' SIZE 1G EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K;
ADD TEMP FILES IN TEMPORARY TABLESPACE:
---------------------------------------
ALTER TABLESPACE TEMP01 ADD tempfile '/u01/oradata/tst/temp02.dbf' SIZE 1G AUTOEXTEND ON NEXT 1G MAXSIZE 20G;
ALTER TABLESPACE TEMP01 ADD tempfile '+ORA_DB' SIZE 1G AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED;
DROP TEMP TABLESPACE:
---------------------
DROP TABLESPACE TEMP01 including contents and datafiles;
LIST ALL TEMPFILES OF TEMP TABLESPACE:
-------------------------------------
SQL> col file_name for a45
select tablespace_name,file_name,bytes/1024/1024,maxbytes/1024/1024,autoextensible from dba_temp_files order by file_name;
TABLESPACE_NAME FILE_NAME BYTES/1024/1024 MAXBYTES/1024/1024 AUTOEXTENSIBLE
---------------- ---------------------------------- --------------- ------------------ ------------------
TEMP01 /u01/oradata/tst/temp01.dbf 300 0 NO
TEMP01 /u01/oradata/tst/temp02.dbf 20 32767 YES
SET DEFAULT TEMP TABLESPACE:
---------------------------
alter database default temporary tablespace TEMP;
SET DEFAULT TEMP TABLESPACE FOR USER:
-------------------------------------
ALTER USER SYSADM TEMPORARY TABLESPACE PSTEMP1;
ALTER USER PEOPLE TEMPORARY TABLESPACE PSTEMP1;
Please feel free to correct me if there are any errors in the blog. I am writing this blog for my reference and understanding.
Monday, 17 July 2017
Subscribe to:
Post Comments (Atom)
Jenkins Startup and Configuration
Steps to setup jenkins on ubuntu:- -After installation. check the jenkins services running on not on the server. sudo service jenk...
-
Oracle 11g Hidden Database Parameters ============================= [oracle@dev ~]$ sqlplus / as sysdba; SQL*Plus: Release 11.2.0.3.0 Prod...
-
Softwares Required to install WebLogic Server: 1. jdk-8u121-windows-x64.exe (for development) or jrockit-jdk1.6.0_45-R28.2.7-4.1.0-w...
-
Docker Installation on AWS EC2 ``` sudo apt install docker.io sudo systemctl enable --now docker docker -v ``` Other way to Install...
No comments:
Post a Comment