Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
估计并报告在数据库服务器上发出组读取的开销。
sa_get_dtt_groupreads( dbspace_id )
dbspace_id 使用此 UNSIGNED SMALLINT 参数指定数据库文件 ID。
从 SYSDBSPACE 系统视图中可以获得 dbspace_id。sa_get_dtt_groupreads 系统过程返回的估计是开销模型的一部分,用于在排序等操作期间选择适当大小的组读取。
此用于内部诊断的过程检索来自 ISYSOPTSTAT 系统表的数据。如果此表中没有记录任何条目,则返回典型值。要为您的硬件定制估计,请执行以下语句:
ALTER DATABASE CALIBRATE GROUP READ;
无
以下示例报告发出组为系统 dbspace 读取的开销。
CALL sa_get_dtt_groupreads( (select dbspace_id from SYSDBSPACE where dbspace_name='system') );