to jiezhi(浪子) update blob_tab set blob_col=EMPTY_BLOB()和 update blob_tab set blob_col=NULL有什么区别吗? 将blob字段设置为NULL是彻底清空blob字段,而将blob字段设置为empty_blob() 将blob字段是初始化blob字段,此时的状态为empty,blob字段长度为0。
to LGQDUCKY(飘): 怎样才能修改一个blob字段的pctfree和pctused参数值。 blob字段是单独存在于一个表空间的,blob字段也是用所在的表的pctfree和pctused 参数吗?
数据库的存储是是一块块写的,pctfree和pctused参数是 用来对块存储空间进行管理的机制。用语句 alter table <table_name> pctfree 10 pctused 30
数据库的存储是是一块块写的,pctfree和pctused参数是 用来对块存储空间进行管理的机制。用语句 alter table <table_name> pctfree 10 pctused 30
还有用语句 alter table <table_name> deallocate unused;可以回收表,索引等对象中未使用的区。
UPDATE blob_tab set blob_col= EMPTY_BLOB() where ...;
PCTREE 是用来指定快中保留的最小空间比例。 10%
PCTUSED当块中已经使用的存储参数降到这个白分比,这个快
就被重新标识为可用 30%
update blob_tab set blob_col=EMPTY_BLOB()和
update blob_tab set blob_col=NULL有什么区别吗?
将blob字段设置为NULL是彻底清空blob字段,而将blob字段设置为empty_blob()
将blob字段是初始化blob字段,此时的状态为empty,blob字段长度为0。
怎样才能修改一个blob字段的pctfree和pctused参数值。
blob字段是单独存在于一个表空间的,blob字段也是用所在的表的pctfree和pctused
参数吗?
用来对块存储空间进行管理的机制。用语句
alter table <table_name> pctfree 10 pctused 30
用来对块存储空间进行管理的机制。用语句
alter table <table_name> pctfree 10 pctused 30
alter table <table_name> deallocate unused;可以回收表,索引等对象中未使用的区。