首页 > 数据库 >oracle 建表时表空间的一些参数pctfree initrans maxtrans storage的含义

oracle 建表时表空间的一些参数pctfree initrans maxtrans storage的含义

时间:2022-12-15 14:47:31浏览次数:44  
标签:pctfree 建表 idx 时表 initrans storage -- id

create table X_SMALL_AREA
(
idx_id NUMBER(20) not null,
pss_idx_id NUMBER(20),
update_log VARCHAR2(512),
update_date DATE,
constraint PK_PSS_LOG primary key (idx_id),
constraint FK_PSS_LOG foreign key (pss_idx_id)
references POFS_SERIAL_SYSTEM (idx_id)
)
tablespace TBSL_SDDQ --表段X_SMALL_AREA放在表空间TBSL_SDDQ中
pctfree 10 --块保留10%的空间留给更新该块数据使用
initrans 1 --初始化事务槽的个数
maxtrans 255 --最大事务槽的个数
storage --存储参数
(
initial 64k --区段(extent)一次扩展64k
minextents 1 --最小区段数
maxextents unlimited --最大区段无限制
);

标签:pctfree,建表,idx,时表,initrans,storage,--,id
From: https://www.cnblogs.com/liangp/p/16984975.html

相关文章