To avoid recompilations of query plans caused by SET options, establish SET options at connection time, and make sure that they do not change for the duration of the connection.
英
美
- 只有在连接时建立SET选项并确保它们在连接期间不发生变化,才能避免SET选项出现重新编译查询计划的情况。