Help Center > > Developer Guide> SQL Reference> System Operation

System Operation

Updated at: Mar 13, 2020 GMT+08:00

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 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.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel