How can I take care for disabled statistics server actions?
Disabled statistics server actions are particularly critical with ESS and Revisions <= 92, because no automatic enabling happens.
Disabled statistics server actions are reported with check ID 717 ("Number of disabled actions") of SQL: "HANA_Configuration_MiniChecks" (SAP Note 1969700).
The most frequent root cause for disabled statistics server actions are timeouts. You can check via SQL: "HANA_StatisticsServer_Schedule" (SAP Note 1969700) for STATUS, which contains "Disabled" and the related reason, e.g. "Disabled (timeout)".
If you find disabled actions due to timeout, you can enable them with the following command:
UPDATE "_SYS_STATISTICS"."STATISTICS_SCHEDULE" SET STATUS = 'Idle' WHERE STATUS = 'Disabled' AND STATUSREASON = 'timeout'
If the same check disables itself repeatedly due to timeouts, you have to analyze the underlying performance problem. A timeout is triggered, if the previous execution is still active when the next execution is triggered, so as a workaround you can reduce the risk of timeouts by reducing the execution frequency of the involved action:
UPDATE _SYS_STATISTICS.STATISTICS_SCHEDULE SET INTERVALLENGTH = <interval_s> WHERE ID = <action_id>
Another reason for disabled statistics server actions can be invalid underlying procedures. A general activation of actions regardless of the timeout reason can be performed with the following command:
UPDATE "_SYS_STATISTICS"."STATISTICS_SCHEDULE" SET STATUS = 'Idle' WHERE STATUS = 'Disabled'
Sign up for STechies
Ask Question From Our Experts
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.