Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
lib
.DS_Store
README.md
mysql_cache_unmap

README.md

mysql_cache_unmap

modified "https://github.com/yoshinorim/unmap_mysql_logs"

mysql_cache_unmap - bash lib/unmap_cache.c - unmap page cache

How to use:

  1. Compile "lib/unmap_cache.c"
$ gcc -o unmap_cache unmap_cache.c 
  1. Change or Add binary/relay log directory
$ vi mysql_cache_unmap
  gen_log_names /log/binary-log
  gen_log_names /log/relay-log
  1. Execute mysql_cache_unmap
$ mysql_cache_unmap > mysql_cache_unmap.log 2>&1