首页 > 数据库 > 数据库开发技术 > sybase iq表空间管理常用语句
查看表空间使用情况:
>sp_iqdbspace;
或者
>select * from sp_iqdbspace();
查看数据文件信息
>sp_iqfile;
或者
>select * from sp_iqfile();
查看指定表空间内的对象占用空间情况:
>sp_iqdbspaceinfo dbname
或者
>select * from sp_iqdbspaceinfo('dbname');
查看指定表占用空间情况:
>sp_iqindexinfo 'table owner.tbname';
或者
>select * from sp_iqindexinfo(
'table owner.tbname');
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31374736/viewspace-2854038/ ,如需转载,请注明出处,否则将追究法律责任。