读书人

在DB2筑表语句的意思

发布时间: 2013-01-07 10:02:24 作者: rapoo

在DB2建表语句的意思
临时做个实例

create table XX
(
time integer ,
city_id character(1) ,
user_count integer ,
product_count integer
)
in "tbs_uuc"
index in "tbs_idx_uuc"
;
alter table XX
date capture none
locksize row
append off
not volatile
;
comment on table XX is 'XXXXX'
;
comment on XX
(
time is '时间' ,
city_id is '地市'
…………
)

请问红色标注的的语句是什么意思啊 请高人指点! 小弟在此先谢过!
[解决办法]
DATA CAPTURE NONE 用在数据库间的数据复制(Capture)、NONE表示表改变时的附加信息不写入LOG。
LOCKSIZE ROW 表使用行锁
APPEND OFF 非数据追加模式(ON的时候对于大量追加数据的模式有性能提高,不再从前面表空间中找空闲,直接写在后面)
NOT VOLATILE 非挥发,表示数据并非剧烈变化(优化参数)

读书人网 >数据库开发

热点推荐