Skip to content

Instantly share code, notes, and snippets.

@martinrusev
Last active August 29, 2015 14:19
Show Gist options
  • Select an option

  • Save martinrusev/2208c612d0c0b34d7d2b to your computer and use it in GitHub Desktop.

Select an option

Save martinrusev/2208c612d0c0b34d7d2b to your computer and use it in GitHub Desktop.
mysql_slow_queries
#my.cnf within [mysqld] / [mysqld_safe]
slow_query_log = 1
long_query_time = 3
log_output = TABLE
general-log
expire_logs_days = 1
http://www.rackspace.com/knowledge_center/article/access-slow-query-and-general-logs-for-cloud-databases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment