oracle bigfile表空间的描述

本文介绍如何使用Oracle数据库创建Bigfile表空间。通过指定BIGFILE关键字,在创建表空间时会自动建立本地管理并启用自动段空间管理。文章还提供了创建Bigfile表空间的示例SQL语句,并解释了在不同情况下指定表空间类型的注意事项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

来源于官方文档地址:http://docs.oracle.com/cd/B19306_01/server.102/b14231/tspaces.htm#i1006225
 
 
Creating a Bigfile Tablespace

 

To create a bigfile tablespace, specify the BIGFILE keyword of theCREATE TABLESPACE statement(CREATE BIGFILE TABLESPACE...). Oracle Database automatically creates a locally managedtablespace with automatic segment space management. You can, butneed not, specify EXTENT MANAGEMENTLOCAL and SEGMENT SPACEMANAGEMENT AUTO in this statement.However, the database returns an error if you specifyEXTENT MANAGEMENT DICTIONARYor SEGMENT SPACE MANAGEMENTMANUAL. The remaining syntax of the statement is thesame as for the CREATE TABLESPACE statement, but youcan only specify one datafile. For example:

CREATE BIGFILE TABLESPACE bigtbs 
    DATAFILE '/u02/oracle/data/bigtbs01.dbf' SIZE 50G
...

You can specify SIZE in kilobytes (K), megabytes(M), gigabytes (G), or terabytes (T).

 

If the default tablespace type was set to BIGFILEat database creation, you need not specify the keywordBIGFILE in the CREATE TABLESPACEstatement. A bigfile tablespace is created by default.

 

If the default tablespace type was set to BIGFILEat database creation, but you want to create a traditional(smallfile) tablespace, then specify a CREATESMALLFILE TABLESPACE statement tooverride the default tablespace type for the tablespace that youare creating.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值