on 01-27-2015 3:37 PM
Hi All,
I have migrated statistics server by following the blog
Below is the output of the migration
How do we check the statistics server process after migration? I have used the SQL command mentioned in the blog and see the thread is inactive, is it normal or the thread should be active?
Regards,
Raj
Message was edited by: Tom Flanagan
Hi,
YOu can execute below command:
Result should be empy
select * from "_SYS_STATISTICS"."STATISTICS_SCHEDULE" where status = 'Disabled' and statusreason = 'timeout'
Result should be empy
select * from sys.m_services where service_name='statisticsserver'
Result should be empy
select * from sys.m_volumes where service_name = 'statisticsserver'
Result should be 'true'
select
value
from "PUBLIC"."M_INIFILE_CONTENTS"
where file_name = 'nameserver.ini'
and layer_name = 'SYSTEM'
and section = 'statisticsserver'
and key = 'active'
Do check _SYS_STATISTICS -> table -> STATISTIC_SCHEDULE -> LATEST_START_SERVERTIME is recent and VIEW -> STATISTICS_LAST_CHECKS -> ALERT_LAST_CHECK_TIMESTAMP is recent as well.
Also, refer to 2092033 - Embedded Statistics Service Migration Guide for more info.
Hope it helps,
Nicholas Chang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What's your HDB version?
If below 90, do run the correct script - HANA_StatisticsServer_Histories_RetentionTime_Rev74+_ESS
Check STATISTIC_SCHEDULE and ensure no objectID with status "Disabled" and have a look at the latest start server time. If the time is near to your current time, means the ESS is running.
fyi, Object id for "Alert" is from 0 - 71.
Martin,
I have executed below commands for solution manager alerts.
grant execute on schema _SYS_STATISTICS to SOLMANUSER
grant update on _SYS_STATISTICS.STATISTICS_SCHEDULE to SOLMANUSER
and when I check in DBA cockpit of Solution Manager it still doesnot recoginze the statistics server exists.
In the below screen Alerts is disabled
Below are warining messages
Regards,
Dheeraj
I would recommend you to run SQL: "HANA_Configuration_MiniChecks_Rev74+_ESS" (SAP Note 1969700), because it contains a dedicated statistics server section performing several checks about its health. See SAP Note 1999993 for more information. Feel free to paste the result of the statistics server section so that I can double-check.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have executed both scripts and below is the output.
HANA_StatisticsServer_Histories_RetentionTime_Rev90+_ESS
HANA_Configuration_MiniChecks_Rev74+_ESS
Regards,
Raj
Well, there is a chance that it is only a kind of permission or communication issue
that results in the "no statisticsserver active" information. Can you run SQL: "HANA_StatisticsServer_Alerts_Reported" (SAP Note 1969700) and provide the result? This command directly accesses the statisticsserver alert tables.
Hi Raj
Could you check the statistics service status and trace file is this any error message?
BR
SS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.