Mysql data optimization

Server environment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
$ cat /etc/issue
Ubuntu 14.04.5 LTS

$ free -h
total used free shared buffers cached
Mem: 7.8G 7.7G 132M 260K 276K 6.8M
-/+ buffers/cache: 7.7G 139M
Swap: 8.0G 2.3G 5.7G

$ mysqld -V
mysqld Ver 5.5.58-0ubuntu0.14.04.1 for debian-linux-gnu on x86_64 ((Ubuntu))

$ php -v
PHP 7.1.12

Separate Mysql Slow Log Using Logrotate In Ubuntu

Server environment

1
2
3
4
$ cat /etc/issue
Ubuntu 16.04.2 LTS
$ logrotate --version
logrotate 3.8.7
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×