From 6d3d15eb4d5a201da0193e848b335197e7422b3d Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Sat, 22 Sep 2018 05:04:28 +0000 Subject: [PATCH] Update README with performance tips Update README with version information around MySQL 5.5 Adding bashrc file with basic alias for git and directory listing --- README.md | 16 ++++++++++++---- bashrc | 7 +++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 bashrc diff --git a/README.md b/README.md index f77682f..d3c8537 100644 --- a/README.md +++ b/README.md @@ -36,15 +36,14 @@ Compatibility * MySQL 5.7 (full support) * MySQL 5.6 (full support) -* MySQL 5.5 (full support) * MariaDB 10.3 (full support) * MariaDB 10.2 (full support) * MariaDB 10.1 (full support) -* MariaDB 10.0 (full support) +* MariaDB 10.0 (full support, 6 last month support) * Percona Server 5.7 (full support) * Percona Server 5.6 (full support) * Percona XtraDB cluster (full support) -* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (partial support - deprecated version) +* MySQL 3.23, 4.0, 4.1, 5.0, 5.1, 5.5 (partial support - deprecated version) * Perl 5.6 or later (with [perl-doc](http://search.cpan.org/~dapm/perl-5.14.4/pod/perldoc.pod) package) * Unix/Linux based operating system (tested on Linux, BSD variants, and Solaris variants) * Windows is not supported at this time (Help wanted !!!!!) @@ -87,6 +86,15 @@ You can download the entire repository by using 'git clone' followed by the clon Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly. +Performance tips +-- +Metadata statistic updates can impact strongly performance of database servers and MySQLTuner. +Be sure that innodb_stats_on_metadata is disabled. + + set global innodb_stats_on_metadata = 0; + +__Usage:__ Minimal usage locally + Specific usage -- @@ -101,7 +109,7 @@ __Usage:__ Minimal usage remotely __Usage:__ Enable maximum output information around MySQL/MariaDb without debugging perl mysqltuner.pl --verbose - perl mysqltuner.pl --buffers --dbstat --idxstat --sysstat --pfstat + perl mysqltuner.pl --buffers --dbstat --idxstat --sysstat --pfstat --tbstat __Usage:__ Enable CVE vulnerabilities check for your MariaDB or MySQL version diff --git a/bashrc b/bashrc new file mode 100644 index 0000000..1f7f503 --- /dev/null +++ b/bashrc @@ -0,0 +1,7 @@ +alias gst='git status' +alias gcm='git commit -m' +alias gmh='git log --follow -p --' +alias ll='ls -ls' +alias lh='ls -lsh' +alias la='ls -lsa' +alias gam='git status | grep "modified" | cut -d: -f2 | xargs -n 1 git add'