Performance Statistics
During database operations, issues such as lock contention and disk I/O overload can lead to performance bottlenecks. You can use the performance statistics parameters provided by DWS to quickly locate the performance issues. These parameters are used only to assist database administrators in rough analysis. They are similar to getrusage() in Linux.
log_parser_stats
Parameter description: Controls whether to record performance statistics about a parser in server logs.
Type: SUSET
Value range: Boolean
- on indicates the function of recording performance statistics is enabled.
- off indicates the function of recording performance statistics is disabled.
Default value: off
log_planner_stats
Parameter description: Controls whether to record performance statistics about a query optimizer in server logs.
Type: SUSET
Value range: Boolean
- on indicates the function of recording performance statistics is enabled.
- off indicates the function of recording performance statistics is disabled.
Default value: off
log_executor_stats
Parameter description: Controls whether to record performance statistics about an executor in server logs.
Type: SUSET
Value range: Boolean
- on indicates the function of recording performance statistics is enabled.
- off indicates the function of recording performance statistics is disabled.
Default value: off
log_statement_stats
Parameter description: Controls whether to record performance statistics about an entire statement in server logs.
Type: SUSET
Value range: Boolean
- on indicates the function of recording performance statistics is enabled.
- off indicates the function of recording performance statistics is disabled.
Default value: off
This parameter cannot be enabled together with log_parser_stats, log_planner_stats or log_executor_stats.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot