MySQLã®ã¯ã¨ãªã¼ãã£ãã·ã¥ã®ãããçãæ±ããSQLãä½æãã¾ãããä¸è¬çã«ãã£ãã·ã¥ã®ãããçãäºå²ä»¥ä¸ã®å ´åã¯ããã£ãã·ã¥ãå©ç¨ããªãè¨å®ã®ã»ããããã©ã¼ãã³ã¹ãåºããã¨ãã§ãã¾ãããã®ã¯ã¨ãªãã£ãã·ã¥ãããçãSQLã§æ±ããããããã«ä½æãã¦ã¿ã¾ãããã¿ãªãã¾ã®MySQLãã¼ã«ã«ãµã¼ãã§ç´æ¥å®è¡ãã¦çµæã確èªãã¦ã¿ã¦ãã ãã 以ä¸ãã¯ã¨ãªã¼ãã£ãã·ã¥ã®ãããçãæ±ããSQLã§ããåºæ¬çã«ã¯ãshow status ã§è¨ç®ãããã¨ãã§ãã¾ããç§ã®å ´åã¯ãããããããã©ãããã®ã§SQLã§å¯¾å¿ãã¾ãããã¯ã¨ãªã¼ãã£ãã·ã¥ã®ãããçã以ä¸ã®è¨ç®ã§æ±ãããã¨ãã§ãã¾ãã SELECT @QCACHE_FREE_BLOCKS := VARIABLE_VALUE FROM information_schema.`GLOBAL_STATUS` where VARIABLE_NAME = 'QCAC
{{#tags}}- {{label}}
{{/tags}}