Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
报告数据库表的分段信息。
sa_table_fragmentation( [ tbl_name [, owner_name ] ] )
tbl_name 使用此可选的 CHAR(128) 参数指定要检查其碎片的表的名称。
owner_name 使用此可选的 CHAR(128) 参数指定 tbl_name 的所有者。
数据库管理员可以使用此过程获取数据库表的分段信息。如果不提供参数,则为数据库中的所有表返回结果。
当数据库表的碎片过多时,可以运行 REORGANIZE TABLE 或重建数据库以减少表碎片并提高性能。
DBA 特权
无
CALL sa_table_fragmentation( 'Products','GROUPO' );