è¤æ°å°ããMySQLã®ã¹ãã¼ã¯ã¨ãªãã°ãããã¡ãã¡DBãµã¼ãã«ãã°ã¤ã³ãã¦èªãã®ãããã©ãããã log_output = FILE,TABLE ã¨ãã¦ãã¼ãã«ã«å ¥ãã¦ãªã¢ã¼ãããSELECTã§ããããã«ããã®ã¯ï¼ â ãã¼ãã«ã«å ¥ããå ´åãquery timeã¨lock timeã®åãTIMEåã«ãªã精度ãç§ã«ãªã£ã¦ãã¾ãã®ã§ãã¡ ãã¡ã¤ã«ã«åºåãããã®ããã°ãµã¼ãã¼ã«ã©ãã«ããã¦é£ã°ã 10åããã¨ãã«scpãã âããã§ã§ããã®ã¯ããããã©ãä»ã«ããæ¹æ³ãªãããªã syslogã§é£ã°ãã®ã¯ã©ãã (id:stanaka++) âsrd!! ã¹ãã¼ã¯ã¨ãªãã°ã«éããã追è¨ããããã¡ã¤ã«å ¨è¬ã«é©ç¨ã§ããã¨æãã¾ãã rsyslogã®æ¹ãããã¦ãããã§ãããèªåã使ã£ã¦ãã®ã¯ syslog-ng 2.0.9 ãªã®ã§ã ã®è¨å®ä¾ã§ãã DBãµã¼ã # follow_freq(180) 㧠3
{{#tags}}- {{label}}
{{/tags}}