Help Center> Distributed Database Middleware> User Guide> SQL Syntax> Supported SQL Statements> Setting a Hint to Skip the Cached Execution Plan
Updated on 2023-10-09 GMT+08:00

Setting a Hint to Skip the Cached Execution Plan

DDM allows you to configure a hint to control whether each SELECT statement skips the cached execution plan.

The hint is in the following format:

/*!GAUSS:skip_plancache=flag */

flag can be set to true or false. true indicates that the statement skips the cached execution plan. false indicates that the statement does not skip the cached execution plan.

Currently, this function only applies to SELECT statements.