读书人

[每天一题] 11gOCP 1z0-052 :2013-09

发布时间: 2013-10-08 16:55:16 作者: rapoo

[每日一题] 11gOCP 1z0-052 :2013-09-20 BIGFILE | SMALLFILE TABLESPACE.....................B43

转载请注明出处:http://blog.csdn.net/guoyjoe/article/details/11850427

[每天一题]  11gOCP 1z0-052 :2013-09-20  BIGFILE | SMALLFILE TABLESPACE.B43


正确答案:AC

  

创建表空间语法,自来官方文档:

[每天一题]  11gOCP 1z0-052 :2013-09-20  BIGFILE | SMALLFILE TABLESPACE.B43


   其中SMALLFILE是Oracle 10g新增的特性。从Oracle 10g开始,Oracle推出了大文件表空间BIGFILE TABLESPACE,简称BFT,相对地也有了小文件表空间SMALL TABLESPACE ,简称SFT。

BIGFILE| SMALLFILE

Use this clause to determine whether the tablespace is a bigfileor smallfile tablespace. This clause overrides any default tablespace typesetting for the database.

A bigfiletablespace containsonly one datafile or tempfile, which can contain up to approximately 4 billion(232) blocks. The maximum size of the single datafile or tempfile is128 terabytes (TB) for a tablespace with 32K blocks and 32TB for a tablespacewith 8K blocks.

A smallfiletablespace is atraditional Oracle tablespace, which can contain 1022 datafiles or tempfiles,each of which can contain up to approximately 4 million (222)blocks.

If you omit this clause,then Oracle Database uses the current default tablespace type of permanent ortemporary tablespace set for the database. If you specify BIGFILE for a permanent tablespace, then the database by default creates alocally managed tablespace with automatic segment-space management.

  大文件表空间只能包含一个文件,但是这个文件最大可以达到4GB个数据块大小,按照Oracle通常支持的不同数据块大小(2k/4k/8k/16k/32k),最小的大文件表空间单个文件大小可达8TB,最大可以达到128TB, 当然具体单个文件能够达到的大小还受到OS的限制。

  数据库默认的表空间类型是SFT,如下查询可知,所以默认创建的表空间都是小文件表空间。

dbathink@hotmail.com

BLOG: http://blog.csdn.net/guoyjoe

WEIBO:http://weibo.com/guoyJoe0218

ITPUB: http://www.itpub.net/space-uid-28460966.html

OCM: http://education.oracle.com/education/otn/YGuo.HTM


读书人网 >其他数据库

热点推荐