Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Bring a Tablespace Offline
How To Bring a Tablespace Offline? - Oracle DBA FAQ - Managing Oracle Tablespaces and Data Files
✍: 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.
2007-05-03, 4964👍, 0💬
Popular Posts:
Managed Code and Unmanaged Code related ASP.NET - How do you hide Public .NET Classes and other publ...
What are the two kinds of comments in JSP and what's the difference between them? <%-- JSP Co...
What is the difference between "printf(...)" and "sprintf(...)"? sprintf(...) writes data to the cha...
Explain all parts of a deployment diagram? Package: It logically groups element of a UML model. Node...
What invokes a thread's run() method? After a thread is started, via its start() method of the Threa...