PVSS00event - PARAM/WARNING - EvQueryList, getAlerts, Too many rows, query aborted
Enclosed you'll find the explanation for a log-message which can occur when a limit for non-historical alert-queries is reached. The log-message is written to the PVSS_II.log-file.
PVSS00event (0), 2011.10.06 11:49:26.526, PARAM,WARNING, 54, Unexpected state, EvQueryList, getAlerts, Too many rows, query aborted, SELECT ALERT '_alert_hdl.._last','_alert_hdl.._abbr','_alert_hdl.._prior','_alert_hdl.._text','_alert_hdl.._direction','_alert_hdl.._value' FROM '{*}'
Log-message with symbolic names:
PVSS00event (0), <TIMESTAMP>, PARAM,WARNING, 54, Unexpected state, EvQueryList, getAlerts, Too many rows, query aborted, <query-string>
This log-message describes that maximum number of lines/rows was reached. The limitation is made with the config-entry maxAlertConnectCount (for dpQueryConnect-functions) and/or maxAlertRequestCount (for dpQuery-calls) in the [event]-section.
If the function getLastError() is used in the script where the function to read the data was started you’ll get the following error. When using the function throwError() the error is written to the PVSS_II.log-file.
PVSS00ui (1), <TIMESTAMP>, PARAM,SEVERE, 81, Syntax error, doQuery not successful, too many lines in table - query aborted
If this error is reported please check if this query should be allowed or not. The maximum value has to be defined in discussion with the users operating the plant.
Please do not increase the value for the config-entry to a very high value (e.g. 1000000) or set it to 0 (no limitation).
The limitation for queries is part of the system stability functions in WinCC OA. For details please have a look at the online-help, search for the keywords “Error tolerance” and “stability”.