Bring a Tablespace Online in Oracle

Q

How To Bring a Tablespace Online in Oracle?

✍: FYIcenter.com

A

If you have brought a tablespace offline, now you want to make it available to users again, you can use the ALTER TABLESPACE ... ONLINE statement as shown in the following script:

SQL> connect HR/fyicenter

SQL> CREATE TABLESPACE my_space 
  2  DATAFILE '/temp/my_space.dbf' SIZE 10M;
Tablespace created.

SQL> ALTER TABLESPACE my_space OFFLINE NORMAL;
Tablespace altered.

...

SQL> ALTER TABLESPACE my_space ONLINE;
Tablespace altered.

 

Add Another Datafile to a Tablespace in Oracle

Bring a Tablespace Offline in Oracle

Managing Oracle Tablespaces and Data Files

⇑⇑ Oracle Database Tutorials

2019-01-01, 1866🔥, 0💬