Collections:
Bring a Tablespace Offline in Oracle
How To Bring a Tablespace Offline in Oracle?
✍: FYIcenter.com
If you want to stop users using a tablespace, you can bring it offline using the ALTER TABLESPACE ... OFFLINE statement as shown in the following script:
SQL> connect HR/fyicenter Connected. SQL> CREATE TABLESPACE my_space 2 DATAFILE '/temp/my_space.dbf' SIZE 10M; Tablespace created. SQL> ALTER TABLESPACE my_space OFFLINE NORMAL; Tablespace altered.
After bringing a tablespace offline, you can backup or rename the data file safely.
2019-01-01, 1005👍, 0💬
Popular Posts:
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...
How to put statements into a statement block in SQL Server Transact-SQL? You can put statements into...
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...
What Are Date and Time Functions in MySQL? MySQL offers a number of functions for date and time valu...
What Do You Need to Connect PHP to MySQL in MySQL? If you want to access MySQL database server in yo...