Escolar Documentos
Profissional Documentos
Cultura Documentos
3 cwmlite yes
4 drsys yes
5 example yes
6 indx yes
7 odm yes
0 system yes
8 tools yes
1 undotbs1 yes
9 users yes
10 xdb yes
2 temp yes
11 rows selected.
create tablespace
=================
sql> create tablespace sue datafile 'd:\oracle\oradata\sue\suepertab.ora' size 1m;
tablespace created.
3 cwmlite yes
4 drsys yes
5 example yes
6 indx yes
7 odm yes
0 system yes
8 tools yes
1 undotbs1 yes
9 users yes
10 xdb yes
2 temp yes
12 sue yes
12 rows selected.
nologging tablespace
=====================
**nologging cant recovery
**any tablespace create logging is set by logging
**create nologing tablespace
tablespace created.
database altered.
autoextend
===========
sql> alter database datafile 'd:\oracle\oradata\sue\suepertab1.ora' autoextend on
next 1m maxsize 10m;
database altered.
offline
=======
sql> alter tablespace sue1 offline;
tablespace altered.
online
======
sql> alter tablespace sue1 online;
tablespace altered.
tablespace altered.
tablespace altered.
file_name
----------------------------------------------------------------
d:\oracle\oradata\sue\suepertab1.ora
tablespace altered.
file_name
----------------------------------------------------------------
d:\oracle\oradata\sue\suepertab1.ora
d:\oracle\oradata\sue\suetab1.ora
alter user
username default_tablespace
------------------------------ ------------------------------
sam sue1
drop
=====
**tablespace have any content the following statement use
tablespace dropped.