System Operation
GaussDB(DWS) runs SQL statements to perform different system operations, such as setting variables, displaying the execution plan, and collecting garbage data.
Setting Variables
For details about how to set various parameters for a session or transaction, see SET.
Displaying the Execution Plan
For details about how to display the execution plan that GaussDB(DWS) makes for SQL statements, see EXPLAIN.
Specifying a Checkpoint in Transaction Logs
By default, WALs periodically specify checkpoints in a transaction log. CHECKPOINT forces an immediate checkpoint when the related command is issued, without waiting for a regular checkpoint scheduled by the system. For details, see CHECKPOINT.
Collecting Unnecessary Data
For details about how to collect garbage data and analyze a database as required, For details, see VACUUM.
Collecting statistics
For details about how to collect statistics on tables in databases, For details, see ANALYZE | ANALYSE.
Setting the Constraint Check Mode for the Current Transaction
For details about how to set the constraint check mode for the current transaction, For details, see SET CONSTRAINTS.
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