2 个回答
具体的开关sql cache操作如下:
-- 在当前 Session 打开 SQL Cache, 默认是关闭状态
set enable_sql_cache=true;
-- 在当前 Session 关闭 SQL Cache
set enable_sql_cache=false;
-- 全局打开 SQL Cache, 默认是关闭状态
set global enable_sql_cache=true;
-- 全局关闭 SQL Cache
set global enable_sql_cache=false;
发布于:5个月前 (12-11) IP属地:四川省
我来回答
您需要 登录 后回答此问题!