drop chunk to storagepool 参数:从空 chunk 归还空间到存储池(SQL 管理 API)

随同 admin()task() 函数,使用 drop chunk to storagepool 参数来从空 chunk 归还空间到存储池。

语法

元素 描述 关键考虑
space_name chunk 所在其中的存储空间的名称。  
path_name chunk 的路径。  
offset chunk 的偏移量,以 KB 为单位。  

样例

下列命令在名为 bigdbs 的 dbspace 中删除空 chunk,并将所有释放的空间添加到存储池。

EXECUTE FUNCTION task("drop chunk to storagepool", "bigdbs", "/dev/rawdisk23",
 "100 KB");