天天看點

Oracle 11g下大檔案表空間管理

1.建立表空間

[oracle@db1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 28 18:50:03 2014

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create bigfile tablespace BIGTBS

  2  datafile '/u01/app/oracle/oradata/orcl1/bigtbs.dbf'

  3  size 5M;

Tablespace created.

2.删除表空間

SQL> drop tablespace bigtbs

  2  including contents and datafiles;

Tablespace dropped.