guyeuro
V2EX  ›  问与答

mysql 里 SET query_cache_type = 0; 是会话级别的吗?

  •  
  •   guyeuro · Sep 8, 2017 · 2575 views
    This topic created in 3203 days ago, the information mentioned may be changed or developed.

    如果我用 mysql -uroot -q

    在生产环境连接 sql 进行性能分析

    当我敲下 SET query_cache_type = 0;后

    影响的是我当前会话 sql 执行结果的缓存

    还是整个 mysql 都不会缓存 sql 执行结果了?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1112 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:06 · PVG 07:06 · LAX 16:06 · JFK 19:06
    ♥ Do have faith in what you're doing.