guyeuro
V2EX  ›  问与答

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

  •  
  •   guyeuro · Sep 8, 2017 · 2566 views
    This topic created in 3201 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   ·   2818 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 12:08 · PVG 20:08 · LAX 05:08 · JFK 08:08
    ♥ Do have faith in what you're doing.