Compare commits

...

1003 commits

Author SHA1 Message Date
Jean-Marie Renouard
70750a4855
Merge pull request #801 from remc010/master
714 # fix calculation of innodb_log_size_pct
2024-09-13 10:45:24 +02:00
remc010
1b9c8e588e
714 # fix calculation of innodb_log_size_pct when using innodb_redo_log_capacity, instead of innodb_log_files_in_group and innodb_log_file_size 2024-09-12 09:49:37 +02:00
Jean-Marie Renouard
00ae2c9ddb
Merge pull request #798 from jesusbagpuss/issue-797
Improve regexes for log-file error and warning counts (fixed #797)
2024-09-06 12:23:06 +02:00
Jean-Marie Renouard
66fdb9339d
Merge pull request #799 from gggeek/gg/readme-typo
readme typo
2024-09-06 12:20:54 +02:00
gggeek
e519313752 fix typo in readme 2024-09-04 17:23:17 +00:00
gggeek
14b295ec92 remove dupe line in .dockerignore 2024-09-04 17:23:06 +00:00
John Salter
197e4729b0
Improve regexes for log-file error and warning counts 2024-09-02 18:27:59 +01:00
Jean-Marie Renouard
13ec5072fb
Merge pull request #795 from jmrenouard/master
Generate 2.6.0 minor version at 2024-08-06T10:43:15+02:00
2024-08-06 10:49:21 +02:00
Jean-Marie Renouard
07fd5df5d1 Generate 2.6.0 minor version at 2024-08-06T10:43:15+02:00 2024-08-06 10:43:15 +02:00
Jean-Marie Renouard
763ba10872
Merge pull request #787 from devenbj/MariaDB-Version-Updates
Update Versions for MariaDB
2024-07-15 23:34:08 +02:00
Jean-Marie Renouard
fd31cc84ce
Merge pull request #789 from jmrenouard/master
Bug fix on makefile
2024-07-15 23:33:51 +02:00
Jean-Marie Renouard
d45dd77f6d Bug fix on makefile 2024-07-15 23:32:39 +02:00
Jean-Marie Renouard
56b7415198
Merge pull request #788 from jmrenouard/master
MErge back
2024-07-15 23:24:46 +02:00
Jean-Marie Renouard
aba69e1d4e
Merge branch 'master' into master 2024-07-15 23:24:38 +02:00
Jean-Marie Renouard
4bb70413be Last updates for MySQLTuner getting is own Docker images jmrenouard/mysqltuner 2024-07-15 23:21:21 +02:00
Jean-Marie Renouard
1c1c4638af Generate 2.5.4 sub version at 2024-07-15T22:42:31+02:00 2024-07-15 22:42:31 +02:00
Jean-Marie Renouard
13d2783348 Indenting mysqltuner at 2024-07-15T22:41:49+02:00 2024-07-15 22:41:54 +02:00
Brian Devendorf
828f25d828
Update Versions for MariaDB
This addresses #707 and #786. Added versiond 11.1, 11.2, and 11.4 to supported list. Removed 10.3, 10.4, 10.7, 10.8, 10.9, and 10.10 (all listed as no longer mintained on the mariadb website). Fix for the deprecation notice from @jadeops.
2024-07-14 23:59:03 -05:00
Jean-Marie Renouard
099d38b11d
Merge pull request #785 from tomvlk/patch-1
Update README.md, remove double 'by default' in some sentences.
2024-07-08 22:46:43 +02:00
Tom Valk
adda63da26
Update README.md, remove double 'by default' in some sentences. 2024-07-08 23:30:46 +03:00
Jean-Marie Renouard
198e0d5a0d
Merge pull request #780 from vlatan/physical-memory
Fix wrong physical memory
2024-07-02 11:00:12 +02:00
Jean-Marie Renouard
a76ec6a051
Merge pull request #778 from vlatan/fix-fork-link
Fix broken link
2024-04-24 19:40:01 +02:00
vlatan
0dc9caaf95 Remove repeated assigmnent 2024-04-24 00:46:42 +02:00
vlatan
1843cf1f4f Fix the fork link 2024-04-24 00:06:25 +02:00
Jean-Marie Renouard
b2c11b2d81
Merge pull request #775 from jmrenouard/master
Docker staff for MySQLtuner
2024-03-15 12:46:35 +01:00
Jean-Marie Renouard
def7f81455 Changing filemode 2024-03-07 19:19:52 +01:00
Jean-Marie RENOUARD
1286af5fd5 Dockerfile integration (part 2) 2024-02-16 19:04:53 +01:00
Jean-Marie Renouard
4a7d0e07a9
Merge pull request #773 from jmrenouard/master
Dockerfile for MySQLtuner
2024-02-16 18:16:33 +01:00
Jean-Marie RENOUARD
936843fb1b Adding Dockerfile features(part 1) 2024-02-16 18:15:50 +01:00
Jean-Marie Renouard
ac43eee969
Merge pull request #769 from chenrui333/remove-travis-refs
chore: remove travis config
2024-02-12 13:07:45 +01:00
Jean-Marie Renouard
0111b1118d
Merge pull request #772 from ravage84/may-failed
Grammar
2024-02-12 13:05:01 +01:00
marc.wuerth
f86232b95c Grammar 2024-02-12 12:25:48 +01:00
Jean-Marie Renouard
6ce7155199
Merge pull request #768 from chenrui333/fix-starchart
fix: update starchart url
2024-02-12 09:59:20 +01:00
Rui Chen
2fb1ba00d5
chore: remove travis config
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-02-10 10:14:02 +01:00
Rui Chen
2542954305
fix: update starchart url
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-02-10 10:08:21 +01:00
Jean-Marie Renouard
9437fb1aab
Merge pull request #767 from FabioPedretti/master
fix perl shebang
2024-02-09 15:03:00 +01:00
Jean-Marie Renouard
aa8de299c4
Update mysqltuner.pl
Co-authored-by: Rui Chen <rui@chenrui.dev>
2024-02-09 15:02:54 +01:00
Fabio Pedretti
86ccfb2fcc fix perl shebang
Current shebang gives this error:
$ ./mysqltuner.pl
-bash: ./mysqltuner.pl: cannot execute: required file not found

Also fixes #766.
2024-02-09 10:24:40 +01:00
Jean-Marie Renouard
5d66f40e06 Removing unused files 2024-02-09 09:18:07 +01:00
Jean-Marie Renouard
f0848b8489
Merge pull request #765 from jmrenouard/master
New CLI-Option "nondedicated" for non-dedicated servers #748
2024-02-09 00:44:28 +01:00
Jean-Marie Renouard
a14d551a3f New CLI-Option "nondedicated" for non-dedicated servers #748 2024-02-09 00:42:58 +01:00
Jean-Marie Renouard
cb3fd87f09 Generate USAGE.md at 2024-02-09T00:21:26+01:00 2024-02-09 00:21:26 +01:00
Jean-Marie Renouard
c29168ccaf Adding nondedicated option usage 2024-02-09 00:12:34 +01:00
Jean-Marie Renouard
8899f10756
Merge pull request #764 from jmrenouard/master
Check against performance_schema.global_variables fails (Table not fo…
2024-02-08 23:57:20 +01:00
Jean-Marie Renouard
e03ba82187 Check against performance_schema.global_variables fails (Table not found) #759 2024-02-08 23:56:35 +01:00
Jean-Marie Renouard
5c48a8a0a9
Merge pull request #763 from jmrenouard/master
Mysqltuner activates --checkversion if running with --verbose #760
2024-02-08 23:28:41 +01:00
Jean-Marie Renouard
876c374bef Mysqltuner activates --checkversion if running with --verbose #760 2024-02-08 23:23:00 +01:00
Jean-Marie Renouard
df93ddc45c
Merge pull request #757 from chenrui333/update-shebang
chore: update shebang
2024-02-08 23:20:09 +01:00
Jean-Marie Renouard
2f2b7680bd
Merge branch 'master' into update-shebang 2024-02-08 23:18:22 +01:00
Jean-Marie Renouard
216d8f9d19
Merge pull request #762 from jmrenouard/master
Adding experimental option avoiding runtime errors
2024-02-08 23:17:35 +01:00
Jean-Marie Renouard
da90482071
Merge branch 'master' into master 2024-02-08 23:17:04 +01:00
Jean-Marie Renouard
5c38853a05
Merge pull request #758 from FabioPedretti/master
fix perl shebang
2024-02-08 23:13:47 +01:00
Jean-Marie Renouard
ffd7aca201 Adding eperimental feature with --experiemental 2024-02-08 23:11:20 +01:00
Jean-Marie Renouard
30e61d917b Generate 2.5.3 sub version at 2024-02-08T22:15:50+01:00 2024-02-08 22:15:50 +01:00
Fabio Pedretti
c2140d79f7 fix perl shebang
Previously at least on Debian it broke with:
$ ./mysqltuner.pl
-bash: ./mysqltuner.pl: /bin/env: bad interpreter: No such file or directory
2024-02-07 10:57:48 +01:00
Rui Chen
d15426bfef
chore: update shebang
For me the `env` points to `/usr/bin/env`, and it is more common to specify as it is.

Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-02-07 08:26:36 +01:00
Jean-Marie Renouard
235cc4e0f9
Merge pull request #756 from jmrenouard/master
Refactoring format
2024-02-07 01:11:00 +01:00
Jean-Marie Renouard
9e243c4d63 REfactoring format 2024-02-07 01:09:53 +01:00
Jean-Marie Renouard
54df506b36 Refactoring format 2024-02-07 01:05:05 +01:00
Jean-Marie Renouard
62eefc8dfa Merge branch 'master' of github.com:jmrenouard/MySQLTuner-perl 2024-02-07 00:08:50 +01:00
Jean-Marie Renouard
34dcfd05c9 Adding secure check when missing value 2024-02-07 00:07:41 +01:00
Jean-Marie Renouard
cbb2534577
Merge pull request #755 from jmrenouard/master
Adding specific MariaDB sysschema installer
2024-02-06 21:58:37 +01:00
Jean-Marie Renouard
d9ccab2bf7 Adding specific MariaDB sysschema installer 2024-02-06 21:57:27 +01:00
Jean-Marie Renouard
6cc7ff252a
Merge pull request #754 from jmrenouard/master
Merge doc
2024-02-06 19:14:15 +01:00
Jean-Marie Renouard
cf4e6b47b7 Adding informations about csv dump options 2024-02-06 19:12:28 +01:00
Jean-Marie Renouard
c1d00b994a Format fixing 2024-02-06 19:07:08 +01:00
Jean-Marie Renouard
2c6bdbb0db Updates README + # 747 2024-02-06 19:03:13 +01:00
Jean-Marie Renouard
4d82fbaa56
Merge pull request #752 from jmrenouard/master
Adding shebang comment for auto execution #751
2024-02-06 18:37:53 +01:00
Jean-Marie Renouard
ca10ec7411 Adding shebang comment for auto execution 2024-02-06 18:35:38 +01:00
Jean-Marie Renouard
7ffd825668
Merge pull request #750 from jmrenouard/master
New version 2.5.2
2024-02-06 18:04:09 +01:00
Jean-Marie Renouard
4fdd801392 Generate CVE list at 2024-02-06T17:59:02+01:00 2024-02-06 18:00:04 +01:00
Jean-Marie Renouard
dd2ed72642 Indenting mysqltuner at 2024-02-06T17:58:52+01:00 2024-02-06 17:58:57 +01:00
Jean-Marie Renouard
30d1d9ecc6 Generate 2.5.2 sub version at 2024-02-06T17:58:35+01:00 2024-02-06 17:58:35 +01:00
Jean-Marie Renouard
b3a776576e Two separate garb install script with or without SSL 2024-02-04 00:34:49 +01:00
Jean-Marie Renouard
27525ca922 Fix issue in Buffer Pool instead of Log Buffer Pool 2024-02-04 00:31:54 +01:00
Jean-Marie Renouard
65b1c138a5 #741 false positive in log error detection 2024-01-18 05:38:00 +01:00
Jean-Marie Renouard
56d16e168e
Merge pull request #745 from FabioPedretti/master
Enable color by default when running on a terminal
2024-01-17 18:35:27 +01:00
Fabio Pedretti
b608da0fb1 Enable color by default when running on a terminal 2024-01-11 11:27:25 +01:00
Jean-Marie Renouard
3fd633b507 Generate 2.5.0 minor version at 2023-12-01T00:45:45+01:00 2023-12-01 00:46:15 +01:00
Jean-Marie Renouard
77699b72ae Suggest incrementing log_buffer_size to improve InnoDB Write Log efficiency.
#462
2023-12-01 00:45:34 +01:00
Jean-Marie Renouard
c20bcbf8f0
Merge pull request #744 from paskal/remove_innodb_stats_on_metadata
Remove innodb_stats_on_metadata mentions in Readme
2023-11-30 21:51:53 +01:00
Dmitry Verkhoturov
01a1e53364
remove innodb_stats_on_metadata mentions in Readme
That flag is off by default, starting with MySQL 5.7, and the tool
itself reports it in the "Performance Metrics" section.
2023-11-30 16:00:39 +01:00
Jean-Marie Renouard
b10cdb7441 Generate CVE list at 2023-11-30T11:36:41+01:00 2023-11-30 11:39:20 +01:00
Jean-Marie Renouard
e8ecc98585 Generate 2.4.0 minor version at 2023-11-30T11:35:00+01:00 2023-11-30 11:35:03 +01:00
Jean-Marie Renouard
da6dabcac0
Merge pull request #743 from Bt6K/patch-1
Spelling correction
2023-10-31 16:13:50 +01:00
Bt6K
27d48d8506
Spelling correction 2023-10-30 15:25:06 +00:00
Jean-Marie Renouard
da9c37b2e5
Merge pull request #738 from Murl080/patch-1
Correct physical memory comparison
2023-10-09 15:12:13 +02:00
Murl080
34e642efd2
Correct physical memory comparison 2023-10-09 15:05:07 +02:00
Jean-Marie Renouard
9da06cbd2a
Merge pull request #735 from jmrenouard/master
cannot set $opt{myisamstat} == 0 #713
2023-09-26 22:56:59 +02:00
Jean-Marie Renouard
71166417e6 cannot set $opt{myisamstat} == 0 #713 2023-09-26 22:50:57 +02:00
Jean-Marie Renouard
8de551ced9
Merge pull request #734 from jmrenouard/master
Bug: Database with views only gets index recommendation #721
2023-09-26 22:45:09 +02:00
Jean-Marie Renouard
da0a35dd40 Bug: Database with views only gets index recommendation #721 2023-09-26 22:42:36 +02:00
Jean-Marie Renouard
572f34252b
Merge pull request #733 from jmrenouard/master
Bug: Database with views only gets index recommendation #721
2023-09-26 22:35:05 +02:00
Jean-Marie Renouard
df5957204e Generate 2.3.1 sub version at 2023-09-26T22:32:04+02:00 2023-09-26 22:32:07 +02:00
Jean-Marie Renouard
8cf314e9cc
Merge pull request #732 from jmrenouard/master
Generate 2.3.0 minor version at 2023-09-25T11:30:10+02:00
2023-09-25 11:32:16 +02:00
Jean-Marie Renouard
cf2e17797e Generate 2.3.0 minor version at 2023-09-25T11:30:10+02:00 2023-09-25 11:30:42 +02:00
Jean-Marie Renouard
9d44e4cc34
Merge pull request #731 from leonyu/master
Only pass `-P` for socket connection when port option is specified
2023-09-25 11:15:51 +02:00
Leon Yu
46af11a70b Only pass -P for socket connection when port option is specified
This fix implementation of `be1f4b4` for [GCP cloud-sql-proxy](https://github.com/GoogleCloudPlatform/cloud-sql-proxy), which creates multiple sockets on localhost pointing to multiple remote instances with default port.
2023-09-24 15:47:54 -07:00
Jean-Marie Renouard
835a181232
Merge pull request #727 from major/renovate/actions-checkout-4.x
Update actions/checkout action to v4
2023-09-09 12:25:01 +02:00
Jean-Marie Renouard
8efc22d491
Merge pull request #728 from jmrenouard/master
Join Buffer Size recommendation Link Broken #722
2023-09-09 12:23:43 +02:00
Jean-Marie Renouard
290b32d3f2 Join Buffer Size recommendation Link Broken #722 2023-09-09 12:22:32 +02:00
renovate[bot]
491de6e6d7
Update actions/checkout action to v4 2023-09-09 10:11:15 +00:00
Jean-Marie Renouard
76c215683d
Merge pull request #726 from jmrenouard/master
Auto publishing on tags
2023-09-09 12:11:00 +02:00
Jean-Marie Renouard
7ab60ba85b Last updates 2023-09-09 12:08:45 +02:00
Jean-Marie Renouard
e2146a733b Generate 2.2.12 sub version at 2023-09-09T12:07:44+02:00 2023-09-09 12:07:53 +02:00
Jean-Marie Renouard
40babb5369 Generate 2.2.11 sub version at 2023-09-09T12:04:51+02:00 2023-09-09 12:05:00 +02:00
Jean-Marie Renouard
2ecc662f69 Generate 2.2.10 sub version at 2023-09-09T12:02:18+02:00 2023-09-09 12:03:28 +02:00
Jean-Marie Renouard
e9cae0428d Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-09-09 11:13:41 +02:00
Jean-Marie Renouard
e7c19632d3 New Github actions 2023-09-09 11:13:19 +02:00
Jean-Marie Renouard
960dd9e157
Merge pull request #725 from jmrenouard/master
New Github actions
2023-09-09 11:06:24 +02:00
Jean-Marie Renouard
a99b23e222 New Github actions 2023-09-09 11:02:46 +02:00
Jean-Marie Renouard
5859adae59
Merge pull request #723 from spithash/patch-1
Added --color helpline
2023-09-09 08:27:47 +02:00
Jean-Marie Renouard
5f3775aef3
Merge pull request #724 from jmrenouard/master
Last updates
2023-09-09 08:27:12 +02:00
Jean-Marie Renouard
d0ec7ea254 Last vulnerabilites list 2023-09-09 08:25:53 +02:00
Jean-Marie Renouard
d46c05da77 Last updates 2023-09-09 08:25:09 +02:00
Jean-Marie Renouard
fb4ea3fb1d Reorder features based on Makefile 2023-09-09 08:20:48 +02:00
Jean-Marie Renouard
ee64f17144
Delete vulnerabilities.csv 2023-09-09 08:00:43 +02:00
Stathis Xantinidis
981d6f9935
Added --color helpline 2023-09-08 15:14:49 +03:00
Jean-Marie Renouard
b44447ed1b
Merge pull request #719 from major/renovate/actions-checkout-4.x
Update actions/checkout action to v4
2023-09-07 14:33:49 +02:00
Jean-Marie Renouard
98fc9f5a89
Merge pull request #718 from Staubiii/patch-3
Ignore snap filesystem for mountpoint cleanup
2023-09-07 14:33:24 +02:00
Jean-Marie Renouard
ea681a386d
Merge pull request #717 from Staubiii/patch-2
Correct Typo
2023-09-07 14:32:43 +02:00
Jean-Marie Renouard
d4e50347ba
Merge pull request #716 from Staubiii/patch-1
Correct Typo
2023-09-07 14:31:48 +02:00
renovate[bot]
a866de9506
Update actions/checkout action to v4 2023-09-04 14:09:34 +00:00
Staubiii
8c92cac191
Ignore snap filesystem for mountpoint cleanup 2023-09-04 15:32:52 +02:00
Staubiii
ed4adb0fdb
Correct Typo 2023-09-04 15:19:14 +02:00
Staubiii
12cf4d3ecb
Correct Typo 2023-09-04 15:14:42 +02:00
Jean-Marie Renouard
4a1a7f40c9
Merge pull request #712 from jmrenouard/master
Updates USAGE and version number
2023-08-16 07:42:17 +02:00
Jean-Marie Renouard
4e32805535 Updates USAGE and version number 2023-08-16 07:38:34 +02:00
Jean-Marie Renouard
5bc816e88d
Merge pull request #709 from paskal/master
Clarify that innodb_stats_on_metadata is actual only in MySQL<=5.6
2023-07-27 14:56:37 +02:00
Jean-Marie Renouard
dc5c2abcf9
Merge pull request #710 from githuhb/master
Changed InnoDb to InnoDB for consistency on the report.
2023-07-27 14:55:58 +02:00
James Watson
5cb0ef3c57 Changed InnoDb to InnoDB for consistency on the report. 2023-07-27 10:23:00 +12:00
Dmitry Verkhoturov
3c8b3742e7
clarify that innodb_stats_on_metadata is actual only in MySQL<=5.6
Sources:

https://www.percona.com/blog/innodb_stats_on_metadata-slow-queries-information_schema/
https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_stats_on_metadata
https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_on_metadata
2023-07-25 22:52:58 +02:00
Jean-Marie Renouard
fa6fdfb5cf
Merge pull request #704 from longradix/master
Update README.md
2023-07-07 14:50:54 +02:00
Long Radix
15bd21ac54
Update README.md
* Typos
* Sentence structure
* Reduce drama and frivolity on tone of voice
2023-07-07 11:16:55 +02:00
Jean-Marie Renouard
3159e130a6
Merge pull request #703 from jmrenouard/master
Use of uninitialized value $opt{"myisamstat"} in numeric eq (==) #702
2023-07-07 09:14:51 +02:00
Jean-Marie Renouard
54fe8c9c61 update version 2023-07-07 09:14:11 +02:00
Jean-Marie Renouard
7f51ddcf07 Use of uninitialized value $opt{"myisamstat"} in numeric eq (==)
#702
2023-07-07 09:13:46 +02:00
Jean-Marie Renouard
c5e5c81266
Merge pull request #701 from jmrenouard/master
Update code and CVEs
2023-07-06 08:24:00 +02:00
Jean-Marie Renouard
c1e9b4b837 Update code and CVEs 2023-07-06 08:19:29 +02:00
Jean-Marie Renouard
ddcc05f0bc
Merge pull request #700 from jmrenouard/master
Version 2.2.5
2023-07-06 07:59:56 +02:00
Jean-Marie Renouard
9218c88865 Update version to 2.2.5 2023-07-06 07:53:00 +02:00
Jean-Marie Renouard
b4f6a30679 New issue 2.2.1
#690
2023-07-06 07:52:19 +02:00
Jean-Marie Renouard
d7e762bcbd
Merge pull request #699 from jmrenouard/master
Update perldoc info
2023-07-06 07:47:22 +02:00
Jean-Marie Renouard
6a89742cc0 Update perldoc info 2023-07-06 07:46:45 +02:00
Jean-Marie Renouard
db21ef429b
Merge pull request #698 from jmrenouard/master
Please add option to disable "Table structures analysis" #695
2023-07-06 07:43:15 +02:00
Jean-Marie Renouard
3692e02be2 Please add option to disable "Table structures analysis" #695 2023-07-06 07:22:05 +02:00
Jean-Marie Renouard
17eed4ff30
Merge pull request #697 from jmrenouard/master
skip-name-resolve suggested to OFF rather than ON #693
2023-07-06 07:09:13 +02:00
Jean-Marie Renouard
badfadb7ff skip-name-resolve suggested to OFF rather than ON #693 2023-07-06 07:05:26 +02:00
Jean-Marie Renouard
f585e6ad2d
Merge pull request #692 from jmrenouard/generate-data-model
Memory Tables out of sugestion to make Innodb tables #689
2023-06-26 20:19:11 +02:00
Jean-Marie Renouard
2440f1fc2d Memory Tables out of sugestion to make Innodb tables #689 2023-06-26 20:18:29 +02:00
Jean-Marie Renouard
9bf2c0429b
Merge pull request #688 from jmrenouard/master
Version 2.2.0 issues #686
2023-06-26 09:48:42 +02:00
Jean-Marie Renouard
b008591ce2 Increment version number 2023-06-26 09:45:14 +02:00
Jean-Marie Renouard
fc320f0f3d Bug fix for forcemem setting RAM to 1G in remote connection in all cases
Removing displaying utf8 columns (debug info removed)
Adding recommandations for system with 1 CPU or lest than 1,5 Gb of RAM
Version 2.2.0 issues #686
2023-06-26 09:42:58 +02:00
Jean-Marie Renouard
856040bff8 add dashboard 2023-06-23 11:06:08 +02:00
Jean-Marie Renouard
46f0aead18
Merge pull request #685 from jmrenouard/master
Adding checks for Primary keys, non innodb tables and non UTF-8 columns
2023-06-22 23:04:17 +02:00
Jean-Marie Renouard
2910dc11a2 Creating MT 2.2.0 2023-06-22 23:01:20 +02:00
Jean-Marie Renouard
5fac4cd07d Adding detection of non primary key tables
Adding detection of non InnoDB tables
Adding detection of non utf8 colums
2023-06-22 23:00:28 +02:00
Jean-Marie Renouard
2185340548 remove badges 2023-06-22 22:14:14 +02:00
Jean-Marie Renouard
af3dda7e42 reorder icons 2023-06-22 22:13:41 +02:00
Jean-Marie Renouard
5a0530219e add badges 2023-06-22 22:12:15 +02:00
Jean-Marie Renouard
7bbc6db3e7 add new badge 2023-06-22 22:11:10 +02:00
Jean-Marie Renouard
183aac3f4a adding generic function dump_into_file 2023-06-22 21:45:07 +02:00
Jean-Marie Renouard
e0e2168f06
Merge pull request #684 from jmrenouard/master
A lot of changes
2023-06-22 17:31:50 +02:00
Jean-Marie Renouard
44fac4eff8 adding sql sub directory into gitignore 2023-06-22 17:29:59 +02:00
Jean-Marie Renouard
5926c59ce6 Support --dumdir and generation of MyISAM to InnoDB SQL conversion script (migrate_myisam_to_innodb.sql) 2023-06-22 17:26:56 +02:00
Jean-Marie Renouard
b8045b2465 Adding alter table to migrate MyISAM tables 2023-06-22 16:56:16 +02:00
Jean-Marie Renouard
22379c8a6f The same varibale two times? #604 2023-06-22 16:55:58 +02:00
Jean-Marie Renouard
7d57863115 Regression related to session and global variables analysis 2023-06-22 15:24:33 +02:00
Jean-Marie Renouard
179a0f72e4 innodb_buffer_pool_size recommendation can be to high on 32-bit systems #634
Improvement in --feature options checking arch by default and calling make_recommendations at the end in all case
2023-06-22 15:15:25 +02:00
Jean-Marie Renouard
d832cf5e7d
Merge pull request #683 from jmrenouard/master
Adding generalrec about redo log when this parameters are bad sized
2023-06-22 13:14:58 +02:00
Jean-Marie Renouard
7b73cf5aac Adding genralrec about redo log when this parameters are bad sized
innodb_log_file_size bad calculation? #560
2023-06-22 13:13:28 +02:00
Jean-Marie Renouard
8ac37c1df2
Merge pull request #682 from jmrenouard/master
Not working on MariaDB 10.6.10 on Ubuntu 18 #620
2023-06-22 10:16:56 +02:00
Jean-Marie Renouard
6cd1c4197d Not working on MariaDB 10.6.10 on Ubuntu 18 #620
MT is handling innodb_log_files_in_group = 0 setting
2023-06-22 10:10:56 +02:00
Jean-Marie Renouard
84511a3c76
Merge pull request #681 from jmrenouard/master
Newer versions of mysql ignore innodb_log_file_size, recommend innodb_redo_log_capacity instead. #657
2023-06-21 23:45:03 +02:00
Jean-Marie Renouard
855b1b523a Newer versions of mysql ignore innodb_log_file_size, recommend innodb_redo_log_capacity instead.
#657
2023-06-21 23:43:42 +02:00
Jean-Marie Renouard
43a245e8f3 Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-06-21 23:40:14 +02:00
Jean-Marie Renouard
26676127ce Newer versions of mysql ignore innodb_log_file_size, recommend innodb_redo_log_capacity instead.
#657
2023-06-21 23:40:09 +02:00
Jean-Marie Renouard
57d1ea88e0
Merge pull request #680 from longradix/master
Update INTERNALS.md
2023-06-19 16:01:44 +02:00
Long Radix
e3d95e2b5f
Update INTERNALS.md
* Cosmetic clean ups
2023-06-19 10:28:55 +02:00
Jean-Marie Renouard
5ccb6f9cd6
Merge pull request #679 from jmrenouard/master
Fixing wrong calculation in memory usage (regression found)
2023-06-18 22:00:41 +02:00
Jean-Marie Renouard
aa8e2bd98d
Merge pull request #4 from jmrenouard/Memory-calcultions
MySQL's maximum memory usage s dangerously high #673
2023-06-18 21:59:19 +02:00
Jean-Marie Renouard
c1a0fb2f76 Increment version 2023-06-18 21:56:12 +02:00
Jean-Marie Renouard
e6ee330f5e MySQL's maximum memory usage s dangerously high #673
Total buffers per thread wrong calculation #628
Difference memory usage between versions #546
Incorrect suggestion given by MYSQL Tuner - max_connections conf param #506
MariaDb per thread wrong value #502
Maximum possible memory usage: mysqlx_max_connections? #489
Fix for the following issues:
Incorrect values / figures #487
What goes in to defining the "per thread" memory calculation #481
calculation bug? #475
2023-06-18 21:52:36 +02:00
Jean-Marie Renouard
8ab7f3e559
Merge pull request #678 from jmrenouard/master
Several branch of test for dumpdir feature
2023-06-17 22:41:59 +02:00
Jean-Marie Renouard
d7c44dbf28
Merge pull request #3 from jmrenouard/Fix-export-sys-dollar-view
Fix export sys dollar view
2023-06-17 22:39:09 +02:00
Jean-Marie Renouard
e1da1aad95 update version number 2023-06-17 22:37:09 +02:00
Jean-Marie Renouard
e7e045bb17 option dumpdir stop dumping pfs request result
dumpdir option successed dumping x$ views :)
2023-06-17 22:36:31 +02:00
Jean-Marie Renouard
76e8180a5d
Merge pull request #677 from jmrenouard/master
skip_name_resolve not interpreted properly #675
2023-06-17 18:12:47 +02:00
Jean-Marie Renouard
89619dc379 skip_name_resolve not interpreted properly #675 2023-06-17 18:11:00 +02:00
Jean-Marie Renouard
e4f0f0d210
Merge pull request #676 from jmrenouard/master
Adding basic Jenkinsfile
2023-06-17 17:53:57 +02:00
Jean-Marie Renouard
aade05cb67 Adding basic Jenkinsfile
Removing mysqladmin dependency (first steps)
2023-06-17 17:38:18 +02:00
Jean-Marie Renouard
e5c1ec6c03
Merge pull request #674 from jesusbagpuss/patch-1
Missing return when skipping log file checks
2023-06-12 19:01:42 +02:00
John Salter
9a0fb10d66
Missing return when skipping log file checks
Related to #661 - message is OK - and other changes to skip checks work as intended, but without a return here, it will look for local log files.
2023-06-12 13:48:35 +01:00
Jean-Marie Renouard
7cbcb91ef6
Merge pull request #672 from jmrenouard/master
Enahanced FEATURES.md
2023-06-11 18:12:14 +02:00
Jean-Marie Renouard
a7567efcc5
Merge pull request #2 from jmrenouard/enhanced_features
Enhanced features
2023-06-11 18:11:26 +02:00
Jean-Marie Renouard
e86778b43b Laste version with clean FEATURES.md list 2023-06-11 12:09:10 -04:00
Jean-Marie Renouard
f826f8c22d separated script for FEATURES.md generation 2023-06-11 11:50:56 -04:00
Jean-Marie Renouard
0157e24398
Merge pull request #670 from jmrenouard/master
Doc and CVS updates
2023-06-07 19:30:55 +02:00
Jean-Marie Renouard
f17f27179b Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-06-07 19:29:46 +02:00
Jean-Marie Renouard
90cf069aa6 Updates doc and CVE 2023-06-07 19:29:41 +02:00
Jean-Marie Renouard
4ac4d1263b
Merge pull request #669 from jmrenouard/master
doc: fix doc presentation
2023-06-07 19:19:08 +02:00
Jean-Marie Renouard
c378782015 doc: fixing presentation 2023-06-07 19:18:03 +02:00
Jean-Marie Renouard
5cae98532a Update readme 2023-06-07 19:14:46 +02:00
Jean-Marie Renouard
0f643c2c6c
Merge pull request #668 from jmrenouard/master
fix: broken code
2023-06-07 19:09:10 +02:00
Jean-Marie Renouard
ee2d8d51d4 fix: broken code 2023-06-07 19:07:33 +02:00
Jean-Marie Renouard
7b2f7e3762
Merge pull request #667 from jmrenouard/master
adding more information about sysctl var to setup #656
2023-06-07 19:06:23 +02:00
Jean-Marie Renouard
343ec024bb adding more information about sysctl var to setup #656 2023-06-07 19:05:18 +02:00
Jean-Marie Renouard
6132f9f664
Merge pull request #666 from jmrenouard/master
fixed for #651
2023-06-07 18:46:53 +02:00
Jean-Marie Renouard
d7edfad633 fixed for #651 2023-06-07 18:45:22 +02:00
Jean-Marie Renouard
9085ceb000
Merge pull request #665 from jmrenouard/master
Several improvements in remote management and feature testing
2023-06-07 18:23:17 +02:00
Jean-Marie Renouard
13fe693004 feat: better remote handling
Incorrect log-file association when checking remote host
#661
2023-06-07 18:22:02 +02:00
Jean-Marie Renouard
78f21466d2 doc: list of feature for --feature option 2023-06-07 18:19:54 +02:00
Jean-Marie Renouard
cf5d983ecc Adding update script for FEATURES.md 2023-06-07 18:19:29 +02:00
Jean-Marie Renouard
08d92f3d68
Merge pull request #664 from jmrenouard/master
Feature: option --feature allowing testing one part of MT at a time
2023-06-07 17:33:21 +02:00
Jean-Marie Renouard
8aacb0f85d Feat: new options --feature aloowing testing one feature at a time 2023-06-07 17:23:33 +02:00
Jean-Marie Renouard
840c5785a0
Merge pull request #663 from longradix/master
Updates
2023-06-07 12:35:06 +02:00
Long Radix
ebbddb7576
Update README.md
* Typos
* Stylistic improvements
2023-06-07 08:31:33 +02:00
Long Radix
0a39c0c96e
Merge branch 'major:master' into master 2023-06-07 08:24:20 +02:00
Jean-Marie Renouard
b7a92a28e0 Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-06-05 23:05:27 +02:00
Jean-Marie Renouard
b22cd12bf4 Bad options behaviour #662
Removing auto scedule pull request for CVE updates
2023-06-05 22:52:53 +02:00
Jean-Marie Renouard
38041d3ecd fix: last updates for skip_name_resolve roolback including 0 value testing 2023-06-05 22:40:49 +02:00
Jean-Marie Renouard
2c2d59d036 Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-05-30 09:11:11 +02:00
Jean-Marie Renouard
cb4784e8c7 Revert préview on skip name resolve
Name resolve should be OFF by default except for CPANEL & FLEX
2023-05-30 09:11:06 +02:00
Long Radix
fa3caacb5a
Merge branch 'major:master' into master 2023-05-26 16:24:48 +02:00
Jean-Marie Renouard
f27541682d
Merge pull request #660 from jmrenouard/master
Adding stop code form debug purpose + version increment
2023-05-23 07:34:18 +02:00
Jean-Marie Renouard
dabc9d9819 Increment version number 2023-05-23 05:30:57 +00:00
Jean-Marie Renouard
4e4ae77e4a
Merge pull request #658 from ryno83/patch-1
It should be ne instead of eq
2023-05-23 07:20:58 +02:00
Jean-Marie Renouard
c94906580f
Merge pull request #659 from ryno83/patch-2
Confusion between the name of the variable skip_name_resolve and the …
2023-05-23 07:16:38 +02:00
Renaud Fortier
bb10bce371
Confusion between the name of the variable skip_name_resolve and the recommendations 2023-05-22 13:53:47 -04:00
Renaud Fortier
ed0de692a8
It should be ne instead of eq 2023-05-22 13:51:56 -04:00
Long Radix
7a4e7ffa18
Update mysqltuner.pl 2023-05-11 17:21:01 +02:00
Jean-Marie Renouard
5dd0dec278 removing stop at the wrong place 2023-04-26 21:59:52 +02:00
Jean-Marie Renouard
842ae6e582
Merge pull request #655 from jmrenouard/master
CSV dumdir with performanc_schema and information_schema tables dump into CSV file
2023-04-26 00:59:07 +02:00
Jean-Marie Renouard
5ac9844030 debug with csv lines 2023-04-26 00:54:23 +02:00
Jean-Marie Renouard
7b385a9518 new test for exporting CSV with headers 2023-04-26 00:49:53 +02:00
Jean-Marie Renouard
bd9d921ae8 Adding debug info 2023-04-26 00:29:41 +02:00
Jean-Marie Renouard
f9debbf20d Adding info message 2023-04-26 00:14:12 +02:00
Jean-Marie Renouard
c825e7d66b add stop in a other place 2023-04-26 00:05:23 +02:00
Jean-Marie Renouard
b218cdf05f Adding stop option into mysql_tables 2023-04-25 23:43:23 +02:00
Jean-Marie Renouard
de3903a43f Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-04-25 23:05:52 +02:00
Jean-Marie Renouard
96fbedff72 Adding stop after dumping option 2023-04-25 23:05:47 +02:00
Jean-Marie Renouard
3bb8f5a789
Merge pull request #654 from jmrenouard/master
Innodb_log_writes = 0
2023-04-25 13:54:38 +02:00
Jean-Marie Renouard
e810886f44
Merge pull request #1 from major/master
Innodb_log_writes = 0  wrong display
2023-04-25 13:52:35 +02:00
Jean-Marie Renouard
fbbdb42390 Removing result files from repo 2023-04-25 13:37:45 +02:00
Jean-Marie Renouard
287c4d1e69
Merge pull request #653 from jyyo0n/patch-1
Update mysqltuner.pl
2023-04-14 11:05:12 +02:00
jyyo0n
8f2e1b36f5
Update mysqltuner.pl
Innodb Log Writes may be zero right after DB startup. 
In order to prevent division by zero error in line 6175, it is necessary to check whether it is greater than 0.
$mystat{'Innodb_log_writes'} > 0.000001
2023-04-14 16:44:50 +09:00
Jean-Marie Renouard
29ad424da2 Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-04-13 00:56:51 +02:00
Jean-Marie Renouard
8e6b61ed10 Rearrange UNIX rights 2023-04-12 22:06:34 +02:00
Jean-Marie Renouard
2590ef6307 Reintroduce github workflow 2023-04-12 21:12:29 +02:00
Jean-Marie Renouard
af67fe8100
Merge branch 'major:master' into master 2023-04-12 20:54:58 +02:00
Jean-Marie Renouard
3164f3a727 last updates 2023-04-12 20:45:03 +02:00
Jean-Marie Renouard
ac387f4665
Merge pull request #652 from longradix/master
Typos and legibility, mark 7
2023-03-30 00:32:50 +02:00
Long Radix
5560381f7d
Update mysqltuner.pl 2023-03-29 12:33:47 +02:00
Long Radix
1ccba5e556
Update mysqltuner.pl
Syntax
2023-03-28 19:44:04 +02:00
Long Radix
16237f7778
Update mysqltuner.pl
Remove duplicate code comment
2023-03-28 19:30:26 +02:00
Jean-Marie Renouard
cfeec1ec61 feat: send examples into examples branch 2023-03-28 13:13:23 +00:00
Long Radix
a3e4969538
Update mysqltuner.pl 2023-03-27 18:33:49 +02:00
Long Radix
ca04d7bce1
Typos and legibility, mark 7 2023-03-27 18:12:52 +02:00
Jean-Marie Renouard
0c07da0bff
Merge pull request #642 from jmrenouard/examples-mysql-8-2023-03-23T16-39-44Z
Examples mysql 8 2023 03 23 t16 39 44 z
2023-03-23 17:52:26 +01:00
Jean-Marie Renouard
396940f87c
Merge pull request #643 from jmrenouard/examples-mariadb-10.6-2023-03-23T16-39-42Z
Examples mariadb 10.6 2023 03 23 t16 39 42 z
2023-03-23 17:52:09 +01:00
Jean-Marie Renouard
976936f4c3
Merge pull request #644 from jmrenouard/examples-mysql-5.7-2023-03-23T16-39-41Z
Examples mysql 5.7 2023 03 23 t16 39 41 z
2023-03-23 17:51:51 +01:00
Jean-Marie Renouard
b229cb0fe7
Merge pull request #645 from jmrenouard/examples-mariadb-10.3-2023-03-23T16-39-37Z
Examples mariadb 10.3 2023 03 23 t16 39 37 z
2023-03-23 17:51:39 +01:00
Jean-Marie Renouard
dad4dbf56a
Merge pull request #646 from jmrenouard/examples-mariadb-10.9-2023-03-23T16-39-28Z
Examples mariadb 10.9 2023 03 23 t16 39 28 z
2023-03-23 17:51:28 +01:00
Jean-Marie Renouard
a71e017d04
Merge pull request #641 from jmrenouard/examples-mariadb-10.4-2023-03-23T16-39-50Z
Examples mariadb 10.4 2023 03 23 t16 39 50 z
2023-03-23 17:51:12 +01:00
Jean-Marie Renouard
a6b6d072f2
Merge pull request #640 from jmrenouard/examples-mariadb-10.7-2023-03-23T16-39-54Z
Examples mariadb 10.7 2023 03 23 t16 39 54 z
2023-03-23 17:50:52 +01:00
Jean-Marie Renouard
9dafbb86f6
Merge pull request #647 from jmrenouard/examples-mysql-5.6-2023-03-23T16-39-25Z
Examples mysql 5.6 2023 03 23 t16 39 25 z
2023-03-23 17:50:34 +01:00
Jean-Marie Renouard
bc3cf200e9
Merge pull request #648 from jmrenouard/examples-mariadb-10.2-2023-03-23T16-39-25Z
Examples mariadb 10.2 2023 03 23 t16 39 25 z
2023-03-23 17:50:16 +01:00
Jean-Marie Renouard
ceadb90279
Merge pull request #649 from jmrenouard/examples-mariadb-10.8-2023-03-23T16-39-24Z
Examples mariadb 10.8 2023 03 23 t16 39 24 z
2023-03-23 17:50:02 +01:00
Jean-Marie Renouard
19099d91b6
Merge pull request #650 from jmrenouard/examples-mariadb-10.5-2023-03-23T16-39-23Z
Examples mariadb 10.5 2023 03 23 t16 39 23 z
2023-03-23 17:49:45 +01:00
Jean-Marie Renouard
5250031d97
Merge pull request #639 from jmrenouard/master
A lot of github actions
2023-03-23 17:47:22 +01:00
jmrenouard
4226d747ab [AUTO]Updates MariaDb result examples (via Actions)
Files changed:
A	examples/github/result/mariadb/10.7/ifs_ALL_PLUGINS.csv
A	examples/github/result/mariadb/10.7/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mariadb/10.7/ifs_CHARACTER_SETS.csv
A	examples/github/result/mariadb/10.7/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.7/ifs_CLIENT_STATISTICS.csv
A	examples/github/result/mariadb/10.7/ifs_COLLATIONS.csv
A	examples/github/result/mariadb/10.7/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mariadb/10.7/ifs_COLUMNS.csv
A	examples/github/result/mariadb/10.7/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mariadb/10.7/ifs_ENABLED_ROLES.csv
A	examples/github/result/mariadb/10.7/ifs_ENGINES.csv
A	examples/github/result/mariadb/10.7/ifs_EVENTS.csv
A	examples/github/result/mariadb/10.7/ifs_FILES.csv
A	examples/github/result/mariadb/10.7/ifs_GEOMETRY_COLUMNS.csv
A	examples/github/result/mariadb/10.7/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mariadb/10.7/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mariadb/10.7/ifs_INDEX_STATISTICS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_CMP.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_LOCKS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_METRICS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_TABLESPACES_ENCRYPTION.csv
A	examples/github/result/mariadb/10.7/ifs_INNODB_TRX.csv
A	examples/github/result/mariadb/10.7/ifs_KEYWORDS.csv
A	examples/github/result/mariadb/10.7/ifs_KEY_CACHES.csv
A	examples/github/result/mariadb/10.7/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mariadb/10.7/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mariadb/10.7/ifs_PARAMETERS.csv
A	examples/github/result/mariadb/10.7/ifs_PARTITIONS.csv
A	examples/github/result/mariadb/10.7/ifs_PLUGINS.csv
A	examples/github/result/mariadb/10.7/ifs_PROCESSLIST.csv
A	examples/github/result/mariadb/10.7/ifs_PROFILING.csv
A	examples/github/result/mariadb/10.7/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.7/ifs_ROUTINES.csv
A	examples/github/result/mariadb/10.7/ifs_SCHEMATA.csv
A	examples/github/result/mariadb/10.7/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mariadb/10.7/ifs_SESSION_STATUS.csv
A	examples/github/result/mariadb/10.7/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mariadb/10.7/ifs_SPATIAL_REF_SYS.csv
A	examples/github/result/mariadb/10.7/ifs_SQL_FUNCTIONS.csv
A	examples/github/result/mariadb/10.7/ifs_STATISTICS.csv
A	examples/github/result/mariadb/10.7/ifs_SYSTEM_VARIABLES.csv
A	examples/github/result/mariadb/10.7/ifs_TABLES.csv
A	examples/github/result/mariadb/10.7/ifs_TABLESPACES.csv
A	examples/github/result/mariadb/10.7/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.7/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mariadb/10.7/ifs_TABLE_STATISTICS.csv
A	examples/github/result/mariadb/10.7/ifs_THREAD_POOL_GROUPS.csv
A	examples/github/result/mariadb/10.7/ifs_THREAD_POOL_QUEUES.csv
A	examples/github/result/mariadb/10.7/ifs_THREAD_POOL_STATS.csv
A	examples/github/result/mariadb/10.7/ifs_THREAD_POOL_WAITS.csv
A	examples/github/result/mariadb/10.7/ifs_TRIGGERS.csv
A	examples/github/result/mariadb/10.7/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mariadb/10.7/ifs_USER_STATISTICS.csv
A	examples/github/result/mariadb/10.7/ifs_VIEWS.csv
A	examples/github/result/mariadb/10.7/ifs_user_variables.csv
A	examples/github/result/mariadb/10.7/result.json
A	examples/github/result/mariadb/10.7/result.txt
2023-03-23 16:39:54 +00:00
jmrenouard
38b5338505 [AUTO]Updates MariaDb result examples (via Actions)
Files changed:
A	examples/github/result/mariadb/10.4/ifs_ALL_PLUGINS.csv
A	examples/github/result/mariadb/10.4/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mariadb/10.4/ifs_CHARACTER_SETS.csv
A	examples/github/result/mariadb/10.4/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.4/ifs_CLIENT_STATISTICS.csv
A	examples/github/result/mariadb/10.4/ifs_COLLATIONS.csv
A	examples/github/result/mariadb/10.4/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mariadb/10.4/ifs_COLUMNS.csv
A	examples/github/result/mariadb/10.4/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mariadb/10.4/ifs_ENABLED_ROLES.csv
A	examples/github/result/mariadb/10.4/ifs_ENGINES.csv
A	examples/github/result/mariadb/10.4/ifs_EVENTS.csv
A	examples/github/result/mariadb/10.4/ifs_FILES.csv
A	examples/github/result/mariadb/10.4/ifs_GEOMETRY_COLUMNS.csv
A	examples/github/result/mariadb/10.4/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mariadb/10.4/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mariadb/10.4/ifs_INDEX_STATISTICS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_CMP.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_LOCKS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_METRICS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_MUTEXES.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_DATAFILES.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_SEMAPHORE_WAITS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_TABLESPACES_ENCRYPTION.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_TABLESPACES_SCRUBBING.csv
A	examples/github/result/mariadb/10.4/ifs_INNODB_TRX.csv
A	examples/github/result/mariadb/10.4/ifs_KEYWORDS.csv
A	examples/github/result/mariadb/10.4/ifs_KEY_CACHES.csv
A	examples/github/result/mariadb/10.4/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mariadb/10.4/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mariadb/10.4/ifs_PARAMETERS.csv
A	examples/github/result/mariadb/10.4/ifs_PARTITIONS.csv
A	examples/github/result/mariadb/10.4/ifs_PLUGINS.csv
A	examples/github/result/mariadb/10.4/ifs_PROCESSLIST.csv
A	examples/github/result/mariadb/10.4/ifs_PROFILING.csv
A	examples/github/result/mariadb/10.4/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.4/ifs_ROUTINES.csv
A	examples/github/result/mariadb/10.4/ifs_SCHEMATA.csv
A	examples/github/result/mariadb/10.4/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mariadb/10.4/ifs_SESSION_STATUS.csv
A	examples/github/result/mariadb/10.4/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mariadb/10.4/ifs_SPATIAL_REF_SYS.csv
A	examples/github/result/mariadb/10.4/ifs_SQL_FUNCTIONS.csv
A	examples/github/result/mariadb/10.4/ifs_STATISTICS.csv
A	examples/github/result/mariadb/10.4/ifs_SYSTEM_VARIABLES.csv
A	examples/github/result/mariadb/10.4/ifs_TABLES.csv
A	examples/github/result/mariadb/10.4/ifs_TABLESPACES.csv
A	examples/github/result/mariadb/10.4/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.4/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mariadb/10.4/ifs_TABLE_STATISTICS.csv
A	examples/github/result/mariadb/10.4/ifs_TRIGGERS.csv
A	examples/github/result/mariadb/10.4/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mariadb/10.4/ifs_USER_STATISTICS.csv
A	examples/github/result/mariadb/10.4/ifs_VIEWS.csv
A	examples/github/result/mariadb/10.4/ifs_user_variables.csv
A	examples/github/result/mariadb/10.4/result.json
A	examples/github/result/mariadb/10.4/result.txt
2023-03-23 16:39:50 +00:00
jmrenouard
7a5e86dd04 [AUTO]Updates MySQL result examples (via Actions)
Files changed:
A	examples/github/result/mysql/8/ifs_ADMINISTRABLE_ROLE_AUTHORIZATIONS.csv
A	examples/github/result/mysql/8/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mysql/8/ifs_CHARACTER_SETS.csv
A	examples/github/result/mysql/8/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mysql/8/ifs_COLLATIONS.csv
A	examples/github/result/mysql/8/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mysql/8/ifs_COLUMNS.csv
A	examples/github/result/mysql/8/ifs_COLUMNS_EXTENSIONS.csv
A	examples/github/result/mysql/8/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mysql/8/ifs_COLUMN_STATISTICS.csv
A	examples/github/result/mysql/8/ifs_ENABLED_ROLES.csv
A	examples/github/result/mysql/8/ifs_ENGINES.csv
A	examples/github/result/mysql/8/ifs_EVENTS.csv
A	examples/github/result/mysql/8/ifs_FILES.csv
A	examples/github/result/mysql/8/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mysql/8/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mysql/8/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mysql/8/ifs_INNODB_CACHED_INDEXES.csv
A	examples/github/result/mysql/8/ifs_INNODB_CMP.csv
A	examples/github/result/mysql/8/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mysql/8/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mysql/8/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mysql/8/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mysql/8/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mysql/8/ifs_INNODB_COLUMNS.csv
A	examples/github/result/mysql/8/ifs_INNODB_DATAFILES.csv
A	examples/github/result/mysql/8/ifs_INNODB_FIELDS.csv
A	examples/github/result/mysql/8/ifs_INNODB_FOREIGN.csv
A	examples/github/result/mysql/8/ifs_INNODB_FOREIGN_COLS.csv
A	examples/github/result/mysql/8/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mysql/8/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mysql/8/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mysql/8/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mysql/8/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mysql/8/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mysql/8/ifs_INNODB_INDEXES.csv
A	examples/github/result/mysql/8/ifs_INNODB_METRICS.csv
A	examples/github/result/mysql/8/ifs_INNODB_SESSION_TEMP_TABLESPACES.csv
A	examples/github/result/mysql/8/ifs_INNODB_TABLES.csv
A	examples/github/result/mysql/8/ifs_INNODB_TABLESPACES.csv
A	examples/github/result/mysql/8/ifs_INNODB_TABLESPACES_BRIEF.csv
A	examples/github/result/mysql/8/ifs_INNODB_TABLESTATS.csv
A	examples/github/result/mysql/8/ifs_INNODB_TEMP_TABLE_INFO.csv
A	examples/github/result/mysql/8/ifs_INNODB_TRX.csv
A	examples/github/result/mysql/8/ifs_INNODB_VIRTUAL.csv
A	examples/github/result/mysql/8/ifs_KEYWORDS.csv
A	examples/github/result/mysql/8/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mysql/8/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mysql/8/ifs_PARAMETERS.csv
A	examples/github/result/mysql/8/ifs_PARTITIONS.csv
A	examples/github/result/mysql/8/ifs_PLUGINS.csv
A	examples/github/result/mysql/8/ifs_PROCESSLIST.csv
A	examples/github/result/mysql/8/ifs_PROFILING.csv
A	examples/github/result/mysql/8/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mysql/8/ifs_RESOURCE_GROUPS.csv
A	examples/github/result/mysql/8/ifs_ROLE_COLUMN_GRANTS.csv
A	examples/github/result/mysql/8/ifs_ROLE_ROUTINE_GRANTS.csv
A	examples/github/result/mysql/8/ifs_ROLE_TABLE_GRANTS.csv
A	examples/github/result/mysql/8/ifs_ROUTINES.csv
A	examples/github/result/mysql/8/ifs_SCHEMATA.csv
A	examples/github/result/mysql/8/ifs_SCHEMATA_EXTENSIONS.csv
A	examples/github/result/mysql/8/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mysql/8/ifs_STATISTICS.csv
A	examples/github/result/mysql/8/ifs_ST_GEOMETRY_COLUMNS.csv
A	examples/github/result/mysql/8/ifs_ST_SPATIAL_REFERENCE_SYSTEMS.csv
A	examples/github/result/mysql/8/ifs_ST_UNITS_OF_MEASURE.csv
A	examples/github/result/mysql/8/ifs_TABLES.csv
A	examples/github/result/mysql/8/ifs_TABLESPACES.csv
A	examples/github/result/mysql/8/ifs_TABLESPACES_EXTENSIONS.csv
A	examples/github/result/mysql/8/ifs_TABLES_EXTENSIONS.csv
A	examples/github/result/mysql/8/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mysql/8/ifs_TABLE_CONSTRAINTS_EXTENSIONS.csv
A	examples/github/result/mysql/8/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mysql/8/ifs_TRIGGERS.csv
A	examples/github/result/mysql/8/ifs_USER_ATTRIBUTES.csv
A	examples/github/result/mysql/8/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mysql/8/ifs_VIEWS.csv
A	examples/github/result/mysql/8/ifs_VIEW_ROUTINE_USAGE.csv
A	examples/github/result/mysql/8/ifs_VIEW_TABLE_USAGE.csv
A	examples/github/result/mysql/8/pfs_host_summary.csv
A	examples/github/result/mysql/8/pfs_host_summary_by_file_io.csv
A	examples/github/result/mysql/8/pfs_host_summary_by_file_io_type.csv
A	examples/github/result/mysql/8/pfs_host_summary_by_stages.csv
A	examples/github/result/mysql/8/pfs_host_summary_by_statement_latency.csv
A	examples/github/result/mysql/8/pfs_host_summary_by_statement_type.csv
A	examples/github/result/mysql/8/pfs_innodb_buffer_stats_by_schema.csv
A	examples/github/result/mysql/8/pfs_innodb_buffer_stats_by_table.csv
A	examples/github/result/mysql/8/pfs_innodb_lock_waits.csv
A	examples/github/result/mysql/8/pfs_io_by_thread_by_latency.csv
A	examples/github/result/mysql/8/pfs_io_global_by_file_by_bytes.csv
A	examples/github/result/mysql/8/pfs_io_global_by_file_by_latency.csv
A	examples/github/result/mysql/8/pfs_io_global_by_wait_by_bytes.csv
A	examples/github/result/mysql/8/pfs_io_global_by_wait_by_latency.csv
A	examples/github/result/mysql/8/pfs_latest_file_io.csv
A	examples/github/result/mysql/8/pfs_memory_by_host_by_current_bytes.csv
A	examples/github/result/mysql/8/pfs_memory_by_thread_by_current_bytes.csv
A	examples/github/result/mysql/8/pfs_memory_by_user_by_current_bytes.csv
A	examples/github/result/mysql/8/pfs_memory_global_by_current_bytes.csv
A	examples/github/result/mysql/8/pfs_memory_global_total.csv
A	examples/github/result/mysql/8/pfs_metrics.csv
A	examples/github/result/mysql/8/pfs_processlist.csv
A	examples/github/result/mysql/8/pfs_ps_check_lost_instrumentation.csv
A	examples/github/result/mysql/8/pfs_schema_auto_increment_columns.csv
A	examples/github/result/mysql/8/pfs_schema_index_statistics.csv
A	examples/github/result/mysql/8/pfs_schema_object_overview.csv
A	examples/github/result/mysql/8/pfs_schema_redundant_indexes.csv
A	examples/github/result/mysql/8/pfs_schema_table_lock_waits.csv
A	examples/github/result/mysql/8/pfs_schema_table_statistics.csv
A	examples/github/result/mysql/8/pfs_schema_table_statistics_with_buffer.csv
A	examples/github/result/mysql/8/pfs_schema_tables_with_full_table_scans.csv
A	examples/github/result/mysql/8/pfs_schema_unused_indexes.csv
A	examples/github/result/mysql/8/pfs_session.csv
A	examples/github/result/mysql/8/pfs_session_ssl_status.csv
A	examples/github/result/mysql/8/pfs_statement_analysis.csv
A	examples/github/result/mysql/8/pfs_statements_with_errors_or_warnings.csv
A	examples/github/result/mysql/8/pfs_statements_with_full_table_scans.csv
A	examples/github/result/mysql/8/pfs_statements_with_runtimes_in_95th_percentile.csv
A	examples/github/result/mysql/8/pfs_statements_with_sorting.csv
A	examples/github/result/mysql/8/pfs_statements_with_temp_tables.csv
A	examples/github/result/mysql/8/pfs_sys_config.csv
A	examples/github/result/mysql/8/pfs_user_summary.csv
A	examples/github/result/mysql/8/pfs_user_summary_by_file_io.csv
A	examples/github/result/mysql/8/pfs_user_summary_by_file_io_type.csv
A	examples/github/result/mysql/8/pfs_user_summary_by_stages.csv
A	examples/github/result/mysql/8/pfs_user_summary_by_statement_latency.csv
A	examples/github/result/mysql/8/pfs_user_summary_by_statement_type.csv
A	examples/github/result/mysql/8/pfs_version.csv
A	examples/github/result/mysql/8/pfs_wait_classes_global_by_avg_latency.csv
A	examples/github/result/mysql/8/pfs_wait_classes_global_by_latency.csv
A	examples/github/result/mysql/8/pfs_waits_by_host_by_latency.csv
A	examples/github/result/mysql/8/pfs_waits_by_user_by_latency.csv
A	examples/github/result/mysql/8/pfs_waits_global_by_latency.csv
A	examples/github/result/mysql/8/pfs_x$host_summary.csv
A	examples/github/result/mysql/8/pfs_x$host_summary_by_file_io.csv
A	examples/github/result/mysql/8/pfs_x$host_summary_by_file_io_type.csv
A	examples/github/result/mysql/8/pfs_x$host_summary_by_stages.csv
A	examples/github/result/mysql/8/pfs_x$host_summary_by_statement_latency.csv
A	examples/github/result/mysql/8/pfs_x$host_summary_by_statement_type.csv
A	examples/github/result/mysql/8/pfs_x$innodb_buffer_stats_by_schema.csv
A	examples/github/result/mysql/8/pfs_x$innodb_buffer_stats_by_table.csv
A	examples/github/result/mysql/8/pfs_x$innodb_lock_waits.csv
A	examples/github/result/mysql/8/pfs_x$io_by_thread_by_latency.csv
A	examples/github/result/mysql/8/pfs_x$io_global_by_file_by_bytes.csv
A	examples/github/result/mysql/8/pfs_x$io_global_by_file_by_latency.csv
A	examples/github/result/mysql/8/pfs_x$io_global_by_wait_by_bytes.csv
A	examples/github/result/mysql/8/pfs_x$io_global_by_wait_by_latency.csv
A	examples/github/result/mysql/8/pfs_x$latest_file_io.csv
A	examples/github/result/mysql/8/pfs_x$memory_by_host_by_current_bytes.csv
A	examples/github/result/mysql/8/pfs_x$memory_by_thread_by_current_bytes.csv
A	examples/github/result/mysql/8/pfs_x$memory_by_user_by_current_bytes.csv
A	examples/github/result/mysql/8/pfs_x$memory_global_by_current_bytes.csv
A	examples/github/result/mysql/8/pfs_x$memory_global_total.csv
A	examples/github/result/mysql/8/pfs_x$processlist.csv
A	examples/github/result/mysql/8/pfs_x$ps_digest_95th_percentile_by_avg_us.csv
A	examples/github/result/mysql/8/pfs_x$ps_digest_avg_latency_distribution.csv
A	examples/github/result/mysql/8/pfs_x$ps_schema_table_statistics_io.csv
A	examples/github/result/mysql/8/pfs_x$schema_flattened_keys.csv
A	examples/github/result/mysql/8/pfs_x$schema_index_statistics.csv
A	examples/github/result/mysql/8/pfs_x$schema_table_lock_waits.csv
A	examples/github/result/mysql/8/pfs_x$schema_table_statistics.csv
A	examples/github/result/mysql/8/pfs_x$schema_table_statistics_with_buffer.csv
A	examples/github/result/mysql/8/pfs_x$schema_tables_with_full_table_scans.csv
A	examples/github/result/mysql/8/pfs_x$session.csv
A	examples/github/result/mysql/8/pfs_x$statement_analysis.csv
A	examples/github/result/mysql/8/pfs_x$statements_with_errors_or_warnings.csv
A	examples/github/result/mysql/8/pfs_x$statements_with_full_table_scans.csv
A	examples/github/result/mysql/8/pfs_x$statements_with_runtimes_in_95th_percentile.csv
A	examples/github/result/mysql/8/pfs_x$statements_with_sorting.csv
A	examples/github/result/mysql/8/pfs_x$statements_with_temp_tables.csv
A	examples/github/result/mysql/8/pfs_x$user_summary.csv
A	examples/github/result/mysql/8/pfs_x$user_summary_by_file_io.csv
A	examples/github/result/mysql/8/pfs_x$user_summary_by_file_io_type.csv
A	examples/github/result/mysql/8/pfs_x$user_summary_by_stages.csv
A	examples/github/result/mysql/8/pfs_x$user_summary_by_statement_latency.csv
A	examples/github/result/mysql/8/pfs_x$user_summary_by_statement_type.csv
A	examples/github/result/mysql/8/pfs_x$wait_classes_global_by_avg_latency.csv
A	examples/github/result/mysql/8/pfs_x$wait_classes_global_by_latency.csv
A	examples/github/result/mysql/8/pfs_x$waits_by_host_by_latency.csv
A	examples/github/result/mysql/8/pfs_x$waits_by_user_by_latency.csv
A	examples/github/result/mysql/8/pfs_x$waits_global_by_latency.csv
A	examples/github/result/mysql/8/result.json
A	examples/github/result/mysql/8/result.txt
2023-03-23 16:39:44 +00:00
jmrenouard
3b9dde81ad [AUTO]Updates MariaDb result examples (via Actions)
Files changed:
A	examples/github/result/mariadb/10.6/ifs_ALL_PLUGINS.csv
A	examples/github/result/mariadb/10.6/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mariadb/10.6/ifs_CHARACTER_SETS.csv
A	examples/github/result/mariadb/10.6/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.6/ifs_CLIENT_STATISTICS.csv
A	examples/github/result/mariadb/10.6/ifs_COLLATIONS.csv
A	examples/github/result/mariadb/10.6/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mariadb/10.6/ifs_COLUMNS.csv
A	examples/github/result/mariadb/10.6/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mariadb/10.6/ifs_ENABLED_ROLES.csv
A	examples/github/result/mariadb/10.6/ifs_ENGINES.csv
A	examples/github/result/mariadb/10.6/ifs_EVENTS.csv
A	examples/github/result/mariadb/10.6/ifs_FILES.csv
A	examples/github/result/mariadb/10.6/ifs_GEOMETRY_COLUMNS.csv
A	examples/github/result/mariadb/10.6/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mariadb/10.6/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mariadb/10.6/ifs_INDEX_STATISTICS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_CMP.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_LOCKS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_METRICS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_TABLESPACES_ENCRYPTION.csv
A	examples/github/result/mariadb/10.6/ifs_INNODB_TRX.csv
A	examples/github/result/mariadb/10.6/ifs_KEYWORDS.csv
A	examples/github/result/mariadb/10.6/ifs_KEY_CACHES.csv
A	examples/github/result/mariadb/10.6/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mariadb/10.6/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mariadb/10.6/ifs_PARAMETERS.csv
A	examples/github/result/mariadb/10.6/ifs_PARTITIONS.csv
A	examples/github/result/mariadb/10.6/ifs_PLUGINS.csv
A	examples/github/result/mariadb/10.6/ifs_PROCESSLIST.csv
A	examples/github/result/mariadb/10.6/ifs_PROFILING.csv
A	examples/github/result/mariadb/10.6/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.6/ifs_ROUTINES.csv
A	examples/github/result/mariadb/10.6/ifs_SCHEMATA.csv
A	examples/github/result/mariadb/10.6/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mariadb/10.6/ifs_SESSION_STATUS.csv
A	examples/github/result/mariadb/10.6/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mariadb/10.6/ifs_SPATIAL_REF_SYS.csv
A	examples/github/result/mariadb/10.6/ifs_SQL_FUNCTIONS.csv
A	examples/github/result/mariadb/10.6/ifs_STATISTICS.csv
A	examples/github/result/mariadb/10.6/ifs_SYSTEM_VARIABLES.csv
A	examples/github/result/mariadb/10.6/ifs_TABLES.csv
A	examples/github/result/mariadb/10.6/ifs_TABLESPACES.csv
A	examples/github/result/mariadb/10.6/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.6/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mariadb/10.6/ifs_TABLE_STATISTICS.csv
A	examples/github/result/mariadb/10.6/ifs_THREAD_POOL_GROUPS.csv
A	examples/github/result/mariadb/10.6/ifs_THREAD_POOL_QUEUES.csv
A	examples/github/result/mariadb/10.6/ifs_THREAD_POOL_STATS.csv
A	examples/github/result/mariadb/10.6/ifs_THREAD_POOL_WAITS.csv
A	examples/github/result/mariadb/10.6/ifs_TRIGGERS.csv
A	examples/github/result/mariadb/10.6/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mariadb/10.6/ifs_USER_STATISTICS.csv
A	examples/github/result/mariadb/10.6/ifs_VIEWS.csv
A	examples/github/result/mariadb/10.6/ifs_user_variables.csv
A	examples/github/result/mariadb/10.6/result.json
A	examples/github/result/mariadb/10.6/result.txt
2023-03-23 16:39:42 +00:00
jmrenouard
b2480d3556 [AUTO]Updates MySQL result examples (via Actions)
Files changed:
A	examples/github/result/mysql/5.7/ifs_CHARACTER_SETS.csv
A	examples/github/result/mysql/5.7/ifs_COLLATIONS.csv
A	examples/github/result/mysql/5.7/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mysql/5.7/ifs_COLUMNS.csv
A	examples/github/result/mysql/5.7/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mysql/5.7/ifs_ENGINES.csv
A	examples/github/result/mysql/5.7/ifs_EVENTS.csv
A	examples/github/result/mysql/5.7/ifs_FILES.csv
A	examples/github/result/mysql/5.7/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mysql/5.7/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_CMP.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_LOCKS.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_METRICS.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_DATAFILES.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_TEMP_TABLE_INFO.csv
A	examples/github/result/mysql/5.7/ifs_INNODB_TRX.csv
A	examples/github/result/mysql/5.7/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mysql/5.7/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mysql/5.7/ifs_PARAMETERS.csv
A	examples/github/result/mysql/5.7/ifs_PARTITIONS.csv
A	examples/github/result/mysql/5.7/ifs_PLUGINS.csv
A	examples/github/result/mysql/5.7/ifs_PROCESSLIST.csv
A	examples/github/result/mysql/5.7/ifs_PROFILING.csv
A	examples/github/result/mysql/5.7/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mysql/5.7/ifs_ROUTINES.csv
A	examples/github/result/mysql/5.7/ifs_SCHEMATA.csv
A	examples/github/result/mysql/5.7/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mysql/5.7/ifs_SESSION_STATUS.csv
A	examples/github/result/mysql/5.7/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mysql/5.7/ifs_STATISTICS.csv
A	examples/github/result/mysql/5.7/ifs_TABLES.csv
A	examples/github/result/mysql/5.7/ifs_TABLESPACES.csv
A	examples/github/result/mysql/5.7/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mysql/5.7/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mysql/5.7/ifs_TRIGGERS.csv
A	examples/github/result/mysql/5.7/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mysql/5.7/ifs_VIEWS.csv
A	examples/github/result/mysql/5.7/pfs_host_summary.csv
A	examples/github/result/mysql/5.7/pfs_host_summary_by_file_io.csv
A	examples/github/result/mysql/5.7/pfs_host_summary_by_file_io_type.csv
A	examples/github/result/mysql/5.7/pfs_host_summary_by_stages.csv
A	examples/github/result/mysql/5.7/pfs_host_summary_by_statement_latency.csv
A	examples/github/result/mysql/5.7/pfs_host_summary_by_statement_type.csv
A	examples/github/result/mysql/5.7/pfs_innodb_buffer_stats_by_schema.csv
A	examples/github/result/mysql/5.7/pfs_innodb_buffer_stats_by_table.csv
A	examples/github/result/mysql/5.7/pfs_innodb_lock_waits.csv
A	examples/github/result/mysql/5.7/pfs_io_by_thread_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_io_global_by_file_by_bytes.csv
A	examples/github/result/mysql/5.7/pfs_io_global_by_file_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_io_global_by_wait_by_bytes.csv
A	examples/github/result/mysql/5.7/pfs_io_global_by_wait_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_latest_file_io.csv
A	examples/github/result/mysql/5.7/pfs_memory_by_host_by_current_bytes.csv
A	examples/github/result/mysql/5.7/pfs_memory_by_thread_by_current_bytes.csv
A	examples/github/result/mysql/5.7/pfs_memory_by_user_by_current_bytes.csv
A	examples/github/result/mysql/5.7/pfs_memory_global_by_current_bytes.csv
A	examples/github/result/mysql/5.7/pfs_memory_global_total.csv
A	examples/github/result/mysql/5.7/pfs_metrics.csv
A	examples/github/result/mysql/5.7/pfs_processlist.csv
A	examples/github/result/mysql/5.7/pfs_ps_check_lost_instrumentation.csv
A	examples/github/result/mysql/5.7/pfs_schema_auto_increment_columns.csv
A	examples/github/result/mysql/5.7/pfs_schema_index_statistics.csv
A	examples/github/result/mysql/5.7/pfs_schema_object_overview.csv
A	examples/github/result/mysql/5.7/pfs_schema_redundant_indexes.csv
A	examples/github/result/mysql/5.7/pfs_schema_table_lock_waits.csv
A	examples/github/result/mysql/5.7/pfs_schema_table_statistics.csv
A	examples/github/result/mysql/5.7/pfs_schema_table_statistics_with_buffer.csv
A	examples/github/result/mysql/5.7/pfs_schema_tables_with_full_table_scans.csv
A	examples/github/result/mysql/5.7/pfs_schema_unused_indexes.csv
A	examples/github/result/mysql/5.7/pfs_session.csv
A	examples/github/result/mysql/5.7/pfs_session_ssl_status.csv
A	examples/github/result/mysql/5.7/pfs_statement_analysis.csv
A	examples/github/result/mysql/5.7/pfs_statements_with_errors_or_warnings.csv
A	examples/github/result/mysql/5.7/pfs_statements_with_full_table_scans.csv
A	examples/github/result/mysql/5.7/pfs_statements_with_runtimes_in_95th_percentile.csv
A	examples/github/result/mysql/5.7/pfs_statements_with_sorting.csv
A	examples/github/result/mysql/5.7/pfs_statements_with_temp_tables.csv
A	examples/github/result/mysql/5.7/pfs_sys_config.csv
A	examples/github/result/mysql/5.7/pfs_user_summary.csv
A	examples/github/result/mysql/5.7/pfs_user_summary_by_file_io.csv
A	examples/github/result/mysql/5.7/pfs_user_summary_by_file_io_type.csv
A	examples/github/result/mysql/5.7/pfs_user_summary_by_stages.csv
A	examples/github/result/mysql/5.7/pfs_user_summary_by_statement_latency.csv
A	examples/github/result/mysql/5.7/pfs_user_summary_by_statement_type.csv
A	examples/github/result/mysql/5.7/pfs_version.csv
A	examples/github/result/mysql/5.7/pfs_wait_classes_global_by_avg_latency.csv
A	examples/github/result/mysql/5.7/pfs_wait_classes_global_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_waits_by_host_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_waits_by_user_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_waits_global_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$host_summary.csv
A	examples/github/result/mysql/5.7/pfs_x$host_summary_by_file_io.csv
A	examples/github/result/mysql/5.7/pfs_x$host_summary_by_file_io_type.csv
A	examples/github/result/mysql/5.7/pfs_x$host_summary_by_stages.csv
A	examples/github/result/mysql/5.7/pfs_x$host_summary_by_statement_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$host_summary_by_statement_type.csv
A	examples/github/result/mysql/5.7/pfs_x$innodb_buffer_stats_by_schema.csv
A	examples/github/result/mysql/5.7/pfs_x$innodb_buffer_stats_by_table.csv
A	examples/github/result/mysql/5.7/pfs_x$innodb_lock_waits.csv
A	examples/github/result/mysql/5.7/pfs_x$io_by_thread_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$io_global_by_file_by_bytes.csv
A	examples/github/result/mysql/5.7/pfs_x$io_global_by_file_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$io_global_by_wait_by_bytes.csv
A	examples/github/result/mysql/5.7/pfs_x$io_global_by_wait_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$latest_file_io.csv
A	examples/github/result/mysql/5.7/pfs_x$memory_by_host_by_current_bytes.csv
A	examples/github/result/mysql/5.7/pfs_x$memory_by_thread_by_current_bytes.csv
A	examples/github/result/mysql/5.7/pfs_x$memory_by_user_by_current_bytes.csv
A	examples/github/result/mysql/5.7/pfs_x$memory_global_by_current_bytes.csv
A	examples/github/result/mysql/5.7/pfs_x$memory_global_total.csv
A	examples/github/result/mysql/5.7/pfs_x$processlist.csv
A	examples/github/result/mysql/5.7/pfs_x$ps_digest_95th_percentile_by_avg_us.csv
A	examples/github/result/mysql/5.7/pfs_x$ps_digest_avg_latency_distribution.csv
A	examples/github/result/mysql/5.7/pfs_x$ps_schema_table_statistics_io.csv
A	examples/github/result/mysql/5.7/pfs_x$schema_flattened_keys.csv
A	examples/github/result/mysql/5.7/pfs_x$schema_index_statistics.csv
A	examples/github/result/mysql/5.7/pfs_x$schema_table_lock_waits.csv
A	examples/github/result/mysql/5.7/pfs_x$schema_table_statistics.csv
A	examples/github/result/mysql/5.7/pfs_x$schema_table_statistics_with_buffer.csv
A	examples/github/result/mysql/5.7/pfs_x$schema_tables_with_full_table_scans.csv
A	examples/github/result/mysql/5.7/pfs_x$session.csv
A	examples/github/result/mysql/5.7/pfs_x$statement_analysis.csv
A	examples/github/result/mysql/5.7/pfs_x$statements_with_errors_or_warnings.csv
A	examples/github/result/mysql/5.7/pfs_x$statements_with_full_table_scans.csv
A	examples/github/result/mysql/5.7/pfs_x$statements_with_runtimes_in_95th_percentile.csv
A	examples/github/result/mysql/5.7/pfs_x$statements_with_sorting.csv
A	examples/github/result/mysql/5.7/pfs_x$statements_with_temp_tables.csv
A	examples/github/result/mysql/5.7/pfs_x$user_summary.csv
A	examples/github/result/mysql/5.7/pfs_x$user_summary_by_file_io.csv
A	examples/github/result/mysql/5.7/pfs_x$user_summary_by_file_io_type.csv
A	examples/github/result/mysql/5.7/pfs_x$user_summary_by_stages.csv
A	examples/github/result/mysql/5.7/pfs_x$user_summary_by_statement_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$user_summary_by_statement_type.csv
A	examples/github/result/mysql/5.7/pfs_x$wait_classes_global_by_avg_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$wait_classes_global_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$waits_by_host_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$waits_by_user_by_latency.csv
A	examples/github/result/mysql/5.7/pfs_x$waits_global_by_latency.csv
A	examples/github/result/mysql/5.7/result.json
A	examples/github/result/mysql/5.7/result.txt
2023-03-23 16:39:41 +00:00
jmrenouard
20606bd48c [AUTO]Updates MariaDb result examples (via Actions)
Files changed:
A	examples/github/result/mariadb/10.3/ifs_ALL_PLUGINS.csv
A	examples/github/result/mariadb/10.3/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mariadb/10.3/ifs_CHARACTER_SETS.csv
A	examples/github/result/mariadb/10.3/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.3/ifs_CLIENT_STATISTICS.csv
A	examples/github/result/mariadb/10.3/ifs_COLLATIONS.csv
A	examples/github/result/mariadb/10.3/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mariadb/10.3/ifs_COLUMNS.csv
A	examples/github/result/mariadb/10.3/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mariadb/10.3/ifs_ENABLED_ROLES.csv
A	examples/github/result/mariadb/10.3/ifs_ENGINES.csv
A	examples/github/result/mariadb/10.3/ifs_EVENTS.csv
A	examples/github/result/mariadb/10.3/ifs_FILES.csv
A	examples/github/result/mariadb/10.3/ifs_GEOMETRY_COLUMNS.csv
A	examples/github/result/mariadb/10.3/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mariadb/10.3/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mariadb/10.3/ifs_INDEX_STATISTICS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_CMP.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_LOCKS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_METRICS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_MUTEXES.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_DATAFILES.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_SEMAPHORE_WAITS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_TABLESPACES_ENCRYPTION.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_TABLESPACES_SCRUBBING.csv
A	examples/github/result/mariadb/10.3/ifs_INNODB_TRX.csv
A	examples/github/result/mariadb/10.3/ifs_KEYWORDS.csv
A	examples/github/result/mariadb/10.3/ifs_KEY_CACHES.csv
A	examples/github/result/mariadb/10.3/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mariadb/10.3/ifs_PARAMETERS.csv
A	examples/github/result/mariadb/10.3/ifs_PARTITIONS.csv
A	examples/github/result/mariadb/10.3/ifs_PLUGINS.csv
A	examples/github/result/mariadb/10.3/ifs_PROCESSLIST.csv
A	examples/github/result/mariadb/10.3/ifs_PROFILING.csv
A	examples/github/result/mariadb/10.3/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.3/ifs_ROUTINES.csv
A	examples/github/result/mariadb/10.3/ifs_SCHEMATA.csv
A	examples/github/result/mariadb/10.3/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mariadb/10.3/ifs_SESSION_STATUS.csv
A	examples/github/result/mariadb/10.3/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mariadb/10.3/ifs_SPATIAL_REF_SYS.csv
A	examples/github/result/mariadb/10.3/ifs_SQL_FUNCTIONS.csv
A	examples/github/result/mariadb/10.3/ifs_STATISTICS.csv
A	examples/github/result/mariadb/10.3/ifs_SYSTEM_VARIABLES.csv
A	examples/github/result/mariadb/10.3/ifs_TABLES.csv
A	examples/github/result/mariadb/10.3/ifs_TABLESPACES.csv
A	examples/github/result/mariadb/10.3/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.3/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mariadb/10.3/ifs_TABLE_STATISTICS.csv
A	examples/github/result/mariadb/10.3/ifs_TRIGGERS.csv
A	examples/github/result/mariadb/10.3/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mariadb/10.3/ifs_USER_STATISTICS.csv
A	examples/github/result/mariadb/10.3/ifs_VIEWS.csv
A	examples/github/result/mariadb/10.3/ifs_user_variables.csv
A	examples/github/result/mariadb/10.3/result.json
A	examples/github/result/mariadb/10.3/result.txt
2023-03-23 16:39:37 +00:00
jmrenouard
157e5241bf [AUTO]Updates MariaDb result examples (via Actions)
Files changed:
A	examples/github/result/mariadb/10.9/ifs_ALL_PLUGINS.csv
A	examples/github/result/mariadb/10.9/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mariadb/10.9/ifs_CHARACTER_SETS.csv
A	examples/github/result/mariadb/10.9/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.9/ifs_CLIENT_STATISTICS.csv
A	examples/github/result/mariadb/10.9/ifs_COLLATIONS.csv
A	examples/github/result/mariadb/10.9/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mariadb/10.9/ifs_COLUMNS.csv
A	examples/github/result/mariadb/10.9/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mariadb/10.9/ifs_ENABLED_ROLES.csv
A	examples/github/result/mariadb/10.9/ifs_ENGINES.csv
A	examples/github/result/mariadb/10.9/ifs_EVENTS.csv
A	examples/github/result/mariadb/10.9/ifs_FILES.csv
A	examples/github/result/mariadb/10.9/ifs_GEOMETRY_COLUMNS.csv
A	examples/github/result/mariadb/10.9/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mariadb/10.9/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mariadb/10.9/ifs_INDEX_STATISTICS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_CMP.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_LOCKS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_METRICS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_TABLESPACES_ENCRYPTION.csv
A	examples/github/result/mariadb/10.9/ifs_INNODB_TRX.csv
A	examples/github/result/mariadb/10.9/ifs_KEYWORDS.csv
A	examples/github/result/mariadb/10.9/ifs_KEY_CACHES.csv
A	examples/github/result/mariadb/10.9/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mariadb/10.9/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mariadb/10.9/ifs_PARAMETERS.csv
A	examples/github/result/mariadb/10.9/ifs_PARTITIONS.csv
A	examples/github/result/mariadb/10.9/ifs_PLUGINS.csv
A	examples/github/result/mariadb/10.9/ifs_PROCESSLIST.csv
A	examples/github/result/mariadb/10.9/ifs_PROFILING.csv
A	examples/github/result/mariadb/10.9/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.9/ifs_ROUTINES.csv
A	examples/github/result/mariadb/10.9/ifs_SCHEMATA.csv
A	examples/github/result/mariadb/10.9/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mariadb/10.9/ifs_SESSION_STATUS.csv
A	examples/github/result/mariadb/10.9/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mariadb/10.9/ifs_SPATIAL_REF_SYS.csv
A	examples/github/result/mariadb/10.9/ifs_SQL_FUNCTIONS.csv
A	examples/github/result/mariadb/10.9/ifs_STATISTICS.csv
A	examples/github/result/mariadb/10.9/ifs_SYSTEM_VARIABLES.csv
A	examples/github/result/mariadb/10.9/ifs_TABLES.csv
A	examples/github/result/mariadb/10.9/ifs_TABLESPACES.csv
A	examples/github/result/mariadb/10.9/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.9/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mariadb/10.9/ifs_TABLE_STATISTICS.csv
A	examples/github/result/mariadb/10.9/ifs_THREAD_POOL_GROUPS.csv
A	examples/github/result/mariadb/10.9/ifs_THREAD_POOL_QUEUES.csv
A	examples/github/result/mariadb/10.9/ifs_THREAD_POOL_STATS.csv
A	examples/github/result/mariadb/10.9/ifs_THREAD_POOL_WAITS.csv
A	examples/github/result/mariadb/10.9/ifs_TRIGGERS.csv
A	examples/github/result/mariadb/10.9/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mariadb/10.9/ifs_USER_STATISTICS.csv
A	examples/github/result/mariadb/10.9/ifs_VIEWS.csv
A	examples/github/result/mariadb/10.9/ifs_user_variables.csv
A	examples/github/result/mariadb/10.9/result.json
A	examples/github/result/mariadb/10.9/result.txt
2023-03-23 16:39:28 +00:00
jmrenouard
00c6055cc0 [AUTO]Updates MySQL result examples (via Actions)
Files changed:
A	examples/github/result/mysql/5.6/ifs_CHARACTER_SETS.csv
A	examples/github/result/mysql/5.6/ifs_COLLATIONS.csv
A	examples/github/result/mysql/5.6/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mysql/5.6/ifs_COLUMNS.csv
A	examples/github/result/mysql/5.6/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mysql/5.6/ifs_ENGINES.csv
A	examples/github/result/mysql/5.6/ifs_EVENTS.csv
A	examples/github/result/mysql/5.6/ifs_FILES.csv
A	examples/github/result/mysql/5.6/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mysql/5.6/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_CMP.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_LOCKS.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_METRICS.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_DATAFILES.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mysql/5.6/ifs_INNODB_TRX.csv
A	examples/github/result/mysql/5.6/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mysql/5.6/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mysql/5.6/ifs_PARAMETERS.csv
A	examples/github/result/mysql/5.6/ifs_PARTITIONS.csv
A	examples/github/result/mysql/5.6/ifs_PLUGINS.csv
A	examples/github/result/mysql/5.6/ifs_PROCESSLIST.csv
A	examples/github/result/mysql/5.6/ifs_PROFILING.csv
A	examples/github/result/mysql/5.6/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mysql/5.6/ifs_ROUTINES.csv
A	examples/github/result/mysql/5.6/ifs_SCHEMATA.csv
A	examples/github/result/mysql/5.6/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mysql/5.6/ifs_SESSION_STATUS.csv
A	examples/github/result/mysql/5.6/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mysql/5.6/ifs_STATISTICS.csv
A	examples/github/result/mysql/5.6/ifs_TABLES.csv
A	examples/github/result/mysql/5.6/ifs_TABLESPACES.csv
A	examples/github/result/mysql/5.6/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mysql/5.6/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mysql/5.6/ifs_TRIGGERS.csv
A	examples/github/result/mysql/5.6/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mysql/5.6/ifs_VIEWS.csv
A	examples/github/result/mysql/5.6/result.json
A	examples/github/result/mysql/5.6/result.txt
2023-03-23 16:39:25 +00:00
jmrenouard
084b6b49bd [AUTO]Updates MariaDb result examples (via Actions)
Files changed:
A	examples/github/result/mariadb/10.2/ifs_ALL_PLUGINS.csv
A	examples/github/result/mariadb/10.2/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mariadb/10.2/ifs_CHARACTER_SETS.csv
A	examples/github/result/mariadb/10.2/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.2/ifs_CLIENT_STATISTICS.csv
A	examples/github/result/mariadb/10.2/ifs_COLLATIONS.csv
A	examples/github/result/mariadb/10.2/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mariadb/10.2/ifs_COLUMNS.csv
A	examples/github/result/mariadb/10.2/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mariadb/10.2/ifs_ENABLED_ROLES.csv
A	examples/github/result/mariadb/10.2/ifs_ENGINES.csv
A	examples/github/result/mariadb/10.2/ifs_EVENTS.csv
A	examples/github/result/mariadb/10.2/ifs_FILES.csv
A	examples/github/result/mariadb/10.2/ifs_GEOMETRY_COLUMNS.csv
A	examples/github/result/mariadb/10.2/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mariadb/10.2/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mariadb/10.2/ifs_INDEX_STATISTICS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_CMP.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_LOCKS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_METRICS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_MUTEXES.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_DATAFILES.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_SEMAPHORE_WAITS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_TABLESPACES_ENCRYPTION.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_TABLESPACES_SCRUBBING.csv
A	examples/github/result/mariadb/10.2/ifs_INNODB_TRX.csv
A	examples/github/result/mariadb/10.2/ifs_KEYWORDS.csv
A	examples/github/result/mariadb/10.2/ifs_KEY_CACHES.csv
A	examples/github/result/mariadb/10.2/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mariadb/10.2/ifs_PARAMETERS.csv
A	examples/github/result/mariadb/10.2/ifs_PARTITIONS.csv
A	examples/github/result/mariadb/10.2/ifs_PLUGINS.csv
A	examples/github/result/mariadb/10.2/ifs_PROCESSLIST.csv
A	examples/github/result/mariadb/10.2/ifs_PROFILING.csv
A	examples/github/result/mariadb/10.2/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.2/ifs_ROUTINES.csv
A	examples/github/result/mariadb/10.2/ifs_SCHEMATA.csv
A	examples/github/result/mariadb/10.2/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mariadb/10.2/ifs_SESSION_STATUS.csv
A	examples/github/result/mariadb/10.2/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mariadb/10.2/ifs_SPATIAL_REF_SYS.csv
A	examples/github/result/mariadb/10.2/ifs_SQL_FUNCTIONS.csv
A	examples/github/result/mariadb/10.2/ifs_STATISTICS.csv
A	examples/github/result/mariadb/10.2/ifs_SYSTEM_VARIABLES.csv
A	examples/github/result/mariadb/10.2/ifs_TABLES.csv
A	examples/github/result/mariadb/10.2/ifs_TABLESPACES.csv
A	examples/github/result/mariadb/10.2/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.2/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mariadb/10.2/ifs_TABLE_STATISTICS.csv
A	examples/github/result/mariadb/10.2/ifs_TRIGGERS.csv
A	examples/github/result/mariadb/10.2/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mariadb/10.2/ifs_USER_STATISTICS.csv
A	examples/github/result/mariadb/10.2/ifs_VIEWS.csv
A	examples/github/result/mariadb/10.2/ifs_user_variables.csv
A	examples/github/result/mariadb/10.2/result.json
A	examples/github/result/mariadb/10.2/result.txt
2023-03-23 16:39:25 +00:00
jmrenouard
f02e7ae09c [AUTO]Updates MariaDb result examples (via Actions)
Files changed:
A	examples/github/result/mariadb/10.8/ifs_ALL_PLUGINS.csv
A	examples/github/result/mariadb/10.8/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mariadb/10.8/ifs_CHARACTER_SETS.csv
A	examples/github/result/mariadb/10.8/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.8/ifs_CLIENT_STATISTICS.csv
A	examples/github/result/mariadb/10.8/ifs_COLLATIONS.csv
A	examples/github/result/mariadb/10.8/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mariadb/10.8/ifs_COLUMNS.csv
A	examples/github/result/mariadb/10.8/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mariadb/10.8/ifs_ENABLED_ROLES.csv
A	examples/github/result/mariadb/10.8/ifs_ENGINES.csv
A	examples/github/result/mariadb/10.8/ifs_EVENTS.csv
A	examples/github/result/mariadb/10.8/ifs_FILES.csv
A	examples/github/result/mariadb/10.8/ifs_GEOMETRY_COLUMNS.csv
A	examples/github/result/mariadb/10.8/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mariadb/10.8/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mariadb/10.8/ifs_INDEX_STATISTICS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_CMP.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_LOCKS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_METRICS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_TABLESPACES_ENCRYPTION.csv
A	examples/github/result/mariadb/10.8/ifs_INNODB_TRX.csv
A	examples/github/result/mariadb/10.8/ifs_KEYWORDS.csv
A	examples/github/result/mariadb/10.8/ifs_KEY_CACHES.csv
A	examples/github/result/mariadb/10.8/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mariadb/10.8/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mariadb/10.8/ifs_PARAMETERS.csv
A	examples/github/result/mariadb/10.8/ifs_PARTITIONS.csv
A	examples/github/result/mariadb/10.8/ifs_PLUGINS.csv
A	examples/github/result/mariadb/10.8/ifs_PROCESSLIST.csv
A	examples/github/result/mariadb/10.8/ifs_PROFILING.csv
A	examples/github/result/mariadb/10.8/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.8/ifs_ROUTINES.csv
A	examples/github/result/mariadb/10.8/ifs_SCHEMATA.csv
A	examples/github/result/mariadb/10.8/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mariadb/10.8/ifs_SESSION_STATUS.csv
A	examples/github/result/mariadb/10.8/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mariadb/10.8/ifs_SPATIAL_REF_SYS.csv
A	examples/github/result/mariadb/10.8/ifs_SQL_FUNCTIONS.csv
A	examples/github/result/mariadb/10.8/ifs_STATISTICS.csv
A	examples/github/result/mariadb/10.8/ifs_SYSTEM_VARIABLES.csv
A	examples/github/result/mariadb/10.8/ifs_TABLES.csv
A	examples/github/result/mariadb/10.8/ifs_TABLESPACES.csv
A	examples/github/result/mariadb/10.8/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.8/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mariadb/10.8/ifs_TABLE_STATISTICS.csv
A	examples/github/result/mariadb/10.8/ifs_THREAD_POOL_GROUPS.csv
A	examples/github/result/mariadb/10.8/ifs_THREAD_POOL_QUEUES.csv
A	examples/github/result/mariadb/10.8/ifs_THREAD_POOL_STATS.csv
A	examples/github/result/mariadb/10.8/ifs_THREAD_POOL_WAITS.csv
A	examples/github/result/mariadb/10.8/ifs_TRIGGERS.csv
A	examples/github/result/mariadb/10.8/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mariadb/10.8/ifs_USER_STATISTICS.csv
A	examples/github/result/mariadb/10.8/ifs_VIEWS.csv
A	examples/github/result/mariadb/10.8/ifs_user_variables.csv
A	examples/github/result/mariadb/10.8/result.json
A	examples/github/result/mariadb/10.8/result.txt
2023-03-23 16:39:24 +00:00
jmrenouard
ed2356a30c [AUTO]Updates MariaDb result examples (via Actions)
Files changed:
A	examples/github/result/mariadb/10.5/ifs_ALL_PLUGINS.csv
A	examples/github/result/mariadb/10.5/ifs_APPLICABLE_ROLES.csv
A	examples/github/result/mariadb/10.5/ifs_CHARACTER_SETS.csv
A	examples/github/result/mariadb/10.5/ifs_CHECK_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.5/ifs_CLIENT_STATISTICS.csv
A	examples/github/result/mariadb/10.5/ifs_COLLATIONS.csv
A	examples/github/result/mariadb/10.5/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv
A	examples/github/result/mariadb/10.5/ifs_COLUMNS.csv
A	examples/github/result/mariadb/10.5/ifs_COLUMN_PRIVILEGES.csv
A	examples/github/result/mariadb/10.5/ifs_ENABLED_ROLES.csv
A	examples/github/result/mariadb/10.5/ifs_ENGINES.csv
A	examples/github/result/mariadb/10.5/ifs_EVENTS.csv
A	examples/github/result/mariadb/10.5/ifs_FILES.csv
A	examples/github/result/mariadb/10.5/ifs_GEOMETRY_COLUMNS.csv
A	examples/github/result/mariadb/10.5/ifs_GLOBAL_STATUS.csv
A	examples/github/result/mariadb/10.5/ifs_GLOBAL_VARIABLES.csv
A	examples/github/result/mariadb/10.5/ifs_INDEX_STATISTICS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_BUFFER_PAGE.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_BUFFER_PAGE_LRU.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_BUFFER_POOL_STATS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_CMP.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_CMPMEM.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_CMPMEM_RESET.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_CMP_PER_INDEX.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_CMP_PER_INDEX_RESET.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_CMP_RESET.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_FT_BEING_DELETED.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_FT_CONFIG.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_FT_DEFAULT_STOPWORD.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_FT_DELETED.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_FT_INDEX_CACHE.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_FT_INDEX_TABLE.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_LOCKS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_LOCK_WAITS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_METRICS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_MUTEXES.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_COLUMNS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_DATAFILES.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_FIELDS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_FOREIGN.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_FOREIGN_COLS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_INDEXES.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_SEMAPHORE_WAITS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_TABLES.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_TABLESPACES.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_TABLESTATS.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_SYS_VIRTUAL.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_TABLESPACES_ENCRYPTION.csv
A	examples/github/result/mariadb/10.5/ifs_INNODB_TRX.csv
A	examples/github/result/mariadb/10.5/ifs_KEYWORDS.csv
A	examples/github/result/mariadb/10.5/ifs_KEY_CACHES.csv
A	examples/github/result/mariadb/10.5/ifs_KEY_COLUMN_USAGE.csv
A	examples/github/result/mariadb/10.5/ifs_OPTIMIZER_TRACE.csv
A	examples/github/result/mariadb/10.5/ifs_PARAMETERS.csv
A	examples/github/result/mariadb/10.5/ifs_PARTITIONS.csv
A	examples/github/result/mariadb/10.5/ifs_PLUGINS.csv
A	examples/github/result/mariadb/10.5/ifs_PROCESSLIST.csv
A	examples/github/result/mariadb/10.5/ifs_PROFILING.csv
A	examples/github/result/mariadb/10.5/ifs_REFERENTIAL_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.5/ifs_ROUTINES.csv
A	examples/github/result/mariadb/10.5/ifs_SCHEMATA.csv
A	examples/github/result/mariadb/10.5/ifs_SCHEMA_PRIVILEGES.csv
A	examples/github/result/mariadb/10.5/ifs_SESSION_STATUS.csv
A	examples/github/result/mariadb/10.5/ifs_SESSION_VARIABLES.csv
A	examples/github/result/mariadb/10.5/ifs_SPATIAL_REF_SYS.csv
A	examples/github/result/mariadb/10.5/ifs_SQL_FUNCTIONS.csv
A	examples/github/result/mariadb/10.5/ifs_STATISTICS.csv
A	examples/github/result/mariadb/10.5/ifs_SYSTEM_VARIABLES.csv
A	examples/github/result/mariadb/10.5/ifs_TABLES.csv
A	examples/github/result/mariadb/10.5/ifs_TABLESPACES.csv
A	examples/github/result/mariadb/10.5/ifs_TABLE_CONSTRAINTS.csv
A	examples/github/result/mariadb/10.5/ifs_TABLE_PRIVILEGES.csv
A	examples/github/result/mariadb/10.5/ifs_TABLE_STATISTICS.csv
A	examples/github/result/mariadb/10.5/ifs_THREAD_POOL_GROUPS.csv
A	examples/github/result/mariadb/10.5/ifs_THREAD_POOL_QUEUES.csv
A	examples/github/result/mariadb/10.5/ifs_THREAD_POOL_STATS.csv
A	examples/github/result/mariadb/10.5/ifs_THREAD_POOL_WAITS.csv
A	examples/github/result/mariadb/10.5/ifs_TRIGGERS.csv
A	examples/github/result/mariadb/10.5/ifs_USER_PRIVILEGES.csv
A	examples/github/result/mariadb/10.5/ifs_USER_STATISTICS.csv
A	examples/github/result/mariadb/10.5/ifs_VIEWS.csv
A	examples/github/result/mariadb/10.5/ifs_user_variables.csv
A	examples/github/result/mariadb/10.5/result.json
A	examples/github/result/mariadb/10.5/result.txt
2023-03-23 16:39:23 +00:00
Jean-Marie Renouard
b99028fb88 Renaning Branch for MAriaDB Examples 2023-03-23 16:34:58 +00:00
Jean-Marie Renouard
9a19915515 feat: adding MySQL 5.6 in examples building 2023-03-23 16:30:37 +00:00
Jean-Marie Renouard
0705fddcfe fix: mariadb examples building 2023-03-23 16:24:47 +00:00
Jean-Marie Renouard
b19894440c remove: old generic first version 2023-03-23 16:15:33 +00:00
Jean-Marie Renouard
df27acab0b feat: adding examples for MAriaDB 2023-03-23 16:14:13 +00:00
Jean-Marie Renouard
8b8228565c fix: cleanup code 2023-03-23 15:08:25 +00:00
Jean-Marie Renouard
71d1bb49da feat: naming branch per actions 2023-03-23 15:01:17 +00:00
Jean-Marie Renouard
326f9fe1cc fix: Error durig exec 2023-03-23 14:51:29 +00:00
Jean-Marie Renouard
8482d78a81 feat: adding text result 2023-03-23 14:33:29 +00:00
Jean-Marie Renouard
813eaed1ba fix: concurrent commit in this workflow 2023-03-23 14:22:40 +00:00
Jean-Marie Renouard
703442ecb0 fix: adding random times 2023-03-23 14:21:59 +00:00
Jean-Marie Renouard
fa6f478f94 fix: changing directory before sql injection 2023-03-23 14:00:14 +00:00
Jean-Marie Renouard
8b302e8187 fix: fixing examples generation 2023-03-23 13:54:31 +00:00
Jean-Marie Renouard
964b80943d feat: adding matrix in all workflows 2023-03-23 13:40:03 +00:00
Jean-Marie Renouard
5fb453f821 feat: splitting in two jobs 2023-03-23 13:19:16 +00:00
Jean-Marie Renouard
ada29e773f feat: using matrix from mysql 2023-03-23 13:06:53 +00:00
Jean-Marie Renouard
b33c70338c fix: revert changes 2023-03-23 10:48:23 +00:00
Jean-Marie Renouard
0a80fc9d1b upd: reordering steps 2023-03-23 10:39:50 +00:00
Jean-Marie Renouard
8f1abe22b3 feat: update CVS and doc every sunday 2023-03-23 10:03:58 +00:00
Jean-Marie Renouard
6be008de4d fix: Markdown rules fixed 2023-03-23 10:02:02 +00:00
Jean-Marie Renouard
a40b26907d
Merge pull request #637 from jmrenouard/master
feat: auto commit changes
2023-03-23 10:42:09 +01:00
Jean-Marie Renouard
c5cf3603fd
Merge pull request #633 from longradix/master
Remove filter that never fires
2023-03-23 10:40:59 +01:00
Jean-Marie RENOUARD
68f2516c2d feat: auto commit changes 2023-03-22 16:53:42 +01:00
Jean-Marie Renouard
9d72aeddab
Merge pull request #636 from jmrenouard/master
New actions for MySQL tuner
2023-03-22 16:38:06 +01:00
Jean-Marie RENOUARD
7fad4236ba Updates CVS and docs 2023-03-22 16:34:10 +01:00
Jean-Marie RENOUARD
3412750798 fix: Adding last fix on commit 2023-03-22 16:29:53 +01:00
Jean-Marie RENOUARD
701057d7ad fix: Adding last fix 2023-03-22 16:24:49 +01:00
Jean-Marie RENOUARD
3a68d793fd fix: adding cd to good directory for update part 2023-03-22 16:21:09 +01:00
Jean-Marie RENOUARD
ac76b78f39 fix: adding cd to good directory 2023-03-22 16:17:32 +01:00
Jean-Marie RENOUARD
0ea8e42ab7 fix: adding timer waiting mysql start 2023-03-22 16:13:45 +01:00
Jean-Marie RENOUARD
58a01544b1 feat: adding more advanced tests 2023-03-22 16:11:24 +01:00
Jean-Marie RENOUARD
30982454d9 fix: cwd is incorrect - adding debug info 2 2023-03-22 16:10:49 +01:00
Jean-Marie RENOUARD
26bbb196a8 fix: cwd is incorrect - adding debug info 2023-03-22 16:07:32 +01:00
Jean-Marie RENOUARD
b870af9dd3 fix: cwd is incorrect - again 2023-03-22 16:02:49 +01:00
Jean-Marie RENOUARD
c09af858d5 fix: cwd is incorrect for generation part 2023-03-22 15:59:43 +01:00
Jean-Marie RENOUARD
a41b68be4f fix: cwd is incorrect 2023-03-22 15:57:43 +01:00
Jean-Marie RENOUARD
c0ebc46b4c fix: exec levels and action naming 2023-03-22 15:54:59 +01:00
Jean-Marie RENOUARD
54c963d6b9 fix: renaming action adding examples 2023-03-22 15:50:39 +01:00
Jean-Marie RENOUARD
a04e862f02 fix: renaming action update_cvs_and_docs 2023-03-22 15:49:48 +01:00
Jean-Marie RENOUARD
53c9368743 Bunch of GitHub actions 2023-03-22 15:44:34 +01:00
Jean-Marie Renouard
6718e73837 Commit example result 2023-03-22 14:24:34 +00:00
Jean-Marie Renouard
10fa5506ba
Merge pull request #635 from jmrenouard/master
Adding examples
2023-03-22 15:22:32 +01:00
Jean-Marie Renouard
83a76ff330 Commit example result 2023-03-22 13:59:39 +00:00
Jean-Marie RENOUARD
df688927cd Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-03-22 14:57:31 +01:00
Jean-Marie RENOUARD
a638c6b3ca feat: Typos fixes 2023-03-22 14:57:08 +01:00
Jean-Marie Renouard
dacf168fd9 Commit example result 2023-03-21 14:45:16 +00:00
Jean-Marie RENOUARD
0aaa63253c Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl 2023-03-21 15:43:17 +01:00
Jean-Marie RENOUARD
e0963bac64 fix: Typo 2023-03-21 15:43:15 +01:00
Jean-Marie Renouard
c2593d3c12 Commit example result 2023-03-21 14:40:46 +00:00
Jean-Marie RENOUARD
57358fc7c9 Update FAQ section 2023-03-21 15:38:28 +01:00
Jean-Marie Renouard
51ff81c764 Commit example result 2023-03-18 16:59:30 +00:00
Jean-Marie Renouard
43fdb3680e feat: try to auto commit result into repo 2023-03-18 17:57:06 +01:00
Long Radix
95bb587ee1
Merge pull request #2 from longradix/longradix-patch-2
Update mysqltuner.pl: probably a remnant from an old version.
2023-03-16 15:04:21 +01:00
Long Radix
02a022c064
Update mysqltuner.pl 2023-03-16 15:03:34 +01:00
Jean-Marie Renouard
fa2cfe9a5f
Merge pull request #632 from jmrenouard/master
Update Vulnerabilities list
2023-03-14 22:47:37 +01:00
Jean-Marie Renouard
9adb7d6efd Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2023-03-14 21:40:13 +00:00
Jean-Marie Renouard
5cb9f0a466
Merge pull request #631 from jmrenouard/master
Adding github actions
2023-03-14 22:20:38 +01:00
Jean-Marie Renouard
71d2fa7913 fix: adding credentials 2023-03-14 21:06:59 +00:00
Jean-Marie Renouard
009790af3f fix: adding sleep time before executing sql statement 2023-03-14 21:00:26 +00:00
Jean-Marie Renouard
007db7e964 fix: first working version 2023-03-14 20:57:34 +00:00
Jean-Marie Renouard
04f50a0b93 fix: reordering tasks 2023-03-14 20:50:32 +00:00
Jean-Marie Renouard
b99cd357c1 test: using --protocol arg 2023-03-14 20:38:49 +00:00
Jean-Marie Renouard
2223372468 test: mysql command 2023-03-14 20:32:13 +00:00
Jean-Marie Renouard
fe300aae1b fix: adding localhost host 2023-03-14 20:23:07 +00:00
Jean-Marie Renouard
06680834c2 fix: with port number 2023-03-14 20:18:11 +00:00
Jean-Marie Renouard
856ef452f3 fix: try github actions MySQL 2023-03-14 19:55:57 +00:00
Jean-Marie Renouard
f9084ac565 fix: adding MySQL Actions 2023-03-14 19:47:32 +00:00
Jean-Marie Renouard
d69b960d04 fix: an other try 2023-03-14 19:25:16 +00:00
Jean-Marie Renouard
d6bbf7cc99 fix: try to make it work 2023-03-14 19:21:35 +00:00
Jean-Marie Renouard
a0c8807871 fix: service start call 2023-03-14 19:15:52 +00:00
Jean-Marie Renouard
3b3fa00b76 feat: adding new data and mysqltuner.pl calls 2023-03-14 19:12:47 +00:00
Jean-Marie Renouard
afac793d7e feat: new pipeline 2023-03-14 18:53:42 +00:00
Jean-Marie Renouard
aac467ec6e
Create SECURITY.md 2023-03-14 19:46:49 +01:00
Jean-Marie Renouard
b29eb05b2b Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2023-03-11 07:48:00 +01:00
Jean-Marie Renouard
881479eca8 Adding information schema extraction into CSV file using dumpdir option 2023-03-11 07:46:01 +01:00
Jean-Marie Renouard
76709da875
Merge pull request #630 from longradix/master
Update mysqltuner.pl
2023-03-09 23:12:58 +01:00
Long Radix
b33ad673e4
Update mysqltuner.pl
Refactor login test (#608)
2023-03-09 12:40:42 +01:00
Jean-Marie Renouard
a787631287 nice looking CSV format 2023-03-03 15:46:52 +01:00
Jean-Marie Renouard
72353f4d32 new version of select_csv_file 2023-03-03 15:43:11 +01:00
Jean-Marie Renouard
ea29f3e0d4 Dumpdir option + sysschema dump 2023-03-01 11:16:44 +01:00
Jean-Marie Renouard
c35552a652 removing message info 2023-02-28 14:42:05 +01:00
Jean-Marie Renouard
4c4bc01ff7 fix error l197 2023-02-28 14:40:12 +01:00
Jean-Marie Renouard
0113f77f27 fix on error 2023-02-28 14:39:29 +01:00
Jean-Marie Renouard
806295ccd9 add code to create dumpdir 2023-02-28 14:34:14 +01:00
Jean-Marie Renouard
a5fbb70cac Adding new options dumpsysdir 2023-02-28 13:51:46 +01:00
Jean-Marie Renouard
15b07f5c0c
Merge pull request #629 from longradix/master
[Patch] Legibility and typos, mark 6
2023-02-28 10:26:29 +01:00
Long Radix
17130198d9
Merge pull request #1 from longradix/longradix-patch-1
Typos and legibility
2023-02-27 17:51:58 +01:00
Long Radix
6cd8c808aa
Typos and legibility
Reuploading fixes from an earlier patch that did not make it in the latest version. Also some additional clarifications.
2023-02-27 17:49:36 +01:00
Jean-Marie Renouard
5537b67a39 Fix version 2023-02-10 18:36:32 +01:00
Jean-Marie Renouard
fe573ac578 #627 swap is off
Get an error when calling hr_bytes

Review licence informations
2023-02-10 07:22:14 +01:00
Jean-Marie Renouard
e014012217 Legibility issue upon entering credentials
#613
2023-02-02 08:33:48 +01:00
Jean-Marie Renouard
8aa8ffaa5b Legibility issue upon entering credentials
#613
2023-02-02 08:29:45 +01:00
Jean-Marie Renouard
31a85bea0b ERROR 1054
#615
2023-02-02 08:22:07 +01:00
Jean-Marie Renouard
72414b5130 add spossor button 2023-02-02 08:13:04 +01:00
Jean-Marie Renouard
3c80ceb5bf second fix 2023-02-02 08:10:39 +01:00
Jean-Marie Renouard
0ad61e6174 fix Markdown 2023-02-02 08:09:55 +01:00
Jean-Marie Renouard
75ffa2d97d Add sponsor button 2023-02-02 08:09:19 +01:00
Jean-Marie Renouard
dd085736da
Merge pull request #625 from mnalis/remove-unused-mysql_micro_version_le
remove unused mysql_micro_version_le() function
2023-01-24 09:17:29 +01:00
Jean-Marie Renouard
18c6ed5bcf
Merge pull request #626 from mnalis/fix-sys-mariadb
Fix MariaDB Sys schema check
2023-01-24 09:16:34 +01:00
Matija Nalis
97f571bbbb Fix MariaDB Sys schema check 2022-12-30 15:01:46 +01:00
Matija Nalis
92e2dbb12b removed ununused mysql_micro_version_le()
duplicate of mysql_version_le()
2022-12-30 14:15:58 +01:00
Jean-Marie Renouard
4b66af8cdd Installer script for updating CVE list 2022-12-29 19:07:53 +01:00
Jean-Marie RENOUARD
6284e95f18 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2022-12-29 18:36:06 +01:00
Jean-Marie RENOUARD
ecb9570f29 fixing redolog capacity info 2022-12-29 18:36:02 +01:00
Jean-Marie Renouard
c1188b8bd5 add: script installing dependencies for updateStaff.sh 2022-12-29 05:13:47 +01:00
Jean-Marie Renouard
390977624e Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-12-29 05:13:02 +01:00
root
57b4f69680 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-12-29 05:11:31 +01:00
Jean-Marie Renouard
3f81c4c620 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-12-29 04:49:45 +01:00
Jean-Marie Renouard
b345c03a7f Review version umber into 2.0.10 2022-12-29 04:49:26 +01:00
Jean-Marie Renouard
1951e60b98 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2022-12-29 04:47:15 +01:00
Jean-Marie Renouard
34e31137b6
Merge pull request #624 from lewart3/defragment-InnoDB
Recommend ALTER TABLE ... FORCE for InnoDB defrag
2022-12-29 16:28:24 +01:00
Daniel Lewart
ec165a6e2d Recommend ALTER TABLE ... FORCE for InnoDB defrag 2022-12-29 02:42:05 -06:00
Jean-Marie Renouard
7addc40cfe Review .gitignore 2022-12-29 04:47:08 +01:00
Jean-Marie Renouard
25abba9bc1 ERROR 1054 #615
Mariadb-sys referenced in suggestions doesn t support Maria DB 10.x #509
2022-11-30 14:37:57 +01:00
Jean-Marie Renouard
de2b2be92c
Merge pull request #618 from lewart3/get_pf_memory
Fix #616 get_pf_memory() returns bogus value
2022-11-01 14:22:55 +01:00
Daniel Lewart
a8d3b6a5f5 Fix bug #616 get_pf_memory() returns bogus value 2022-10-31 18:30:08 -05:00
Jean-Marie Renouard
5331b3e591 [Patch] Legibility and typos, mark 5 #614 2022-10-05 10:16:42 +02:00
Jean-Marie Renouard
efb1e1bad2 I do not get, why this is showing: Outdated Version, RAM #612 2022-09-26 14:12:37 +02:00
Jean-Marie RENOUARD
fdd42e7685 Using --defaults-file ignores the .my.cnf #605 2022-09-13 15:55:35 +02:00
Jean-Marie RENOUARD
2259dfc3b2 [Patch] Legibility and typos, mark 4
#610
2022-09-13 15:17:39 +02:00
Jean-Marie Renouard
335e12aa9a
Merge pull request #611 from kochetovd/issues_607
Update mysqltuner.pl
2022-09-13 15:11:10 +02:00
Dmitry
ce6e8cdf8d
Update mysqltuner.pl
Abbreviation have been added to the human_size function to display the size of partitions on a server with terabytes.
2022-09-08 12:46:10 +03:00
Jean-Marie Renouard
8cd40947ea typos fixes around version number 2022-08-23 11:40:21 +02:00
Jean-Marie Renouard
07cfdafaa7 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2022-07-09 19:34:27 +02:00
Jean-Marie Renouard
10abb0c3d0 Updated .gitignore 2022-07-09 19:32:54 +02:00
Jean-Marie Renouard
3bc7b6a34b Version 2.0.5 [Patch] Legibility and typos, mark 3 #602 2022-06-30 14:46:54 +02:00
Jean-Marie Renouard
464e632834 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-06-23 14:42:26 +02:00
Jean-Marie Renouard
c1cace575e Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-06-23 14:34:24 +02:00
Jean-Marie Renouard
ba21312e00 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-06-23 14:31:46 +02:00
Jean-Marie Renouard
4a4629f862 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-06-23 14:30:35 +02:00
Jean-Marie Renouard
34bab469c4 Something broken when correcting "incorrectly reports roles as users without passwords #598" #600 2022-06-22 18:41:53 +02:00
Jean-Marie Renouard
898315d6e0 [Patch] Legibility and typos, mark 2 #599 2022-06-22 18:36:34 +02:00
Jean-Marie Renouard
5ea10e9c24 Update for MariaDB 10.8 #601 2022-06-22 18:09:54 +02:00
Jean-Marie Renouard
461c8fb60e Try to fix incorrectly reports roles as users without passwords #598" 2022-06-15 18:08:11 +02:00
Jean-Marie Renouard
3edaab3b57 Use of uninitialized value $seconds_behind_master #593 2022-06-15 15:17:55 +02:00
Jean-Marie Renouard
d2dcd7281d Update needed for MariaDB 10.7 #594 2022-06-15 15:11:34 +02:00
Jean-Marie Renouard
cf568a8f43 version 1.9.9 - Legibility and typos #597 2022-06-15 14:43:18 +02:00
Jean-Marie Renouard
4057662cbe
Merge pull request #592 from markruys/master
Fix some master/slave renaming issues (2)
2022-06-02 15:20:05 +02:00
Mark Ruys
9fdd43787c Fix some master/slave renaming issues (2) 2022-04-04 10:53:04 +02:00
Jean-Marie Renouard
606c09e3bc New workflow 2022-04-04 02:32:15 +02:00
Jean-Marie Renouard
77b313bf92 --updateversion saves updates to incorrect location #499 2022-03-28 23:03:57 +02:00
Jean-Marie Renouard
e1524048cf --updateversion saves updates to incorrect location #499 2022-03-28 23:02:47 +02:00
Jean-Marie Renouard
8347472947 innodb_buffer_pool_instances(=16) suggested for MariaDB 10.5 which doesn t support it #588 2022-03-28 22:53:31 +02:00
Jean-Marie Renouard
4709d758b7
Merge pull request #590 from josev814/unsigned_big_int_fix
Fixing BIGINT UNSIGNED value is out of range error
2022-03-28 21:02:43 +02:00
Jose
ec66406996
Fixing BIGINT UNSIGNED value is out of range error
Making adjustments to the Fragmented tables query to allow large tables by casting the DATA_FREE from unsigned to signed.
2022-03-28 14:46:03 -04:00
Jean-Marie Renouard
411fb8b2b6
Merge pull request #589 from markruys/master
Fix some master/slave renaming issues
2022-03-28 20:43:59 +02:00
Mark Ruys
35ba851cbb Fix some master/slave renaming issues 2022-03-28 14:55:33 +02:00
Jean-Marie Renouard
b425acd963 False impression on key buffer usage
#573 (3)
2022-03-12 19:14:52 +01:00
Jean-Marie Renouard
95e40e0cc3 False impression on key buffer usage
#573 (2)
2022-03-12 19:13:32 +01:00
Jean-Marie Renouard
8013980635 Merge branch 'master' of github.com:major/MySQLTuner-perl 2022-03-12 19:13:13 +01:00
Jean-Marie Renouard
ecd2da6be4 'name resolution is active' should be OK when cPanel is detected #561 2022-03-12 19:10:25 +01:00
Jean-Marie Renouard
03636f3649
Merge pull request #586 from major/renovate/actions-checkout-3.x
Update actions/checkout action to v3
2022-03-12 18:48:42 +01:00
Renovate Bot
2e186cbcd4
Update actions/checkout action to v3 2022-03-12 17:48:22 +00:00
Jean-Marie Renouard
b3bdb236dd
Merge pull request #585 from major/renovate/configure
Configure Renovate
2022-03-12 18:48:10 +01:00
Jean-Marie Renouard
0fdcda815e False impression on key buffer usage
#573
2022-03-12 18:46:42 +01:00
Renovate Bot
39c9fe7e21
Add renovate.json 2022-03-12 17:02:15 +00:00
Jean-Marie Renouard
c7c9b64804 Adding AHA section for HTML generation
Generating .html reports
#448
2022-03-11 14:38:08 +01:00
Jean-Marie Renouard
f2085d7524 Adding AHA section for HTML generation
Generating .html reports
#448
2022-03-11 14:37:17 +01:00
Jean-Marie Renouard
7851426ecc Generating .html reports #448 bis 2022-03-11 10:00:07 +01:00
Jean-Marie Renouard
5007163bae Generating .html reports #448 2022-03-11 09:57:28 +01:00
Jean-Marie Renouard
dd9914be88 False impression on key buffer usage
#573
2022-03-11 09:42:01 +01:00
Jean-Marie Renouard
cc4fa414d2 Fix for Recommendation to turn on performance_schema #579 2022-03-10 22:01:36 +01:00
Jean-Marie Renouard
e7f444c969 Some experimental staff + update basic template with sortable bootstrap tables 2022-03-03 20:39:47 +01:00
Jean-Marie Renouard
de383c4a52 Updated basics template 2022-02-28 22:37:02 +01:00
Jean-Marie Renouard
478642308f Merge branch 'master' of github.com:major/MySQLTuner-perl 2022-02-21 23:12:34 +01:00
Jean-Marie Renouard
7ca7474067 Adding search field on tables 2022-02-21 23:12:24 +01:00
Jean-Marie Renouard
f80a45d374
Merge pull request #583 from rskuipers/patch-1
Remove erroneous dot
2022-02-13 23:02:57 +01:00
Rick Kuipers
09424eedfb
Remove erroneous dot 2022-02-13 17:15:44 +01:00
Jean-Marie Renouard
096ed0f09f Update template 2022-02-13 09:49:26 +01:00
Jean-Marie Renouard
191b16c21b Adding a Jinja2 Template 2022-02-12 23:33:59 +01:00
Jean-Marie Renouard
f18570b96f Changing Copyright 2022-02-12 15:53:33 +01:00
Jean-Marie Renouard
cc6a1c89e2 Update USAGE.md 2022-02-08 00:33:33 +01:00
Jean-Marie Renouard
c5cc4096a2 Please add support for --protocol=TCP #474 2022-02-08 00:31:00 +01:00
Jean-Marie Renouard
e437c1a3fc List unsupported storage engine 2022-02-08 00:15:59 +01:00
Jean-Marie Renouard
0e278becf3 Windows support updated across WSL2 2022-02-08 00:05:40 +01:00
Jean-Marie Renouard
7db9bbeeb7 Recommendation on innodb_adaptive_hash_index_partitions #479 2022-02-07 23:57:45 +01:00
Jean-Marie Renouard
7bf727669b The InnoDB log buffer size recommendation may be tested too strictly #569 2022-02-07 23:40:35 +01:00
Jean-Marie Renouard
cd30f9c852 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-02-07 23:34:34 +01:00
Jean-Marie Renouard
2b44229a8e Version 1.9.1 Incorrectly reporting performance schema is off #580
Recommendation to turn on performance_schema #579
2022-02-07 22:48:37 +01:00
Jean-Marie Renouard
55cdf92f8b Refactor dbstat part of mysqltuner 2022-02-04 22:29:04 +01:00
Jean-Marie Renouard
3ce4c603b4 Fixing mount point space information 2022-02-04 20:20:13 +01:00
Jean-Marie Renouard
f17ee46f01 Fix sql request on PErcona nad MySQL 2022-02-04 17:49:49 +01:00
Jean-Marie Renouard
747675b1ba Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-02-04 16:01:22 +01:00
Jean-Marie Renouard
5f53e00a65 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2022-02-04 15:56:14 +01:00
Jean-Marie Renouard
d4d680e887 Some display fixes 2022-02-03 20:00:37 +01:00
Jean-Marie Renouard
8430b6e466 Fix MySQL index scans 2022-01-31 14:36:28 +01:00
Jean-Marie Renouard
b164a9b054 Release 1.8.8 #579 2022-01-30 15:38:54 +01:00
Jean-Marie Renouard
49218c8c4c
Merge pull request #577 from MichaIng/patch-1
Do not show thread pool metrics when disabled
2022-01-24 19:35:02 +01:00
Jean-Marie Renouard
1f3abe896b
Merge pull request #578 from MichaIng/patch-2
Hide recommendation when no key buffer is used
2022-01-24 19:33:40 +01:00
MichaIng
93a8c0849e
Hide recommendation when no key buffer is used
Currently, when a key_buffer_size=0 is applied, MySQLTuner sets pct_key_buffer_used=0 but still shows it as "[!!]" (bad), recommending to adjust key_buffer_size to "~ 0". The idea surely was show it neither as good or bad in this case, but as debugprint, which is currently never used since pct_key_buffer_used is always defined.

This commit changes the condition to check whether pct_key_buffer_used is larger then zero, to decide whether to show good/bad (with recommendation) or a debug info without recommendation.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-24 02:23:54 +01:00
MichaIng
8ed76b05ba
Do not show thread pool metrics when disabled
Currently thread pool metrics are shown whenever the "thread_pool_size" variable is set. At least on MariaDB this variable is however set even when the thread pool is disabled. This commit changes the check for whether a thread pool is used for client connection handling or not by comparing the "thread_handling" variable value against "pool-of-threads" (MariaDB) or "loaded-dynamically" (MySQL):
- https://mariadb.com/kb/en/thread-pool-system-status-variables/#thread_handling
- https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_handling

The check for whether to show the thread cache metrics is now based on the same derived internal "have_threadpool" variable, effectively skipping thread cache metrics as well on MySQL when the thread pool is not enabled with "thread_handling = loaded-dynamically". The code comment link to Percona about whether the thread cache is used with thread pool enabled has been pinned to v5.7, the latest version which contains the quoted statement. The statement is however still true for MariaDB and MySQL:
- https://mariadb.com/kb/en/server-system-variables/#thread_cache_size

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-15 18:22:47 +01:00
Jean-Marie Renouard
926c9a92ca A lot of new info about indexes and table structures 2022-01-03 18:54:54 +01:00
Jean-Marie Renouard
c1661f326e
Merge pull request #575 from MichaIng/imgbot
[ImgBot] Optimize images
2021-11-24 15:33:58 +01:00
Jean-Marie Renouard
12a96cb08e
Merge pull request #572 from MichaIng/patch-1
Fix key buffer usage multiple-byte units
2021-11-24 09:58:16 +01:00
Jean-Marie Renouard
1c68fe1b1a #574 script modified with CR end of line 2021-11-23 16:00:58 +01:00
MichaIng
7d53af73cc
Fix key buffer usage multiple-byte units
The "Key buffer used" row showed 131072 bytes as 131K while it should be shown as 128K, so that it matches the multi-byte units key buffer size in the "Key buffer size / total MyISAM indexes" row below.

Furthermore, instead of calculating the used bytes from the previously calculated percentage, doing a round trip which involves rounding errors, calculate the used bytes from the variables directly which does not involve any diversion and hence no possible rounding errors.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-11-22 14:49:23 +01:00
ImgBotApp
73af0190d3
[ImgBot] Optimize images
*Total -- 82.40kb -> 49.98kb (39.35%)

/mysqltuner.png -- 77.03kb -> 45.43kb (41.02%)
/mtlogo.png -- 5.37kb -> 4.55kb (15.39%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-11-22 12:58:00 +00:00
Jean-Marie Renouard
cb74b1947e Adding Releem App link to Readme 2021-10-22 14:52:38 +02:00
Jean-Marie Renouard
6090b0fa9c Bad merge roolback 2021-10-22 14:50:09 +02:00
Jean-Marie Renouard
a146c81b7c Wrong recommendation "thread_pool_size between 16 and 36 for InnoDB usage" for Percona Server
#551"
2021-10-16 17:07:14 +02:00
Jean-Marie Renouard
0d897f8c5b
Merge pull request #568 from 64kramsystem/fix_innodb_log_buffer_size_message
Fix `innodb_log_buffer_size` message
2021-10-15 16:33:37 +02:00
Jean-Marie Renouard
6b6d85ef28 Wrong recommendation "thread_pool_size between 16 and 36 for InnoDB usage" for Percona Server (#551) 2021-10-15 16:28:19 +02:00
Jean-Marie Renouard
1333ea9395 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-10-15 13:56:27 +02:00
Jean-Marie Renouard
c0251a1488 Can't locate Data/Dumper.pm in @INC #564 2021-10-15 13:43:07 +02:00
Saverio Miroddi
85d7d6b6a8 Fix innodb_log_buffer_size message
The operator used to recommend the user to increase the log buffer size (`>=`) is confusing.

Closes #567 (which includes a detailed description).
2021-10-15 10:39:03 +02:00
Jean-Marie Renouard
d04c1c46dc Increment releas number 2021-09-28 17:31:55 +02:00
Jean-Marie Renouard
24ccf47d6e Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-09-27 12:28:31 +02:00
Jean-Marie Renouard
5b96d08004 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-09-27 12:25:12 +02:00
Jean-Marie Renouard
1bdb4b1aea Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-09-27 12:21:50 +02:00
Jean-Marie Renouard
1ecb2e9854 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-09-27 12:08:36 +02:00
Jean-Marie Renouard
87aff130f3 Merge done 2021-09-27 12:07:52 +02:00
Jean-Marie Renouard
467e999a17 clean end line 2021-09-27 11:55:22 +02:00
Jean-Marie Renouard
0aa4995bed
Merge pull request #563 from Steve8291/patch-1
Fix Replication Status
2021-08-26 17:14:52 +02:00
Steve8291
911b1294fa
Fix Replication Status
Reference Issue #553 
Reversing the check for version of mysql or mariadb to use correct command.
2021-08-26 10:21:23 -04:00
Jean-Marie Renouard
3225a954fc
Merge pull request #559 from willamowius/master
fix English grammar
2021-08-25 12:05:36 +02:00
Jean-Marie RENOUARD
645e034efd Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-08-25 12:03:29 +02:00
Jean-Marie RENOUARD
1e9920b545 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-08-25 12:01:28 +02:00
Jean-Marie RENOUARD
d37a1f7c79 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-08-25 11:56:11 +02:00
Jan Willamowius
6584233c72 fix English grammar 2021-07-17 08:35:44 +02:00
Jean-Marie Renouard
7aa57fa770 Illegal division by zero at ./mysqltuner.pl line 2745 #558
Wrong table cache hit rate calculation #548
2021-07-15 17:03:00 +02:00
Jean-Marie Renouard
7a2a0f1b13 Illegal division by zero at ./mysqltuner.pl line 2745 #558
Wrong table cache hit rate calculation #548
2021-07-15 17:02:24 +02:00
Jean-Marie Renouard
78d8f3ed85 Version 1.8.0: Support MariaDB 10.6 Update needed for MariaDB 10.6 #557 2021-07-13 18:56:52 +02:00
Jean-Marie Renouard
dde94aa343
Create exec.yml 2021-07-05 08:45:01 +02:00
Jean-Marie Renouard
656a7e51ed Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-07-02 18:31:21 +02:00
Jean-Marie Renouard
8f479b06f6 Increment version 2021-07-02 18:17:57 +02:00
Jean-Marie Renouard
2079639e6b Wrong table cache hit rate calculation #548 2021-07-02 18:17:25 +02:00
Jean-Marie Renouard
213211aecc improve FreeBSD support a bit (patch included) #549 2021-07-02 16:55:43 +02:00
Jean-Marie Renouard
52d3fc4d7c failed to execute: SHOW SLAVE HOSTS #553 2021-07-02 16:44:11 +02:00
Jean-Marie Renouard
47cf0669fc failed to execute: SHOW SLAVE HOSTS #553 2021-07-02 16:41:36 +02:00
Jean-Marie Renouard
c9345a1380 1.7.26 is fixing minor glitch with DROP USER #555 2021-07-02 16:22:51 +02:00
Jean-Marie RENOUARD
5aa880afbc Wrong recommendation "thread_pool_size between 16 and 36 for InnoDB usage" for Percona Server #551 2021-05-03 12:00:02 +00:00
Jean-Marie RENOUARD
85d5015a1d some aliases 2021-05-03 10:12:00 +00:00
Jean-Marie RENOUARD
76c9343fb9 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2021-05-03 10:11:35 +00:00
Jean-Marie RENOUARD
71b2f0b144 Some new aliases 2021-05-03 10:10:47 +00:00
Jean-Marie Renouard
447652d325 Update mysqltuner.pl 2021-05-03 11:06:23 +02:00
Jean-Marie Renouard
ac34523609 Update mysqltuner.pl 2021-03-30 11:54:30 +02:00
Jean-Marie Renouard
68e5902169 Update mysqltuner.pl 2021-03-30 11:44:08 +02:00
Jean-Marie Renouard
948c09ab86
Update README.md
Pull request documentation
2021-03-15 10:06:44 +01:00
Jean-Marie Renouard
a8fc0c2639 Update mysqltuner.pl
Adding more information about flow control current value
2021-03-08 18:29:03 +01:00
Jean-Marie Renouard
b0cfbd802b Duplicate recommendation/check #545
Duplicate recommendation/check #545
2021-03-08 18:02:22 +01:00
Jean-Marie Renouard
5a399f6006 Duplicate recommendation/check #545
Duplicate recommendation/check #545
2021-03-08 18:01:44 +01:00
Jean-Marie RENOUARD
bf8d1e69c1 Update ReadMe. 2021-02-05 15:44:17 +01:00
Jean-Marie RENOUARD
ef66fb274c Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-02-05 15:25:09 +01:00
Jean-Marie RENOUARD
2e0f388119 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-02-05 08:57:50 +01:00
Jean-Marie RENOUARD
c1ca0234cf Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2021-02-05 08:53:54 +01:00
Jean-Marie Renouard
4e0a8b396f
Merge pull request #543 from grooverdan/rename-user
Rename user
2021-02-05 08:38:20 +01:00
Daniel Black
e29b76fca1 empty passwords - use exact user/host quoted 2021-02-05 09:46:37 +11:00
Daniel Black
0be85cbb9f user host recommend - RENAME USER
Altering mysql.user tables isn't something users should do.

RENAME USER has existed for a long time, use this instead.

Also change SpecificDNSorIp because DNS based grants are
a horrible idea, fragile, and could be disabled with
--skip-name-resolve.

closes #536
2021-02-05 09:37:10 +11:00
Jean-Marie Renouard
2a63ffdcd3
Merge pull request #542 from grooverdan/doc_mysql_mariadb_support
Doc mysql mariadb support
2021-02-01 17:07:52 +01:00
Jean-Marie Renouard
05925cf12e
Merge pull request #541 from grooverdan/travis_percona
travis: add percona supported versions
2021-02-01 17:07:14 +01:00
Jean-Marie Renouard
f93020f6a5
Merge pull request #540 from grooverdan/noinnodb
correct messages on no InnoDB
2021-02-01 17:07:00 +01:00
Daniel Black
bfeccad220 travis: add percona supported versions
Note where Percona announce 3 more years of 5.6 support
https://www.percona.com/blog/2020/12/07/not-ready-to-give-up-mysql-5-6-get-post-eol-support-from-percona/
2021-02-01 15:11:34 +11:00
Daniel Black
b85a443dce doc: 5.5 listed as full support 2021-02-01 15:10:25 +11:00
Daniel Black
5901f5191b doc: MariaDB-10.[01] were not support by MySQL 2021-02-01 15:00:43 +11:00
Daniel Black
5c307d1813 correct messages on no InnoDB
enginestats are only populated if tables exist of that type.

Look at default_storage_engine if defined to communicate the default
storage engine.

closes #469
2021-02-01 11:42:44 +11:00
Jean-Marie Renouard
950df575cd
Merge pull request #539 from grooverdan/serverlog
--server-log enhancements for containers/pods/systemd journal
2021-01-31 22:09:26 +01:00
Daniel Black
938b434e41 extend server-log for journal/container/pods
Default to reading last 30000 lines.

If reading from file estimate that average line
length is 80 characters and read based that
far back from the end of file.
2021-01-30 12:51:28 +11:00
Daniel Black
c3da0b013c add server-log option for explict server log
This allows a user to specify a logrotated file
or another file that isn't discoverable from
server log_error system variable or other defaults.

close #504
2021-01-30 10:24:03 +11:00
Jean-Marie Renouard
625d2cf668
Merge pull request #534 from grooverdan/travis_new
travis: test all supported versions
2021-01-29 22:22:50 +01:00
Daniel Black
be5809e838 travis: docker test all versions 2021-01-29 08:19:18 +11:00
Jean-Marie Renouard
8cda55aa60
Merge pull request #532 from grooverdan/m10.5-travis-fix
travis: correct MariaDB-10.5 test
2021-01-28 18:21:58 +01:00
Jean-Marie Renouard
47ebbbca75
Merge pull request #535 from grooverdan/snap
skip snap filesystems
2021-01-28 18:21:43 +01:00
Jean-Marie Renouard
22789d1c7f
Merge pull request #537 from grooverdan/min_dblist
minimal database list retrieval
2021-01-28 18:21:11 +01:00
Jean-Marie Renouard
1f879d110b
Merge pull request #538 from grooverdan/json_total_tables
Add total_tables to json output
2021-01-28 18:19:09 +01:00
Jean-Marie Renouard
374ef59417
Merge pull request #533 from grooverdan/exec_perms
add execute permissions to mysqltuner.pl
2021-01-28 18:18:17 +01:00
Jean-Marie Renouard
49c2f6e930 Update mysqltuner.pl 2021-01-28 18:15:53 +01:00
Daniel Black
72952b5873 Add total_tables to json output
closes #484
2021-01-28 19:13:02 +11:00
Daniel Black
7a94bd5388 minimal database list retrieval
Information schema access isn't particularly well optimized.

As such, at least in older versions, fetching from the information_schema.TABLES
would involve opening every table.

The ANSI SQL standards SCHEMATA provides a quicker way, and we can reuse it.
2021-01-28 18:44:17 +11:00
Daniel Black
59ce37b3a1 skip snap filesystems 2021-01-28 18:01:59 +11:00
Daniel Black
2c8f5e81cf add execute permissions to mysqltuner.pl
closes #531
2021-01-28 16:22:16 +11:00
Daniel Black
85dc9551c5 travis: correct MariaDB-10.5 test 2021-01-28 11:34:23 +11:00
Jean-Marie Renouard
299944627e
Merge pull request #529 from grooverdan/supported_versions
supported version: +mariadb-10.5, eol mysql-5.6, mariadb-10.[01]
2021-01-27 21:32:37 +01:00
Jean-Marie Renouard
285ba51330
Merge pull request #528 from grooverdan/gtidmode_mariadb
mariadb gtid mode - base off gtid_current_pos.
2021-01-27 21:31:41 +01:00
Jean-Marie Renouard
d9e00040c8
Merge pull request #527 from grooverdan/mariadbnames
mariadb is using its on name in mariadb/mariadb-admin
2021-01-27 21:31:16 +01:00
Jean-Marie Renouard
f2c8ca86b2
Merge pull request #526 from grooverdan/anonuser
anonymous users - remove password checks
2021-01-27 21:29:38 +01:00
Jean-Marie Renouard
8fb9195c4f
Merge pull request #525 from grooverdan/qc
query_cache off with query_cache_type=OFF OR query_cache_size=0
2021-01-27 21:28:18 +01:00
Jean-Marie Renouard
3a7bf40c83
Merge pull request #524 from grooverdan/aria_myisam
Aria/MyISAM cleanup
2021-01-27 21:27:12 +01:00
Daniel Black
9d1d19c97d mariadb gtid mode - base off gtid_current_pos.
gtid_strict_mode isn't sufficient a test for
MariaDB's GTID mode. The gtid_current_pos
however is always non-blank if GTID is enabled.

closes #513
2021-01-27 18:03:41 +11:00
Daniel Black
083dc22c60 supported version: +mariadb-10.5, eol mysql-5.6, mariadb-10.[01]
Add mariadb-10.5 as a supported version.

Remove MySQL/MariaDB eol versions from their origin of support.
2021-01-27 17:34:02 +11:00
Daniel Black
fa8deec762 mariadb is using its on name in mariadb/mariadb-admin
The mysql client, mysql, in mariadb is starting to be labeled mariadb.
Likewise mysqladmin is getting called mariadb-admin. Lets check
for these names as well.
2021-01-27 17:26:29 +11:00
Daniel Black
2f45f349c9 anonymous users - remove password checks
For anonymous users, those with user='', having a recommendation
to set their passwords, and warning that the password is the same
as the username is a little excessive since there's already a
recommendation to drop the user.

So let's remove those recommendation so we don't see:

[!!] User '@localhost' has user name as password.
[!!] User '@localhost.localdomain' has user name as password.

or:

    Set up a Secure Password for @localhost user: SET PASSWORD FOR ''@'SpecificDNSorIp' = PASSWORD('secure_password');
    Set up a Secure Password for @localhost.localdomain user: SET PASSWORD FOR ''@'SpecificDNSorIp' = PASSWORD('secure_password');

Lets keep the focus on:
-------- Security Recommendations ------------------------------------------------------------------
[!!] User ''@'localhost' is an anonymous account. Remove with DROP USER ''@'localhost';
[!!] User ''@'localhost.localdomain' is an anonymous account. Remove with DROP USER ''@'localhost.localdomain';
2021-01-27 17:15:03 +11:00
Daniel Black
3ac95cd046 query_cache off with query_cache_type=OFF OR query_cache_size=0
From the MySQL and MariaDB code (same - 5.5 version):
https://github.com/mysql/mysql-server/blob/5.5/sql/sql_cache.h#L560
https://github.com/MariaDB/server/blob/5.5/sql/sql_cache.h#L572

This is used:
https://github.com/mysql/mysql-server/blob/5.5/sql/sql_prepare.cc#L3058
(same in MariaDB code)

The size=0 and type=0 are both sufficent conditions for the query
cache to be disabled. As such lets consider it ok if its disabled
only in one place. This is the case in mariadb where type=0 (OFF)
is the default as is a non-zero query-cache size.
2021-01-27 17:02:58 +11:00
Daniel Black
99e5c83779 Aria/MyISAM cleanup
Include calculation of Aria index size based of *.MAI files.

Use find -0 | xargs -0 to allow for space containing names.
Quote datadir in find in case it had spaces.

Use xargs -r (GNU extension) (supported Linux, FreeBSD, OpenBSD,
NetBSD, not Solaris, not OSX) to not run if there's no files that match.
This prevents it running the total of the current directory if
there are no M[YA]I files.

A total size of 0 for Aria or MyISAM indexes isn't a problem
because:
* MySQL-5.[567] used MyISAM system tables which have indexes, so 0
wasn't possible (except for remote user without mysql.* access).
* 0 size of index is equally likely to be 0 tables of this type
  (e.g. MySQL-8.0, or MariaDB-10.4+ (Aria default, not MyISAM)).

Setting total_aria_indexes=1 when it was previously 0 is misleading.

Aria was never called AriaDB despite the apparent convention in
other storage engines so use just Aria, or Aria Storage Engine
in messages.

Differentiate between Aria not available and disabled in report.
2021-01-27 15:56:10 +11:00
Jean-Marie Renouard
9a9ff555ee
Update README.md 2020-12-29 15:14:36 +01:00
Jean-Marie Renouard
374b34430e
Update README.md 2020-12-29 15:14:11 +01:00
Jean-Marie Renouard
ea6a33264b
Add a simple Logo 2020-12-29 15:11:43 +01:00
Jean-Marie Renouard
df56ff11ad
Merge pull request #519 from sergey-dryabzhinsky/sergey-dryabzhinsky-patch-1
For #518 - use new schema for mariab-10.2+ to make passwords check
2020-12-27 19:41:59 +01:00
Sergey Dryabzhinsky
ce23262b27 Fix else+if construction 2020-12-26 12:32:59 +03:00
Sergey Dryabzhinsky
b1a1829362
For #518 - use new schema for mariab-10.2+
And check for one more column existance
2020-12-26 12:02:51 +03:00
Jean-Marie Renouard
aac1ab2b4d
Merge pull request #514 from grooverdan/mdb10.4-secure-users
secure users MariaDB-10.4+ / MySQL auth socket
2020-12-08 08:30:23 +01:00
Jean-Marie Renouard
643e5e4e98
Merge pull request #515 from grooverdan/delanonymous
DROP USER to delete anonymous accounts
2020-12-08 08:30:04 +01:00
Jean-Marie Renouard
b8effe6410
Merge pull request #516 from grooverdan/supported_versions
MariaDB-10.1 EOL, MariaDB-10.5 is GA
2020-12-08 08:29:44 +01:00
Daniel Black
6f966dee45 MariaDB-10.1 EOL, MariaDB-10.5 is GA 2020-12-08 15:25:59 +11:00
Daniel Black
1bb30f508e DROP USER to delete anonymous accounts
DROP USER has existed for a very long time.

Use the QUOTE sql function to ensure accounts are correctly quoted
and this helps the delete recommendation.
2020-12-08 14:37:26 +11:00
Daniel Black
79a4403c9c MySQL-5.7/8.0+ auth_socket is safe
MySQL has auth_socket as its plugin compared to unix_socket on MariaDB
so accept that as a valid reason for having no authentication.

MySQL [(none)]> show create user dan@localhost;
+-----------------------------------------------------------------------------------------------------------------+
| CREATE USER for dan@localhost                                                                                   |
+-----------------------------------------------------------------------------------------------------------------+
| CREATE USER 'dan'@'localhost' IDENTIFIED WITH 'auth_socket' REQUIRE NONE PASSWORD EXPIRE DEFAULT ACCOUNT UNLOCK |
+-----------------------------------------------------------------------------------------------------------------+
1 row in set (0.000 sec)

MySQL [(none)]> select user,host,plugin from mysql.user;
+---------------+-----------+-----------------------+
| user          | host      | plugin                |
+---------------+-----------+-----------------------+
| root          | localhost | mysql_native_password |
| mysql.session | localhost | mysql_native_password |
| mysql.sys     | localhost | mysql_native_password |
| dan           | localhost | auth_socket           |
| expiretest    | %         | mysql_native_password |
| expiretest    | localhost | mysql_native_password |
+---------------+-----------+-----------------------+
6 rows in set (0.001 sec)

MySQL [(none)]> select version();
+-----------+
| version() |
+-----------+
| 5.7.31    |
+-----------+
2020-12-08 14:18:03 +11:00
Daniel Black
0eef9260a8 mariadb-10.4+ empty passwords
MariaDB-10.4 migrated their authentication to a global_priv table in JSON
format. Also locked user accounts where added. By default the mariadb.sys
is a locked user without a password and there as the owner of the mysql.user
view. As its hazardous for a user to modify this we exclude locked accounts
but still search for mysql_native_password plugin without authentication.

We use versioned comments to process all other versions. The 5.5+ MySQL
version comment is also read by MariaDB (ref: https://mariadb.com/kb/en/comment-syntax/
enabling the processing of plugins on other version that have plugins.

While this branch doesn't yet apply to MySQL-8.0 yet, we add support
for the locked user accounts in MySQL-8.0+ in a versioned comment
(not read by MariaDB).
2020-12-08 14:00:39 +11:00
Jean-Marie Renouard
de4b145e96 Remove innodb_buffer_pool_instances recommendations for MariaDB #512
Remove innodb_buffer_pool_instances recommendations for MariaDB #512
2020-11-16 20:22:24 +01:00
Jean-Marie Renouard
b5718d0e2f Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2020-11-05 17:29:32 +01:00
Jean-Marie Renouard
cff819d46f Change version number 2020-11-05 17:29:26 +01:00
Jean-Marie Renouard
026ed6db4f Update README.md 2020-10-08 11:48:00 +02:00
Jean-Marie Renouard
a3f72fec6c
Update USAGE.md 2020-09-15 15:26:15 +02:00
Jean-Marie Renouard
d25f8a9230
Merge pull request #507 from RULCSoft/master
Remove references to the domain mysqltuner.com. #501
2020-09-15 15:24:17 +02:00
Jorge Vallecillo
d2a8f0b60a Remove references to the domain mysqltuner.com. #501 2020-09-03 10:17:58 -06:00
Jean-Marie Renouard
b6f8f9f9a3 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2020-05-04 11:02:49 +02:00
Jean-Marie Renouard
00ce968c6a Removing windows end of lines 2020-05-04 11:01:34 +02:00
Jean-Marie Renouard
6038bd7749 Update mysqltuner.pl
Back to MYsqltuner 1.7.19
2020-05-03 23:12:19 +02:00
Jean-Marie Renouard
9236ec0f80 Update mysqltuner.pl
Fix error
2020-05-03 23:07:42 +02:00
Jean-Marie RENOUARD
1e8b32a253 merged 2020-05-02 16:01:37 +02:00
root
12ae60c6f2 local commit 2020-05-02 15:56:26 +02:00
Jean-Marie Renouard
094f16f67c
Merge pull request #473 from unreturned/fix_471
Possible fix for #471
2020-01-23 18:23:19 +01:00
Kovalkov Dmitrii
e7609d7a91 And for debug line ignore these lines 2020-01-23 16:37:45 +03:00
Kovalkov Dmitrii
dc4aa248c8 Ignore
200122 12:09:15 mysqld_safe Logging to '/var/log/mysql/error.log'.
when we count errors in log
2020-01-23 11:24:56 +03:00
Jean-Marie Renouard
b5ffe58506
Merge pull request #470 from mrqwer88/README.ru_update
Update README.ru.md
2020-01-20 19:07:52 +01:00
Sergei A Mamonov
d3ab6db641 Update README.ru.md 2020-01-20 21:04:32 +03:00
Jean-Marie Renouard
7965211fa0
Merge pull request #466 from Ruzgfpegk/bugfix/mariadb-sys-update
Suggest using mariadb-sys from FromDual in script
2020-01-09 22:16:39 +01:00
Jean-Marie Renouard
8f34a00f18
Merge pull request #468 from Ruzgfpegk/bugfix/myisam-table_cache-doclink
Updates link to MyISAM table_cache scalability doc
2020-01-09 22:16:15 +01:00
Ruzgfpegk
8ffd81475a
Updates link to MyISAM table_cache scalability doc
Fixes #465 .
2020-01-09 15:53:56 +09:00
Ruzgfpegk
3555142ead
Suggest using mariadb-sys from FromDual in script
Follows #443 and #444.
2020-01-09 15:04:04 +09:00
Jean-Marie Renouard
80920ad061
Merge pull request #464 from jfcoz/max_allowed_packet
Include max_allowed_packet in thread memory size
2020-01-08 20:48:52 +01:00
jfcoz
c5765f0213 Include max_allowed_packet in thread memory size
Fix https://github.com/major/MySQLTuner-perl/issues/378
Fix https://github.com/major/MySQLTuner-perl/issues/456
2019-12-12 13:31:23 +01:00
Jean-Marie Renouard
345bf1ae24 Issue Typo in commit 6f6130b (ymsql => mysql) (#459) 2019-10-17 17:39:45 +02:00
Jean-Marie Renouard
216a0a9889 Update .travis.yml 2019-10-16 20:22:50 +02:00
Jean-Marie Renouard
95ed36c1ee Update .travis.yml 2019-10-16 20:22:03 +02:00
Jean-Marie Renouard
f6fae6713d Update .travis.yml 2019-10-16 20:14:33 +02:00
Jean-Marie Renouard
e1891570e3 Validate YAML format 2019-10-16 20:11:59 +02:00
Jean-Marie Renouard
a1c1624b81 Update .travis.yml 2019-10-16 20:02:43 +02:00
Jean-Marie Renouard
084591fdc7 Update .travis.yml
removing perlcritic for some error
2019-10-16 19:53:15 +02:00
Jean-Marie Renouard
365dd57128
Merge pull request #457 from maitrepylos/henallux
SCALAR ref while strict refs
2019-10-04 13:26:03 +02:00
155da8c074 SCALAR ref while strict refs 2019-10-04 12:10:16 +02:00
Jean-Marie Renouard
cb9308ac2a Update README.md 2019-10-03 23:58:06 +02:00
Jean-Marie Renouard
6f6130b12b Missing password is not recognized #412 2019-10-03 23:15:31 +02:00
Jean-Marie Renouard
851cd817de Update version command #428 2019-10-03 22:33:22 +02:00
Jean-Marie Renouard
66f2ee40be About innodb_log_file_size changing recommendation #408 2019-10-03 22:10:18 +02:00
Jean-Marie Renouard
792b46b03c About innodb_log_file_size changing recommendation #408 2019-10-03 22:06:51 +02:00
Jean-Marie Renouard
6aa887d5a5 Use of uninitialized value $engine in concatenation (.) or string #350 2019-10-03 21:52:30 +02:00
Jean-Marie Renouard
143b80b3a6 Add recommendation on table_definition_cache #433 2019-10-03 21:29:03 +02:00
Jean-Marie Renouard
a421f73e26 Add note about join_buffer_size #434 2019-10-03 21:04:12 +02:00
Jean-Marie Renouard
3e30c984cf Adding clear all mysql containers 2019-10-02 20:37:54 +00:00
Jean-Marie Renouard
7050e47a8c Removing misplaced file 2019-10-02 19:01:51 +00:00
Jean-Marie Renouard
80deeff141 Update README.md 2019-10-02 01:35:37 +02:00
Jean-Marie Renouard
46b5dc3398 Reformatting readme.md 2019-10-02 01:34:41 +02:00
Jean-Marie Renouard
86bb9b0508 update readme.md 2019-10-02 01:33:29 +02:00
Jean-Marie Renouard
84f61be841 update documentation for tests 2019-10-02 01:31:25 +02:00
Jean-Marie Renouard
d1f39e9a00 Script is failing on MySQL 5.6.10(AWS Aurora) #435 2019-10-02 01:13:34 +02:00
Jean-Marie Renouard
f18a3ef33f Update mysqltuner.pl
FAIL Execute SQL / return code: 256 #442
disable column type to ENUM suggestion #356
2019-10-02 00:44:54 +02:00
Jean-Marie Renouard
a9bed2ffa0 Percona Server 8.0 - better support
Lot of bug fixes for percona.
2019-10-02 00:07:46 +02:00
Jean-Marie Renouard
3fd2e1c3c3 Updates on tools for test suites 2019-10-01 01:41:52 +02:00
Jean-Marie Renouard
f7920522ac Tools for test suies based on Docker 2019-10-01 01:11:38 +02:00
Jean-Marie Renouard
e2f5c6bdf5 Renaming staff 2019-09-30 20:37:42 +02:00
Jean-Marie Renouard
ad8b04b6a4 support fetchall feature 2019-09-30 20:35:09 +02:00
Jean-Marie Renouard
fedc925111 simple load sample manager in command line 2019-09-26 23:51:27 +02:00
Jean-Marie Renouard
982410d6e1 Reordering folder 2019-09-26 16:39:35 +00:00
Jean-Marie Renouard
b8f191d180 Update error log file analysis 2019-09-26 00:41:10 +02:00
Jean-Marie Renouard
7332f8d5c4 Wrong report of InnoDB Storage engine status #450
Good message is
-------- InnoDB Metrics ----------------------------------------------------------------------------
[--] Skipped due to --skipsize option
2019-09-25 23:50:15 +02:00
Jean-Marie Renouard
25c0020924 Issue importing sys_10.sql #452
Issue importing sys_10.sql #452
2019-09-25 23:35:42 +02:00
Jean-Marie Renouard
ebc6619e4f Bug fix #453 2019-09-25 23:29:22 +02:00
Jean-Marie Renouard
fb421bccd1 Update basic_passwords.txt
adding one of my prefred password :)
2019-09-25 22:21:02 +02:00
Jean-Marie Renouard
b052706d74 Adding dos2unix staff 2019-09-25 20:14:14 +00:00
Jean-Marie Renouard
57e2cba90f Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2019-09-25 20:07:18 +00:00
Jean-Marie Renouard
60df6043b1 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2019-09-25 20:05:45 +00:00
Jean-Marie Renouard
10e5cb16f6 Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
2019-09-25 19:59:49 +00:00
Jean-Marie Renouard
35698bfbe4 Create Vagrantfile_for_MariaDB10.4
Adding MariaDB 10.4 Vagrant File
2019-09-25 20:22:16 +02:00
Jean-Marie Renouard
a14802eaea
Merge pull request #454 from billynoah/patch-1
Update mysqltuner.pl
2019-09-22 11:17:29 +02:00
Billy Noah
066acb0940
Update mysqltuner.pl
Check to make sure mysql.user has a column called 'password'.  Adjust security_recommendations queries accordingly.

This should address issues:
https://github.com/major/MySQLTuner-perl/issues/427
https://github.com/major/MySQLTuner-perl/issues/441
https://github.com/major/MySQLTuner-perl/issues/442
2019-09-10 16:06:58 -04:00
Jean-Marie Renouard
8206205d57
Merge pull request #451 from elfranne/percona_cve
update CVE to include Percona
2019-08-17 07:47:38 +02:00
Tom Braarup
b73c31add0 update CVE to include Percona 2019-08-16 11:42:54 +02:00
Jean-Marie Renouard
a2674ac3ab
Merge pull request #447 from Reforced/patch-1
Add --host to minimal usage locally example
2019-07-26 11:25:30 +02:00
Jean-Marie Renouard
ccf8f93f14
Merge pull request #449 from acs-ferreira/patch-2
Add test env for MariaDB 10.4 (GA)
2019-07-25 19:14:52 +02:00
Carlos Ferreira
006845ee07
Add test env for MariaDB 10.4 (GA) 2019-07-25 12:38:43 +02:00
Reforced
abc1b39671
Add --host to minimal usage locally example
After implemented a bunch of suggestions, of which "Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1" and "Restrict Host for user\@% to user\@SpecificDNSorIp" I got a nasty `[!!] Attempted to use login credentials, but they were invalid.` error when trying to use mysqltuner again. Obviously since by default it uses `localhost` (due `mysqladmin`). Add it to the example to show the user the way. :)
2019-07-13 02:01:22 +02:00
Jean-Marie Renouard
a6d37e7ed1
Merge pull request #444 from ebroto/bugfix/mariadb-sys-incomplete
Suggest using mariadb-sys from FromDual in README.md
2019-07-10 17:58:24 +02:00
Jean-Marie Renouard
122d23c32c
Merge pull request #446 from ebroto/bugfix/escape-identifiers-in-table-column-metrics
Escape identifiers in table column metrics
2019-07-10 17:57:42 +02:00
Eduardo Broto
ece5671292 Escape identifiers in table column metrics
Otherwise some queries may fail if reserved words were used as field, table or
database names.
2019-07-10 17:25:23 +02:00
Eduardo Broto
8eb4929551 Suggest using mariadb-sys from FromDual in README.md
The one from good-dba seems to be outdated.
The suggested one was updated a couple weeks ago and has been tested with
success against MariaDB 10.3
2019-07-10 17:18:02 +02:00
Jean-Marie Renouard
42a9586aaf Refresh config. Vagrant
Update vagrantfile.
2019-07-07 09:58:02 +02:00
Jean-Marie Renouard
037f7208fa
Merge pull request #439 from mpirio/fix/innodb_stats_on_metadataVarNotExists
$myvar{'innodb_stats_on_metadata'} may not exist
2019-05-21 20:04:53 +02:00
Myrdhin
b10c90ccf8 Fix typo on myvar 2019-05-15 11:01:46 +02:00
Myrdhin
49a1b603da Fix error when innodb_stats_on_metadata not defined 2019-05-15 10:52:51 +02:00
Jean-Marie Renouard
221e88bbec
Merge pull request #436 from vitaliytv/patch-1
cd: mariadb-sys/: No such file or directory
2019-05-03 11:48:34 +02:00
Jean-Marie Renouard
111d5fa03d
Merge pull request #438 from 36degrees/patch-1
Fix syntax error in grant statement
2019-05-03 11:48:12 +02:00
Oliver Byford
fc54175f83
Fix syntax error in grant statement 2019-04-27 23:20:58 +01:00
Vitalii Tverdokhlib
d37d79212e
cd: mariadb-sys/: No such file or directory 2019-04-18 10:16:31 +03:00
Jean-Marie Renouard
4a01df4a04
Merge pull request #431 from atombrella/should_be
Corrected grammar for innodb_buffer_pool_size recommendation.
2019-03-22 10:20:32 +01:00
Jean-Marie Renouard
c84d330a16
Merge pull request #432 from atombrella/http_links
Changed http to https. Fixed broken link to original script.
2019-03-22 10:20:20 +01:00
Mads Jensen
320e1fda8e Changed http to https. Fixed broken link to original script. 2019-03-22 07:32:47 +01:00
Mads Jensen
0fae7c5a91 Corrected grammar for innodb_buffer_pool_size recommendation. 2019-03-22 07:23:08 +01:00
Jean-Marie Renouard
e16ecdae26
Merge pull request #430 from 0xflotus/patch-1
did you mean 'accurate'?
2019-03-19 15:24:17 +01:00
0xflotus
732ff0b02f
did you mean 'accurate'? 2019-03-19 14:10:11 +01:00
Jean-Marie Renouard
ed927dba32 Illegal division by zero #423 2019-03-06 14:25:59 +00:00
Jean-Marie Renouard
fce4eda2aa Illegal division by zero #423 2019-03-06 13:28:28 +00:00
Jean-Marie Renouard
4c14ba9718 Missing password is not recognized #412 2019-03-06 13:10:17 +00:00
Jean-Marie Renouard
8724eb7926
Update README.md
Attempted to use login credentials, but they were invalid (#420)
2019-02-04 21:37:46 +01:00
Jean-Marie Renouard
b6f985d995
Merge pull request #422 from BarbzYHOOL/patch-1
README: fix typo
2019-01-08 17:06:31 +01:00
Barbz
68bdabd6d0
README: fix typo 2019-01-08 16:39:23 +01:00
Jean-Marie Renouard
15041b3cbc
Merge pull request #421 from BarbzYHOOL/patch-1
README: Clear installation and usage instructions
2019-01-08 09:48:16 +01:00
Barbz
e22b9fde6c
Update README.md 2019-01-07 23:17:42 +01:00
Barbz
d69f95b3d7
README: Clear installation and usage instructions 2019-01-07 23:16:06 +01:00
Jean-Marie Renouard
06ac30d05a
Update INTERNALS.md #419
Wrong value about innodb_buffer_pool_instances with MySQL 5.6 #419
2019-01-07 11:01:54 +01:00
Jean-Marie Renouard
8816ff009d
Update INTERNALS.md 2019-01-07 10:58:30 +01:00
Jean-Marie Renouard
6263031412
Merge pull request #416 from timhughes/html_report_timhughes
Fixes the html report and sets it up for others to improve
2018-11-30 17:24:23 +01:00
Tim Hughes
f54f6fd2b0 make report visable when load 2018-11-30 13:13:08 +00:00
Tim Hughes
69d4e2fbea A bit of work on the html report template 2018-11-30 13:06:49 +00:00
Jean-Marie Renouard
3894c0be25
Merge pull request #415 from schatt/master
Fixed spelling of available.
2018-11-27 09:32:54 +01:00
Drew Schatt
51d7deee6a Fixed spelling of available. 2018-11-26 13:49:38 -08:00
Jean-Marie Renouard
d7c906c9c4 Uncaught exception from user code (#414) 2018-11-26 15:25:54 +00:00
Jean-Marie Renouard
177c9f6695 ignore galera check when wsrep_on = 0 #353 2018-11-26 13:41:36 +00:00
Jean-Marie Renouard
87eb96a485 Sys schema on MariaDB #362 2018-11-26 13:31:59 +00:00
Jean-Marie Renouard
a4585a34a6 Updated information on README for sysschema and eprformance schema 2018-11-26 13:26:46 +00:00
Jean-Marie Renouard
1b9e4e75ba Last modification related to options 2018-11-26 12:57:11 +00:00
Jean-Marie Renouard
0f724fa31f Removing employee db for repository 2018-11-25 07:23:34 +00:00
Jean-Marie Renouard
6f3ba8b029 Removing employee db for repository 2018-11-25 07:18:45 +00:00
Jean-Marie Renouard
59e5f40ed1
Merge pull request #409 from tcraxs/patch-1
fix defect link to mysql documentation - #408
2018-11-15 17:10:25 +01:00
tcraxs
c0b2f67a2f
fix defect link to mysql documentation - #408
Fix defect link to the mysql documentation. Choose to set the link to version 8 as in Issue major#408 mention.
Links to: https://dev.mysql.com/doc/refman/8.0/en/innodb-redo-log.html
2018-11-14 16:54:05 +01:00
Jean-Marie Renouard
c8fb973bf8 MySQLTuner dont understand Thread Pool in Percona Server 5.7 #386 2018-09-26 09:10:09 +00:00
Jean-Marie Renouard
dab1e7e960 MySQLTuner dont understand Thread Pool in Percona Server 5.7 #386 2018-09-26 07:31:19 +00:00
Jean-Marie Renouard
b8224beb85 bug fix in calcualation of wsrep_slave_threads value #305 2018-09-26 07:25:58 +00:00
Jean-Marie Renouard
c8bb7050ab wsrep_slave_threads info and test modification 2018-09-25 17:19:19 +02:00
Jean-Marie Renouard
6081df99a9 Wrong warning about table_open_cache #364 2018-09-25 17:05:43 +02:00
Jean-Marie Renouard
f2095989cd Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2018-09-25 16:58:53 +02:00
Jean-Marie Renouard
580a707ef7 wsrep_slave_threads #305 2018-09-25 16:58:36 +02:00
Jean-Marie Renouard
ee79ab41ad New script for running remote audit and generate HTML report 2018-09-24 16:12:40 +02:00
Jean-Marie Renouard
469a205ac0 Uptime info" 2018-09-23 19:48:09 +00:00
Jean-Marie Renouard
be4c965ea9 adding better json outputfile option 2018-09-23 18:19:06 +00:00
Jean-Marie Renouard
db326d9e9f New simple modele for HTML result 2018-09-23 15:31:09 +00:00
Jean-Marie Renouard
be5d060437 Update travis yml 2018-09-23 15:18:13 +00:00
Jean-Marie Renouard
79d91e5b07 Template staff 2018-09-23 09:50:33 +00:00
Jean-Marie Renouard
f5b3879f11 Adding test database for test purpose 2018-09-23 07:57:45 +00:00
Jean-Marie Renouard
b8ef183bcf Hope to add MySQL 8 support! #377
MySQL 8: disabling Query cache recommandations
MySQL 8: check password disabled due to new authentication storage model - Help wanted
2018-09-23 07:45:25 +00:00
Jean-Marie Renouard
45d7d48907 Typo fixes 2018-09-23 06:36:30 +00:00
Jean-Marie Renouard
861581bc0e Try to use mysql 8.0 2018-09-23 06:31:24 +00:00
Jean-Marie Renouard
c9811794dc Removing employee set storage_engine directive 2018-09-23 06:25:54 +00:00
Jean-Marie Renouard
fb755d6046 including log output content analysis 2018-09-23 06:09:50 +00:00
Jean-Marie Renouard
06f18c1c1b redirecting output to log file with tee 2018-09-23 06:05:44 +00:00
Jean-Marie Renouard
38377c1f3d redirecting output to log file 2018-09-23 06:04:07 +00:00
Jean-Marie Renouard
23b925373d Adding tests for MariaDB 10.3 2018-09-23 05:58:29 +00:00
Jean-Marie Renouard
b8a1accd52 Adding MySQL 5.7 tests 2018-09-22 19:43:25 +00:00
Jean-Marie Renouard
c0709f8ab5 Adding link to travis result 2018-09-22 07:37:01 +00:00
Jean-Marie Renouard
44fd4b7fa2 New vulnerabilities list 2018-09-22 07:22:34 +00:00
Jean-Marie Renouard
58cd59c32a Removing uneeded tests and and full tests jobs for Perl 5.16 2018-09-22 06:36:12 +00:00
Jean-Marie Renouard
1affe9273c Using new name for jobs 2018-09-22 06:33:11 +00:00
Jean-Marie Renouard
9e2da8c9f0 Support for All MySQL and MariaDB on tavis
based on Perl 5.10 and 5.24
including tests with sample database called employees
2018-09-22 06:28:36 +00:00
Jean-Marie Renouard
377ad1438c Adding env var NAME 2018-09-22 06:21:14 +00:00
Jean-Marie Renouard
1506b50eed Adding env var 2018-09-22 06:16:01 +00:00
Jean-Marie Renouard
409367b7d7 Adding env var 2018-09-22 06:01:16 +00:00
Jean-Marie Renouard
b14baf0e73 Fixing before script issue 2018-09-22 05:39:54 +00:00
Jean-Marie Renouard
af241039e4 Adding jobs label 2018-09-22 05:38:17 +00:00
Jean-Marie Renouard
a1f988da02 Adding databse sample injection 2018-09-22 05:34:57 +00:00
Jean-Marie Renouard
fe8a3e0e6e Updated travis file 2018-09-22 05:20:44 +00:00
Jean-Marie Renouard
7826cab7ca Update travis tests
including MySQL 5.5, 5.6, 5.7, 8.0
including more tests using --verbose options
2018-09-22 05:17:26 +00:00
Jean-Marie Renouard
6d3d15eb4d 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
2018-09-22 05:04:28 +00:00
Jean-Marie Renouard
5d4e891ea1 ignore galera check when wsrep_on = 0 #353 2018-09-20 14:34:07 +00:00
Jean-Marie Renouard
08cb34587b Fixing important performance issue during collecting metrics 2018-09-20 13:11:34 +00:00
Jean-Marie Renouard
e76f3a25b1 New option tbstat 2018-09-20 12:51:07 +00:00
Jean-Marie Renouard
dfafc0bcae
Merge pull request #400 from mrqwer88/update_README.ru.md
Update README.ru.md
2018-08-17 22:47:39 +02:00
Sergei A Mamonov
67bebc83b4 Update README.ru.md 2018-08-16 19:14:50 +03:00
Jean-Marie RENOUARD
1e83154256 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2018-08-07 15:52:18 +02:00
Jean-Marie RENOUARD
4951c920c5 Incorrectly assumes 32bit architecture on s390x systems #390 2018-08-07 15:52:14 +02:00
Jean-Marie Renouard
de08b7229b
Merge pull request #398 from gemal/master
add newline
2018-08-07 15:51:59 +02:00
Henrik Gemal
adbeec5761 add newline 2018-08-07 10:35:25 +02:00
Jean-Marie RENOUARD
dc86f73d1b wsrep_slave_threads #305 2018-08-07 09:00:21 +02:00
Jean-Marie RENOUARD
eac9100d1c Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2018-08-06 14:53:18 +02:00
Jean-Marie RENOUARD
2bd7e7bf71 wsrep_slave_threads #305 2018-08-06 14:53:12 +02:00
Jean-Marie Renouard
586b5ba761
Merge pull request #397 from vrkansagara/master
[ Proposal ] Sync of fork with latest code base
2018-08-06 12:42:46 +02:00
Jean-Marie RENOUARD
7429b7c15c Minor accessing undefined variable bug to fix eventually #383 2018-08-06 12:38:06 +02:00
Vallabh Kansagara
d425b5f8d1 Adding sync.sh for updating the project. 2018-08-06 16:00:39 +05:30
Jean-Marie Renouard
07e76709ee
Merge pull request #396 from vrkansagara/master
Readme  visual improvement.
2018-08-06 12:00:11 +02:00
Vallabh Kansagara
5dc38485ea Merge remote-tracking branch 'upstream/master' 2018-08-06 15:28:45 +05:30
Jean-Marie RENOUARD
e7980611a1 # 393 Peak and max memory usage estimated incorrectly 2018-08-06 11:53:02 +02:00
Vallabh Kansagara
c6eb2cee45 Redme visual improvement. 2018-08-06 15:21:54 +05:30
Jean-Marie Renouard
f4f5bcbdda
Merge pull request #395 from vrkansagara/master
Adding more passwords.
2018-08-06 11:50:14 +02:00
Vallabh Kansagara
c36f9cb165 Adding more passwords 2018-08-06 15:17:15 +05:30
Vallabh Kansagara
ba81f5914f Adding more passwords 2018-08-06 15:16:01 +05:30
Jean-Marie Renouard
7c0528c5c4
Merge pull request #394 from Maxximou5/patch-1
Spelling, grammar, and return
2018-07-29 23:02:29 +02:00
Maxximou5
ad74a7dc6d Spelling and grammar
- Fixed: Minor spelling, grammar, and accidental return
2018-07-28 16:50:06 -07:00
Jean-Marie Renouard
21d797b065
Merge pull request #392 from unreturned/patch-2
Minor fix undefined value
2018-07-27 10:26:31 +02:00
Kovalkov Dmitrii
d02feeedc8
Minor fix undefined value 2018-07-26 23:00:04 +03:00
Jean-Marie Renouard
2f9fc715b1
Update README.md
adding star graph.
2018-07-19 17:01:12 +02:00
Jean-Marie Renouard
cfc888c444
Merge pull request #389 from unreturned/patch-1
Update travis
2018-07-09 09:45:26 +02:00
Kovalkov Dmitrii
a412c14995
Update travis
Exclude check InputOutput::ProhibitInteractiveTest.
InputOutput::ProhibitInteractiveTest need to add dependency IO::Interactive in script - This is not desirable
2018-07-06 21:10:56 +03:00
Jean-Marie Renouard
72db7eeec4
Merge pull request #388 from unreturned/patch-1
Fix #387
2018-07-06 08:28:48 +02:00
Kovalkov Dmitrii
010656345d
Switch human readable for Data (not need round) 2018-07-05 17:48:45 +03:00
Jean-Marie RENOUARD
281559eb04 New Vagrant file for MySQL 8. 2018-06-29 14:08:10 +02:00
Jean-Marie RENOUARD
a43032b863 #377 adding 0 as query cache efficiency for MySQL 8 2018-06-29 14:06:42 +02:00
Jean-Marie RENOUARD
9cf4dd4453 Ticket #383 Minor accessing undefined variable bug to fix eventually 2018-06-29 12:16:30 +02:00
Jean-Marie Renouard
eb7300446c
Merge pull request #381 from Kyslik/unify-sentence-ending
End sentence with a period
2018-06-05 15:24:36 +02:00
Martin Kiesel
9a1d331ebb
End sentence with a period
Fixed example output:

```
[!!] User 'a@localhost' has user name as password.
[!!] User 'b@%' does not specify hostname restrictions.
```
2018-06-05 14:12:54 +02:00
Jean-Marie Renouard
987f161529
Merge pull request #380 from birdie-github/patch-1
Some fixes
2018-05-28 09:36:17 +02:00
Artem S. Tashkinov
593928c646
Some fixes 2018-05-27 14:03:29 +00:00
Jean-Marie Renouard
fec202bcfd
Merge pull request #379 from schatt/master
Spelling fixes
2018-05-22 09:24:11 +02:00
Drew Schatt
e46309a09f Spelling fixes.
Physical
theoretically
MariaDB
2018-05-21 16:10:22 -07:00
Drew Schatt
c955c12d1a
Merge pull request #2 from major/master
Merge to fork
2018-05-21 16:07:45 -07:00
Jean-Marie RENOUARD
613d4bb814 New vulnerabilities list 2018-04-26 14:27:33 +02:00
Jean-Marie RENOUARD
1b68fd55a3 Update staff 2018-04-26 14:15:59 +02:00
Jean-Marie Renouard
54f97e5e15
Update README.md 2018-04-04 16:04:44 +02:00
Jean-Marie RENOUARD
61cdd6c0d0 Trim sub with emtpy string display error #376 2018-04-04 15:20:27 +02:00
Jean-Marie RENOUARD
b9721ef91b MySQL enterprise: Column recommandations #375 2018-04-04 15:17:57 +02:00
Jean-Marie RENOUARD
9cf48b52e0 Clean up staff 2018-03-30 15:44:40 +02:00
Jean-Marie Renouard
7ae81143b9 Removing error from Use of uninitialized value $engine in concatenation (.) or string #350 2018-03-27 12:33:31 +00:00
Jean-Marie RENOUARD
3551d0d28e Avoid use of uninitialized value 2018-03-20 08:53:15 +01:00
Jean-Marie RENOUARD
de1bd2015e update staff 2018-03-19 17:17:11 +01:00
Jean-Marie RENOUARD
737334f9e0 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2018-03-19 17:08:17 +01:00
Jean-Marie RENOUARD
031f741296 Some information about replication 2018-03-19 17:08:12 +01:00
Jean-Marie Renouard
586b1c7547
Update INTERNALS.md 2018-03-19 17:01:22 +01:00
Jean-Marie RENOUARD
ff2a47e461 Issue #373 Fix for password column on MySQL 5.7 2018-03-19 16:34:41 +01:00
Jean-Marie RENOUARD
f0394b67cc Issue #373 Fix for password column on MySQL 5.7 2018-03-19 16:33:04 +01:00
Jean-Marie RENOUARD
1c51f44282 New deploy helper script 2018-03-05 09:37:51 +01:00
Jean-Marie RENOUARD
bca1ad849d Change year reference 2018-02-23 16:42:24 +01:00
Jean-Marie RENOUARD
760adf20b5 Latest version has a regression with colored outout #371 2018-02-23 12:34:32 +01:00
Jean-Marie RENOUARD
94f8dad080 Wrong sort order in MySQLTuner report #363 2018-02-22 18:42:32 +01:00
Jean-Marie RENOUARD
35c4200813 Issue #364 2018-02-22 16:58:59 +01:00
Jean-Marie RENOUARD
0e8fcbf52d Issue #369 2018-02-22 16:11:42 +01:00
Jean-Marie RENOUARD
8fda1dc284 Issue #371 2018-02-22 15:35:31 +01:00
Jean-Marie RENOUARD
6d95d8642c Update code, doc and vulnerabilities 2018-02-22 15:29:33 +01:00
Jean-Marie RENOUARD
86b0a1949f Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2018-02-22 15:24:32 +01:00
Jean-Marie RENOUARD
50f3a0d965 Small quotes issue 2018-02-22 15:24:20 +01:00
Jean-Marie Renouard
75f4bc623a
Merge pull request #370 from jsoref/spelling
Spelling
2018-02-22 15:22:30 +01:00
Jean-Marie Renouard
5b2918296f
Merge pull request #367 from martinellimarco/master
Proposed fix for #268
2018-02-22 15:21:01 +01:00
Jean-Marie RENOUARD
13c885a529 Issue #372 2018-02-22 15:18:39 +01:00
Josh Soref
38e5e7ec88 spelling: update 2018-02-18 05:05:57 +00:00
Josh Soref
61afc2404e spelling: replication 2018-02-18 05:00:05 +00:00
Josh Soref
3b76498260 spelling: release 2018-02-18 04:59:50 +00:00
Josh Soref
878de6b7e1 spelling: recommendations 2018-02-18 04:59:38 +00:00
Josh Soref
249a4b7c55 spelling: password 2018-02-18 04:59:11 +00:00
Josh Soref
e0c76333f2 spelling: instance 2018-02-18 04:57:57 +00:00
Josh Soref
29d69c3866 spelling: indenting 2018-02-18 04:57:26 +00:00
Josh Soref
d714eb9a57 spelling: efficiency 2018-02-18 04:44:13 +00:00
Josh Soref
89027cebe1 spelling: deactivated 2018-02-18 04:43:14 +00:00
Josh Soref
e8cfaa3e17 spelling: considered 2018-02-18 04:42:49 +00:00
Josh Soref
41949a0c6e spelling: configured 2018-02-18 04:42:13 +00:00
Josh Soref
940c25c355 spelling: authentication 2018-02-18 04:41:14 +00:00
Marco Martinelli
06f20b1fbb Proposed fix for #268 2018-02-14 22:40:14 +01:00
Marco Martinelli
9f7a599195 Proposed fix for #268 2018-01-18 07:39:52 +01:00
Jean-Marie RENOUARD
073a6244a5 Update git ignorewq 2018-01-10 15:14:19 +01:00
Jean-Marie Renouard
c535405966
Merge pull request #366 from joncav/master
Spelling & Grammar
2018-01-10 15:03:34 +01:00
joncavanaugh
afc66c68f8 Spelling & Grammar
Some small changes to spelling and sentence structure.
2018-01-08 16:54:51 -06:00
Jean-Marie Renouard
f530ee787d
Update mysqltuner.pl 2017-12-20 09:33:54 +01:00
Jean-Marie Renouard
a816002ed2
Merge pull request #361 from racker-markh/auth_pam_compat_has_no_password
Ignore password check for auth_pam_compat plugin
2017-12-20 09:32:05 +01:00
Mark Hyde
53cdb0e0b9 Ignore password check for auth_pam_compat plugin
- Users authenticating via auth_pam_compat will use pam for
authentication rather than the mysql password field, so the latter is
expected to be empty.
2017-11-28 13:11:39 +00:00
Jean-Marie Renouard
edc6e72261
Merge pull request #354 from wschaft/fix-gcs-limit
Changed gcs.limit to gcs.fc_limit, as there's no gcs.limit parameter.
2017-11-20 20:07:56 +01:00
Jean-Marie Renouard
2dd5d0af26
Merge pull request #355 from mrqwer88/update_README.ru.md
Update README.ru.md
2017-11-20 20:07:38 +01:00
Sergei A Mamonov
6cfc372f58 Update README.ru.md 2017-11-20 20:10:25 +03:00
Wesley Schaft
60660c7d54 Changed gcs.limit to gcs.fc_limit, as there's no gcs.limit parameter. 2017-11-16 09:13:40 +01:00
Jean-Marie Renouard
b828a6eee5 Merge pull request #347 from tompmeyer/read_log_file_by_line
Read log file by line
2017-10-06 09:43:23 +02:00
Thomas Meyer
45c48832c4 Read log file by line
Changes the log file reading from loading the entire file into
memory to reading line by line.
2017-10-05 17:05:20 -07:00
Jean-Marie Renouard
e316b9ac21 Merge pull request #346 from tompmeyer/find_real_error_log_path
Determine real log_error path.
2017-09-24 23:33:37 +02:00
Thomas Meyer
c45ac0925d Determine real log_error path.
Determines real log_error path if mysql variable not set or file
is relative and does not exist in current working directory.
Otherwise return back original value.
2017-09-24 05:45:13 -07:00
Jean-Marie Renouard
7f83318d49 Merge pull request #345 from rdey/add-support-for-ssl
Add support for SSL connections
2017-09-19 10:27:37 +02:00
Daniel Kolvik
2b7828237d Add support to pass ssl public key to mysql connection. Makes it possible to run against servers only accepting connection over SSL. 2017-09-15 10:53:57 +02:00
Jean-Marie Renouard
e5f3736a64 Merge pull request #343 from pes-soft/innodb-logsize-suggestion-doc
Add recommendation for innodb log file changes and some extra information
2017-09-11 09:26:01 +02:00
Peter 'Pessoft' Kolínek
b5d1650f59 add general recommendation for innodb log file changes
add information to INTERNALS.md about innodb log file to buffer pool ratio
fix buffer pool typos in comments
fix code formatting a bit
2017-09-09 13:22:30 +02:00
Jean-Marie RENOUARD
17fddf2079 Issue #341 debian credentials not overridable from commandline 2017-08-25 11:12:10 +02:00
Jean-Marie RENOUARD
ce381102a7 New vagrant file based on Centos 7 2017-08-23 09:25:51 +02:00
Jean-Marie Renouard
8d819734ec Merge pull request #338 from IWriteThings/IWriteThings-patch-brew-install
Update README.md
2017-08-01 08:40:39 +02:00
IWriteThings
51a1f06758 Update README.md
Added instructions to install mysqltuner using brew.
2017-07-31 10:33:51 -07:00
Jean-Marie RENOUARD
3c3fdcd936 Performance Schema Issue #328 2017-07-31 14:27:15 +02:00
Jean-Marie RENOUARD
cf38192ddb variables not uninitialized #325 2017-07-31 14:22:20 +02:00
Jean-Marie RENOUARD
d5c4ae85f8 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2017-07-24 15:12:49 +02:00
Jean-Marie RENOUARD
d82ea42215 Issue Performance Schema Issue #328 2017-07-24 15:12:36 +02:00
Jean-Marie Renouard
59b55a92ec Merge pull request #335 from pes-soft/innodb-logsize-suggestion
Fixes for ratio between InnoDB log files and buffer pool size described in #322
2017-07-24 15:05:25 +02:00
Jean-Marie RENOUARD
2ae6cbb52f New vulnerabities list 2017-07-24 15:03:51 +02:00
Peter 'Pessoft' Kolínek
8d4c50cc2c Fixes calculation and display of ratio between InnoDB log files size and InnoDB buffer pool size 2017-07-11 21:41:09 +02:00
Jean-Marie Renouard
3d0796b92d Merge pull request #334 from koskv/fix_galera
Read the value of wsrep_slave_threads from the right place.
2017-07-11 10:49:15 +02:00
kostya v
52fb453f27 Read the value of wsrep_slave_threads from the right place. 2017-07-10 16:57:15 +03:00
Jean-Marie RENOUARD
77bcb72702 Update vulnerabilities list 2017-07-05 11:51:33 +02:00
Jean-Marie Renouard
b16dfb6254 Merge pull request #330 from vladisalv/master
fixing documentation
2017-06-19 11:37:07 +02:00
Jean-Marie Renouard
97fb39d366 Merge pull request #331 from adaugherity/fix_version_cmp
Fix version comparisons
2017-06-19 11:20:30 +02:00
Andrew Daugherity
9b2fcd85f0 fix micro version comparison
Both the minor *and* the major versions need to match before checking
the micro version.
2017-06-16 16:25:44 -05:00
Vladislav Toigildin
84c1bbafae refactoring: pod documentation 2017-06-15 21:57:07 +03:00
Vladislav Toigildin
1aec239039 output help message using pod2usage instead duplicating pod documentation in usage() function 2017-06-15 21:52:14 +03:00
Vladislav Toigildin
cb0acfe319 fix: add newlines before pod command paragraph + newline before __END__ 2017-06-15 20:53:20 +03:00
Jean-Marie RENOUARD
0de0df36fa New vulnerabilities list 2017-05-31 14:57:47 +02:00
Jean-Marie Renouard
76241973ff Merge pull request #327 from AnotherOneAckap/optimize_table_messages_fix
Fix for messages about defragmented tables
2017-05-24 08:56:39 +02:00
Askar Timirgazin
821de219db Fix for messages about defragmented tables
Schema name must be divided from table name, now both of them joined, so you can't copy-paste recomendations to mysql console.
Was:  OPTIMIZE TABLE `test_db.test_table`; -- can free xx MB
Must: OPTIMIZE TABLE `test_db`.`test_table`; -- can free xx MB
2017-05-23 17:26:20 +03:00
Jean-Marie RENOUARD
8d178444d5 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2017-05-19 09:36:43 +02:00
Jean-Marie RENOUARD
5fce4fc0ee Adding a note for XtraDB 2017-05-19 09:36:33 +02:00
root
29fb53694e Support column analysis with produre analyse 2017-05-19 02:06:36 +02:00
Jean-Marie RENOUARD
21860fe395 Incorrect suggestion for ratio InnoDB log file size / InnoDB buffer pool size #322 2017-05-17 17:38:17 +02:00
Jean-Marie RENOUARD
f180eae082 Missing argument requirement for cvefile in mysqltuner help #321
Schedule for releases on github #320
2017-05-17 16:50:44 +02:00
Jean-Marie RENOUARD
da858bd936 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2017-05-17 15:55:22 +02:00
root
5b1dbd3ffa Update vulnerabilty list 2017-05-08 15:28:35 +02:00
Jean-Marie Renouard
e2280c03b6 Merge pull request #319 from timstoop/index-metric-typo
Fix typos in Index metrics
2017-04-26 14:45:38 +02:00
Tim Stoop
dbe7ac8818 Fix typos in Index metrics 2017-04-24 22:53:08 +02:00
Jean-Marie Renouard
dda90d669c Default host should be 127.0.0.1 #312 2017-04-21 00:33:20 +02:00
root
dc7ffb01dc bug fix on swappinness to 10 for Galera 2017-04-21 00:19:55 +02:00
root
21af94158d Add quotes #311
Use https instead of http #317
typo, space missing before is #315
2017-04-21 00:13:45 +02:00
Jean-Marie Renouard
36abf64b64 Merge pull request #318 from Red54/patch-1
The query cache should be disabled
2017-04-20 16:05:53 +02:00
謝致邦 (XIE Zhibang)
f4a108c2f6 Disable query cache. 2017-04-19 21:25:45 +08:00
謝致邦 (XIE Zhibang)
2f3832b6f7 The query cache should be disabled in MariaDB 10.1 2017-04-19 20:01:02 +08:00
Jean-Marie Renouard
b8723f9538 Merge pull request #313 from ktaranov/master
Fix typos and markdown issues
2017-03-27 21:27:03 +02:00
Konstantin
e447a16157 Fix typos and markdown issues 2017-03-27 15:33:46 +03:00
RENOUARD Jean Marie Ext IMT/OINIS
5cc86c82b5 bad calculation for pct_wkeys_from_mem #303 2017-03-14 18:26:44 +01:00
RENOUARD Jean Marie Ext IMT/OINIS
2e45139751 Merge 2017-03-14 18:23:23 +01:00
RENOUARD Jean Marie Ext IMT/OINIS
596918c3c3 Version 1.7.1 2017-03-14 18:21:19 +01:00
Jean-Marie Renouard
7fb353f810 Merge pull request #310 from emphazer/patch-1
Check whether hyperthreading is enabled or not.
2017-03-14 17:35:01 +01:00
Christoph Hansen
b7e1a99240 Check whether hyperthreading is enabled or not.
Since calculating the recommended value for "wsrep_slave_threads" using the number of physical cores is best practice for Intel CPUs where hyperthreading is activated.
2017-03-13 17:22:05 +01:00
root
e44c29bf23 MErge beetween all staff related to Galera Cluster 2017-03-08 19:18:47 +01:00
Jean-Marie Renouard
39f02cdcf4 Merge pull request #307 from jfcoz/master
add checks for wsrep_slave_FK_check and innodb_autoinc_lock_mode when…
2017-03-08 18:55:26 +01:00
Jean-Marie Renouard
9651818d77 Merge branch 'master' into master 2017-03-08 18:55:01 +01:00
Jean-Marie Renouard
df33e7ab5c Merge pull request #309 from ofigueroa/bugfix_gcs_fc_factor_evaluation
Bugfix resolve #308 : gcs.fc_factor parameter evaluation and the mess…
2017-03-08 18:39:37 +01:00
Oscar A. Figueroa
24b901363c Bugfix resolve #308 : gcs.fc_factor parameter evaluation and the message report, which referencing wsrep_slave_threads instead. 2017-03-08 11:50:02 +01:00
Jean-Marie Renouard
f988a23e78 Merge pull request #306 from ofigueroa/bugfix_unitialized_value
Resolved issue #304
2017-03-08 07:18:16 +01:00
jfcoz
f61cbce4f8 add checks for wsrep_slave_FK_check and innodb_autoinc_lock_mode when wsrep_slave_threads > 1 2017-03-07 17:53:36 +01:00
Oscar A. Figueroa
adb33d3c37 Resolved issue #304 2017-03-07 12:48:43 +01:00
root
f04b32c854 Use of uninitialized value #304
tidify script
2017-03-06 15:17:43 +01:00
root
48be29a288 issue #300 Performance schema shouldn t be installed on 5.5 version. 2017-02-14 09:40:52 +01:00
root
59238301bf Adding new indicators for Galera Cluster' 2017-02-13 18:08:28 +01:00
root
5aca8e2258 Update vulnerabilies list
Issue #297: decrement version if word before is present in CVe description'
2017-02-13 13:43:59 +01:00
Jean-Marie Renouard
9020779965 Merge pull request #298 from black-snow/patch-1
lil' lang fix (readme)
2017-02-13 13:25:46 +01:00
Jean-Marie Renouard
3d8b33e51d Merge pull request #299 from greg-kennedy/patch-1
Do not test skip_name_resolve if skip_networking is ON
2017-02-13 13:25:08 +01:00
Greg Kennedy
02f13fcb52 Do not test skip_name_resolve if skip_networking is ON
MySQL name resolution only applies to TCP/IP connections ( see lines 504 and 599 of mysql-server/sql/sql_connect.cc ).  Thus there is no reason to test, or suggest, setting skip_name_resolve if skip_networking exists and is turned on.
2017-02-08 11:10:48 -06:00
Ronald
cda3687f21 lil' lang fix 2017-02-08 17:33:44 +01:00
Jean-Marie RENOUARD
5f4da00055 Update git ignore list
Adding script to ident, update vulnerabilies list and generate USAGE file
2017-02-07 07:11:39 +01:00
Jean-Marie RENOUARD
f92a62f37a update USAGE information 2017-02-07 07:03:19 +01:00
Jean-Marie RENOUARD
871d984d1a Add advice for performance schema 2017-02-07 06:56:17 +01:00
Jean-Marie RENOUARD
7d8224a6e4 Update vulnerabilities list 2017-02-07 06:27:34 +01:00
Jean-Marie RENOUARD
490da41bcd Adding #289 adding warning info
#271 adding message prescision for in advces message
2017-02-06 22:34:08 +01:00
Jean-Marie Renouard
b37507aea6 Merge pull request #296 from bperel/master
Fix typo
2017-01-27 21:09:06 +01:00
Bruno Perel
97d1ea347f Fix typo 2017-01-27 15:57:57 +01:00
Jean-Marie Renouard
3be405bca5 Merge pull request #295 from acs-ferreira/patch-1
Some Markdown typos and fixes
2017-01-24 12:57:58 +01:00
Carlos Ferreira
de268044ff Some Markdown typos and fixes 2017-01-24 01:19:36 +01:00
root
6beed0b13c Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2017-01-23 17:34:27 +01:00
root
67e78592da #285 Argument "xxxM" isn t numeric in numeric ge (>=) 2017-01-23 17:32:47 +01:00
Jean-Marie Renouard
738672b1c4 Update README.md 2017-01-23 17:17:31 +01:00
Jean-Marie Renouard
06830661ca Update README.md 2017-01-23 17:16:06 +01:00
root
def15c2f8f Adding recommandations for Galera 2017-01-13 12:23:05 +01:00
Jean-Marie Renouard
ccb435904c Merge pull request #287 from git001/patch-2
Fix Argument "NULL" isn't numeric
2016-12-28 16:32:18 +01:00
git001
e454b30c61 Fix Argument "NULL" isn't numeric
Argument "NULL" isn't numeric in numeric ge (>=) at ./mysqltuner.pl line 305 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.
2016-12-28 10:52:33 +01:00
root
188f69c811 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-12-27 17:55:04 +01:00
root
a30c941eda Update vulnerabilities list 2016-12-27 17:53:46 +01:00
Jean-Marie Renouard
68ea229b31 Merge pull request #286 from mrqwer88/perlcritic_prototypes_warnings
Disable zero prototypes in few functions
2016-12-27 17:45:29 +01:00
Sergei A Mamonov
bb6b7ca623 Disable zero prototypes in few functions 2016-12-27 13:16:17 +03:00
Drew Schatt
ee792e73b5 Merge pull request #1 from major/master
Catching up.
2016-12-21 12:32:18 -08:00
Jean-Marie Renouard
55c7aa96bc Merge pull request #284 from i5513/patch-1
Allow to connect via socket with not default port
2016-12-21 00:09:26 +01:00
i5513
be1f4b48c4 Allow to connect via socket with not default port
Seems like it is necessary to specify the port when you have 2 instances runing and you want to connect via socket.
2016-12-20 10:35:41 +01:00
Jean-Marie RENOUARD
836fab638b Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-12-15 11:13:18 +01:00
Jean-Marie Renouard
791633c3ab Merge pull request #283 from mrqwer88/innodb_file_per_table_check
fix check innodb_file_per_table with skip-innodb
2016-12-15 08:26:38 +01:00
Sergei A Mamonov
1b04540a4c fix check innodb_file_per_table with skip-innodb 2016-12-12 14:19:49 +03:00
root
7f02c8655c Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-12-08 11:29:59 +01:00
root
22709a4517 #265 wrong table name 2016-12-08 11:29:50 +01:00
Jean-Marie Renouard
8004da96d2 Merge pull request #282 from jfcoz/master
query cache hit rate was not calculated
2016-12-08 11:21:54 +01:00
jfcoz
2dfb2a2cc9 query cache hit rate was not calculated when badprint "Query cache may be disabled by default due to mutex contention" 2016-12-08 09:45:38 +01:00
Jean-Marie Renouard
7082cbc678 Merge pull request #281 from mrqwer88/fix_in_log_file_recommandations
Fix in log file recommandations
2016-12-07 15:18:49 +01:00
Sergei A Mamonov
4bc3a50c2d fix code style in log_file_recommandations 2016-12-07 16:31:51 +03:00
Sergei A Mamonov
d3ea7ea342 fix error on show last start/shutdowns 2016-12-07 16:23:53 +03:00
root
2861883432 Perl Error #280 2016-12-05 09:31:03 +01:00
root
4d20ffea0c Doesn't work for remote server on AWS #279 2016-12-05 09:27:54 +01:00
root
7a0565d9e5 Detect Error and warning in error log #252
Detect last MySQL / MariaDB last shutdown and startup #253
2016-12-02 16:21:58 +01:00
root
7acf66f73c Bug on log file calculation 2016-12-02 15:27:38 +01:00
root
f7699b4515 #278 Escaping password items 2016-12-02 15:24:52 +01:00
Jean-Marie Renouard
57b30a2955 Merge pull request #276 from git001/patch-1
Fix Argument "NULL" isn't numeric
2016-11-29 09:14:33 +01:00
git001
caa785ec59 Fix Argument "NULL" isn't numeric
Argument "NULL" isn't numeric in numeric ge (>=) at mysqltuner.pl line 288 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.
[--]  +-- ROWS : 0
Argument "NULL" isn't numeric in numeric eq (==) at mysqltuner.pl line 343 (#1)
    (W numeric) The indicated string was fed as an argument to an operator
    that expected a numeric value instead.  If you're fortunate the message
    will identify which operator was so unfortunate.
[--]  +-- ENGIN : 0 (NULL)
Argument "NULL" isn't numeric in numeric lt (<) at mysqltuner.pl line 3847 (#1)
2016-11-28 20:39:47 +01:00
root
7aecc27e0e Update vulnerabilities list 2016-11-28 17:52:13 +01:00
root
ce7eefb3da Bug fix on Galera Gcache mem calculation 2016-11-28 17:51:46 +01:00
root
5be96339a1 Incorrect innodb log file size calculation #271 2016-11-28 17:48:22 +01:00
root
eac905b632 MariaDB GTID mode #272 2016-11-28 17:39:41 +01:00
Jean-Marie Renouard
c2f2d6591c Merge pull request #273 from arto-p/hiding_username_and_password_from_commandline
Hiding username and password from commandline
2016-11-16 17:57:39 +01:00
Jean-Marie Renouard
24b160c02e Merge pull request #274 from mrqwer88/README.ru_update
Update README.ru.md
2016-11-16 17:57:24 +01:00
fuar
dd1997e0c9 Minor grammar improvements to README.ru.md 2016-11-16 16:39:38 +03:00
Artur Penttinen
5a6742ee85 Hiding username and password from commandline
It is possible to spy username and password if command run
with --user/-pass options (ps -C mysqltuner.pl -F).
To hiding these added options --userenv/--passenv for
transfer MySQL username and password via environment
variables.
2016-11-16 11:05:33 +02:00
Sergei Mamonov
03d918fddf Update README.ru.md 2016-11-16 01:26:11 +03:00
Jean-Marie Renouard
4b1c44d374 Merge pull request #269 from michaelmawhinney/typofix
Minor spelling correction
2016-11-10 15:52:00 +01:00
Michael R Mawhinney Jr
947856901a Minor spelling correction 2016-11-09 22:29:34 -05:00
Jean-Marie Renouard
5ff291d6b9 Merge pull request #267 from quaisi/master
Fix typos
2016-11-05 18:11:04 +01:00
Simon
53d1c16068 Fix typos 2016-11-05 14:27:54 +00:00
Jean-Marie Renouard
63edacce29 Merge pull request #266 from quaisi/master
Fix typo in README.md
2016-11-03 22:55:11 +01:00
Simon
b6f5a6cb93 Fix typo in README.md 2016-11-03 20:06:06 +00:00
root
e6b57a84d3 New indicators from performance schema 2016-11-03 10:36:59 +01:00
root
5872fcc1ee #265 TOP 15 queries with temp table to disk
#260 Memory used > 100% ?
#258
2016-11-02 21:16:54 +01:00
root
6b9920902b Last modifications 2016-11-02 20:02:41 +01:00
Jean-Marie Renouard
51ea5925d1 Merge pull request #263 from henriquemoody/patch-1
Use single quotes around password
2016-10-27 21:17:13 +02:00
Jean-Marie Renouard
9daf5cf42e Merge pull request #262 from kn007/patch-1
Non importance changes
2016-10-27 21:16:16 +02:00
Henrique Moody
5a3873ece4 Use single quotes around password
Password may contain characters, like `$` and `!`, that may be interpreted by
the shell. Prevent it to happen by using single quotes.
2016-10-27 15:28:41 +02:00
Karl Chen
05c1e6eb75 Non importance changes 2016-10-24 17:25:07 +08:00
Karl Chen
f68b731498 Non importance changes 2016-10-24 17:21:56 +08:00
Karl Chen
4f1a6ec38b Non importance changes 2016-10-24 07:36:05 +08:00
Karl Chen
f4e46cdbc0 Non importance changes 2016-10-24 07:34:19 +08:00
Karl Chen
915be0fbe4 Non importance changes 2016-10-24 00:38:32 +08:00
Karl Chen
301e5f2291 Non importance changes 2016-10-24 00:32:48 +08:00
Jean-Marie Renouard
f88ce37923 Merge pull request #261 from kn007/patch-1
Something wrong to print
2016-10-23 11:09:31 +02:00
Karl Chen
7b3f2ce9a9 Something wrong to print 2016-10-23 13:42:01 +08:00
Jean-Marie Renouard
16406b6abe Merge pull request #259 from drAlberT/italian-translation
Italian translation
2016-10-18 21:54:19 +02:00
AlberT
177f8bb788 Fix misprint 2016-10-18 16:31:47 +02:00
drAlberT
7a37e62cd1 Italian translation finished 2016-10-18 16:29:49 +02:00
root
3235eb0502 Update indicator number 2016-10-18 15:18:28 +02:00
root
6a70adebd3 Full support performance schema
Update vulnerability list
Updade INTERNALS doc.
2016-10-18 14:55:13 +02:00
root
bbc04d848f #258 new rule for innodb log file size (25% of Buffer pool size) 2016-10-18 14:25:02 +02:00
drAlberT
29a78a1200 Translated up to FAQ (excluded)
removed trailing spaces too
2016-10-18 13:07:00 +02:00
AlberT
f6f54c563f Create README.it.md
Initial release .. just a copy of the original english file
2016-10-18 11:22:59 +02:00
root
cff9e62933 Adding new indicators from sys schema 2016-10-17 17:04:10 +02:00
root
c10c7e81ec Redundant indexes" 2016-10-10 19:03:40 +02:00
root
e684a45120 * TOP 15 most read tables
* TOP 15 most modified tables
* TOP 15 high select latency tables
* TOP 15 high insert latency tables
* TOP 15 high update latency tables
* TOP 15 high delete latency tables
2016-10-10 18:39:56 +02:00
root
101c13baed Typo fix 2016-10-10 18:18:26 +02:00
root
f826adecf2 * TOP 15 most read indexes
* TOP 15 most modified indexes
* TOP 15 higth select latency index
* TOP 15 higth insert latency index
* TOP 15 higth update latency index
* TOP 15 higth delete latency index
2016-10-10 18:14:52 +02:00
root
ad9228d029 * Event per wait total latency
* Event per wait read latency
* Event per wait write latency
2016-10-10 16:54:45 +02:00
root
16f0d5d9ff Adding * Event Wait by read bytes
* Event Wait by write bytes
2016-10-10 16:00:15 +02:00
root
7b46762a1a Adding pfs indicators related to File IO 2016-10-10 15:34:29 +02:00
root
af96e4c9cb Update Indicators list 2016-10-10 14:54:39 +02:00
root
5a87c9e00e Adding new Performance schema indicators 2016-10-10 14:09:18 +02:00
root
f71c2751c4 New vulnerability list 2016-10-10 14:07:15 +02:00
Jean-Marie Renouard
f32737d515 Update README.ru.md 2016-10-10 13:20:17 +02:00
Jean-Marie Renouard
9f382740bd Update README.md 2016-10-10 13:19:30 +02:00
Jean-Marie Renouard
3c53f7b391 Update README.md 2016-10-06 11:19:12 +02:00
Jean-Marie Renouard
8bbbc9bc80 Update README.md 2016-10-06 11:18:32 +02:00
root
50ece21b2d New indicators from performance schema
On the road to 1.7.x version
2016-10-06 10:44:58 +02:00
root
30616932d7 Adding Performance stat per user 2016-09-27 16:07:26 +02:00
root
e9835edc20 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-09-26 18:33:03 +02:00
root
20b9fa2a19 Included a lot of new indicators for PFS when using --pfstat or --verbose option 2016-09-26 18:32:35 +02:00
Jean-Marie Renouard
aa90562479 Update README.md 2016-09-26 16:02:36 +02:00
root
8263cbda27 Update doc 2016-09-26 16:00:20 +02:00
root
243c54eaa0 Adding --defaults-file to change credentials storage 2016-09-26 15:53:32 +02:00
Jean-Marie Renouard
dae7ac9219 Update README.md 2016-09-20 12:36:27 +02:00
Jean-Marie Renouard
99ad351b51 Update README.md 2016-09-20 12:31:04 +02:00
Jean-Marie Renouard
5588aa4931 Update README.md 2016-09-20 12:26:18 +02:00
Jean-Marie Renouard
64620feeac Update INTERNALS.md 2016-09-19 16:19:55 +02:00
Jean-Marie Renouard
e18bcd7038 Update INTERNALS.md 2016-09-19 16:18:35 +02:00
root
972bf2e4ae #193 adding some useful extraction for sysschema 2016-09-19 16:13:22 +02:00
root
2b6a0c3522 Adding Comment with sys request 2016-09-12 16:43:20 +02:00
root
33dfabd940 #237 removing ? more info ? 2016-09-12 14:18:14 +02:00
Jean-Marie Renouard
0822cc1f91 Merge pull request #246 from rwky/master
Fixed #245 error when checking for passwordless accounts on MySQL < 5.5
2016-09-04 09:25:50 +02:00
Rowan Wookey
9f777ed47b Fixed #245 error when checking for passwordless accounts on MySQL < 5.5 2016-09-03 15:11:09 +01:00
Jean-Marie RENOUARD
062b50fe72 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-08-09 11:43:12 +02:00
Jean-Marie RENOUARD
cd636fc28f Update 2016-08-09 11:43:09 +02:00
1111 changed files with 17753 additions and 2537 deletions

6
.dockerignore Normal file
View file

@ -0,0 +1,6 @@
*.md
build/**
Makefile
.perltidy
*.json
*.png

View file

@ -0,0 +1,74 @@
# This is a basic workflow to help you get started with Actions
name: Compile MT examples for MariaDB
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
mysql_examples:
# This workflow contains a single job called "build"
strategy:
matrix:
MARIADB_VERSION: [10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9]
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Setup MySQL Tuner repository
uses: actions/checkout@v4
- name: Set up MySQL
uses: shogo82148/actions-setup-mysql@v1
with:
distribution: 'mariadb'
root-password: "root"
mysql-version: "${{ matrix.MARIADB_VERSION }}"
- name: Injecting credentials
run: |
echo -e "[client]\nuser=root\npassword=root\nhost=127.0.0.1\nprotocol=TCP" > $HOME/.my.cnf
- name: Cloning test_db dataset
run: |
git clone https://github.com/datacharmer/test_db.git
- name: Test database is Up and Running
run: |
sleep 5s
sudo netstat -ltpn
mysql -e 'select version();'
- name: Injecting test_db dataset
run: |
cd test_db
mysql -e 'CREATE DATABASE data;'
mysql data< ./employees.sql
cd -
rm -rf test_db
# Runs a single command using the runners shell
- name: Json Run verbose mode with dumpdir result
run: |
mkdir -p ./examples/github/result/mariadb/${{ matrix.MARIADB_VERSION }}
sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose --dumpdir=./examples/github/result/mariadb/${{ matrix.MARIADB_VERSION }} --json | tee -a ./examples/github/result/mariadb/${{ matrix.MARIADB_VERSION }}/result.json
- name: Standard Run verbose mode without dumpdir result
run: |
sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose | tee -a ./examples/github/result/mariadb/${{ matrix.MARIADB_VERSION }}/result.txt
- name: Adding examples to Git
run: |
git add ./examples/github/result/mariadb/${{ matrix.MARIADB_VERSION }}/* || true
- name: Run the Action Commit
uses: devops-infra/action-commit-push@master
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
add_timestamp: true
commit_prefix: "[AUTO]"
commit_message: "Updates MariaDb result examples (via Actions)"
force: false
target_branch: examples-mariadb-${{ matrix.MARIADB_VERSION }}

View file

@ -0,0 +1,74 @@
# This is a basic workflow to help you get started with Actions
name: Compile MT examples For MySQL
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
mysql_examples:
# This workflow contains a single job called "build"
strategy:
matrix:
MYSQL_VERSION: [5.6, 5.7, 8.0]
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Setup MySQL Tuner repository
uses: actions/checkout@v4
- name: Set up MySQL
uses: shogo82148/actions-setup-mysql@v1
with:
distribution: 'mysql'
root-password: "root"
mysql-version: "${{ matrix.MYSQL_VERSION }}"
- name: Injecting credentials
run: |
echo -e "[client]\nuser=root\npassword=root\nhost=127.0.0.1\nprotocol=TCP" > $HOME/.my.cnf
- name: Cloning test_db dataset
run: |
git clone https://github.com/datacharmer/test_db.git
- name: Test database is Up and Running
run: |
sleep 5s
sudo netstat -ltpn
mysql -e 'select version();'
- name: Injecting test_db dataset
run: |
cd test_db
mysql -e 'CREATE DATABASE data;'
mysql data< ./employees.sql
cd -
rm -rf test_db
# Runs a single command using the runners shell
- name: Json Run verbose mode with dumpdir result
run: |
mkdir -p ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}
sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose --dumpdir=./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }} --json | tee -a ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/result.json
- name: Standard Run verbose mode without dumpdir result
run: |
sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose | tee -a ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/result.txt
- name: Adding examples to Git
run: |
git add ./examples/github/result/mysql/${{ matrix.MYSQL_VERSION }}/* || true
- name: Run the Action Commit
uses: devops-infra/action-commit-push@master
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
add_timestamp: true
commit_prefix: "[AUTO]"
commit_message: "Updates MySQL result examples (via Actions)"
force: false
target_branch: examples-mysql-${{ matrix.MYSQL_VERSION }}

41
.github/workflows/publish_release.yml vendored Normal file
View file

@ -0,0 +1,41 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release:
Please consult commit log and issue tracker on Github for more information.
draft: true
prerelease: false
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_content_type: application/zip
- name: Publish release
uses: StuYarrow/publish-release@v1.1.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
id: ${{ steps.create_release.outputs.id }}

77
.github/workflows/pull_request.yml vendored Normal file
View file

@ -0,0 +1,77 @@
# This is a basic workflow to help you get started with Actions
name: CI for MySQL Tuner for MySQL 5.7 and 8.0
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
test_help:
strategy:
matrix:
MYSQL_VERSION: [5.7, 8.0]
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Setup MySQL Tuner repository
uses: actions/checkout@v4
- name: Set up MySQL
uses: mirromutth/mysql-action@v1.1
with:
mysql root password: "root"
mysql version: "${{ matrix.MYSQL_VERSION }}"
- name: Injecting credentials
run: |
echo -e "[client]\nuser=root\npassword=root\nhost=127.0.0.1\nprotocol=TCP" > $HOME/.my.cnf
- name: waiting database
run: |
sleep 20s
- name: Run help mode
run: |
sudo perl ./mysqltuner.pl --help
test_with_empty_db:
needs: test_help
strategy:
matrix:
MYSQL_VERSION: [5.7, 8.0]
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Setup MySQL Tuner repository
uses: actions/checkout@v4
- name: Set up MySQL
uses: mirromutth/mysql-action@v1.1
with:
mysql root password: "root"
mysql version: "${{ matrix.MYSQL_VERSION }}"
- name: Injecting credentials
run: |
echo -e "[client]\nuser=root\npassword=root\nhost=127.0.0.1\nprotocol=TCP" > $HOME/.my.cnf
- name: waiting database
run: |
sleep 20s
# Runs a single command using the runners shell
- name: Run verbose mode
run: sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose

56
.github/workflows/run_mt_with_db.yml vendored Normal file
View file

@ -0,0 +1,56 @@
# This is a basic workflow to help you get started with Actions
name: Test with databases
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
run_mt_with_db:
strategy:
matrix:
MYSQL_VERSION: [5.7, 8.0]
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Setup MySQL Tuner repository
uses: actions/checkout@v4
- name: Set up MySQL
uses: mirromutth/mysql-action@v1.1
with:
mysql root password: "root"
mysql version: "${{ matrix.MYSQL_VERSION }}"
- name: Injecting credentials
run: |
echo -e "[client]\nuser=root\npassword=root\nhost=127.0.0.1\nprotocol=TCP" > $HOME/.my.cnf
- name: Cloning test_db dataset
run: |
git clone https://github.com/datacharmer/test_db.git
- name: Injecting test_db dataset
run: |
sleep 5s
cd test_db
netstat -ltpn
mysql -e 'select version();'
mysql -e 'CREATE DATABASE data;'
mysql data< ./employees.sql
cd -
rm -rf test_db
# Runs a single command using the runners shell
- name: Run help mode
run: perl ./mysqltuner.pl --help
# Runs a single command using the runners shell
- name: Run verbose mode
run: sudo perl ./mysqltuner.pl --user=root --pass=root --protocol tcp --verbose

View file

@ -0,0 +1,48 @@
# This is a basic workflow to help you get started with Actions
name: CVE and Docs update
# Controls when the workflow will run
on:
# Scheudle every sunday at 00:00
#schedule:
# - cron: '0 0 * * 0'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Setup MySQL Tuner repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
pwd
cd build
pwd
sudo bash ./installStaff.sh
- name: Update CVE and docs
run: |
pwd
cd ./build
pwd
sudo bash ./updateStaff.sh
- name: Run the Action
uses: devops-infra/action-commit-push@master
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
add_timestamp: true
commit_prefix: "[AUTO]"
commit_message: "Updates CVE and docs (via Actions)"
force: false
target_branch: "cve-docs"

17
.gitignore vendored
View file

@ -3,3 +3,20 @@ build/mysqltuner.spec
build/build.log
build/cve*
build/vulnerabilities*
*.bak
Vagrant/Vagrantfile
Vagrant/data
Vagrant/.vagrant
contents
contents/*
reports_*
golang/prog-*
.vscode
test_db/**
result*
result_*
sql/*.sql
sql/*.csv
cve.csv
default*.cnf
.env

View file

@ -1,48 +0,0 @@
sudo: false
language: perl
perl:
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"
matrix:
include:
- addons:
mariadb: "5.5"
perl: "5.20"
- addons:
mariadb: "10.0"
perl: "5.20"
- addons:
mariadb: "10.1"
perl: "5.20"
- addons:
mariadb: "10.2"
perl: "5.20"
before_install:
- git clone git://github.com/haarg/perl-travis-helper
- source perl-travis-helper/init
- build-perl
- perl -V
install:
- cpanm --quiet --notest Data::Dumper
- cpanm --quiet --notest JSON
- cpanm --quiet --notest Perl::Critic
- cpanm --quiet --notest Text::Template
before_script:
- echo -e "[client]\nuser=root\npassword=\"\"" > .my.cnf
- chmod 600 .my.cnf
script:
- perlcritic mysqltuner.pl
- ./mysqltuner.pl --idxstat --dbstat

View file

@ -27,7 +27,7 @@ following restrictions:
respect the opinions of others.
##Before submitting an issue##
## Before submitting an issue
1. Upgrade to the latest version of MySQLTuner and see if the problem remains
@ -47,7 +47,7 @@ Good bug reports are extremely helpful &mdash; thank you!
Guidelines for bug reports:
1. **Use the [GitHub issue search](https://github.com/major/MySQLTuner-perl/search?type=Issues)** &mdash; check if the issue has already been
1. **Use the [GitHub issue search]** &mdash; check if the issue has already been
reported.
2. **Check if the bug has already been fixed** &mdash; try to reproduce it using the
@ -100,13 +100,13 @@ to MySQLTuner will be evaluated on a combination of scope (how well it fits into
project), maintenance burden and general usefulness.
Creating something great often means saying no to seemingly good ideas. Don't
dispair if your feature request isn't accepted, take action! Fork the
despair if your feature request isn't accepted, take action! Fork the
repository, build your idea and share it with others. We released MySQLTuner under
the MIT License for this purpose precisely. Open source works best when smart
and dedicated people riff off of each others' ideas to make even greater things.
## New feature request ##
* You can find Enhancement asked by community at [Enhancement issue](https://github.com/major/MySQLTuner-perl/labels/enhancement)
## New feature request
You can find Enhancement asked by community at [Enhancement issue]
<a name="pull-requests"></a>
## Pull requests
@ -127,7 +127,7 @@ these guidelines is the best way to get your work included in MySQLTuner.
<a name="git-flow"></a>
#### Git Flow for pull requests
1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
1. [Fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) the project, clone your fork,
and configure the remotes:
```bash
@ -153,8 +153,7 @@ these guidelines is the best way to get your work included in MySQLTuner.
git checkout -b <topic-branch-name>
```
4. Commit your changes in logical chunks. Please adhere to these [git commit
message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
4. Commit your changes in logical chunks. Please adhere to these [git commit message guidelines]
or your code is unlikely be merged into the main project. Use Git's
[interactive rebase](https://help.github.com/articles/interactive-rebase)
feature to tidy up your commits before making them public.
@ -171,18 +170,23 @@ these guidelines is the best way to get your work included in MySQLTuner.
git push origin <topic-branch-name>
```
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
with a clear title and description.
7. [Open a Pull Request] with a clear title and description.
**IMPORTANT**: By submitting a patch, you agree to allow the project owner to
license your work under the [GPLv3 License](https://en.wikipedia.org/wiki/GNU_General_Public_License).
license your work under the [GPLv3 License].
Copy of the license is available at [LICENSE](https://github.com/major/MySQLTuner-perl/blob/master/LICENSE)
Copy of the license is available at [LICENSE]
<a name="code-conventions"></a>
#### MySQLTuner Code Conventions
## MySQLTuner Code Conventions
1. Check code convention using **perltidy** and **perlcritic**
2. Don't manually update the version number in `mysqltuner.pl`.
2. Don't manually update the version number in `mysqltuner.pl`.
[Enhancement issue]:https://github.com/major/MySQLTuner-perl/labels/enhancement
[GitHub issue search]:https://github.com/major/MySQLTuner-perl/search?type=Issues
[git commit message guidelines]:http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
[Open a Pull Request]:https://help.github.com/articles/using-pull-requests/
[GPLv3 License]:https://en.wikipedia.org/wiki/GNU_General_Public_License
[LICENSE]:https://github.com/major/MySQLTuner-perl/blob/master/LICENSE

1
CURRENT_VERSION.txt Normal file
View file

@ -0,0 +1 @@
2.5.4

31
Dockerfile Normal file
View file

@ -0,0 +1,31 @@
FROM ubuntu:latest
LABEL maintainer="jmrenouard@gmail.com"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt upgrade -y && apt-get install -yq --no-install-recommends \
apt-utils \
curl \
wget \
perl \
perl-doc \
mysql-client \
libjson-perl \
libtext-template-perl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /results
RUN apt clean all
WORKDIR /
COPY ./mysqltuner.pl /mysqltuner.pl
COPY ./vulnerabilities.csv /vulnerabilities.txt
COPY ./basic_passwords.txt /basic_passwords.txt
COPY ./template_example.tpl /template.tpl
ENTRYPOINT [ "perl", "/mysqltuner.pl", "--passwordfile", "/basic_passwords.txt",\
"--cvefile", "/vulnerabilities.txt", "--nosysstat", "--defaults-file", \
"/defaults.cnf", "--dumpdir", "/results", "--outputfile", \
"/results/mysqltuner.txt", "--template", "/template.tpl", \
"--reportfile", "/results/mysqltuner.html" ]
CMD ["--verbose" ]

31
FEATURES.md Normal file
View file

@ -0,0 +1,31 @@
Features list for option: --feature (dev only)
---
* cve_recommendations
* log_file_recommendations
* make_recommendations
* mariadb_aria
* mariadb_connect
* mariadb_galera
* mariadb_rockdb
* mariadb_spider
* mariadb_threadpool
* mariadb_tokudb
* mariadb_xtradb
* mysql_databases
* mysql_indexes
* mysql_innodb
* mysql_myisam
* mysql_pfs
* mysql_routines
* mysql_setup
* mysql_stats
* mysql_table_structures
* mysql_tables
* mysql_triggers
* mysql_views
* security_recommendations
* system_recommendations
* validate_mysql_version
* validate_tuner_version

View file

@ -1,271 +1,424 @@
## MySQLTuner Internals
## Table of contents
* [MySQLTuner steps](#mysqltuner-steps)
* [Get login information steps](#mysqltuner-get-login-information-steps)
* [System checks](#mysqltuner-system-checks)
* [Server version checks](#mysqltuner-server-version-checks)
* [MySQL Storage engine general information](#mysql-storage-engine-general-information)
* [Security checks](#mysqltuner-security-checks)
* [CVE checks](#mysqltuner-cve-checks)
* [Database information](#mysqltuner-database-information)
* [Index information](#mysqltuner-index-information)
* [Connections information](#mysqltuner-connections-information)
* [Server information](#mysqltuner-server-information)
* [Sort, join and temp table information](#mysqltuner-sort-join-and-temp-table-information)
* [Global buffer information](#mysqltuner-global-buffer-information)
* [Query cache checks](#mysqltuner-query-cache-checks)
* [Slow queries checks](#mysqltuner-slow-queries-checks)
* [Replication checks](#mysqltuner-replication-checks)
* [InnoDB information](#mysqltuner-innodb-information)
* [ARIADB information](#mysqltuner-ariadb-information)
* [MYISAM information](#mysqltuner-myisam-information)
* [GALERA information](#mysqltuner-galera-information)
* [TOKUDB information](#mysqltuner-tokudb-information)
* [ThreadPool information](#mysqltuner-threadpool-information)
## MySQLTuner steps
* Header Print
* Get login information
* Set up some OS variables
* Toss variables/status into hashes
* Get information about the tuning connexion
* Check current MySQL version
* Suggest 64-bit upgrade
* Show enabled storage engines
* Show informations about databases (option: --dbstat)
* Show informations about indexes (option: --idxstat)
* Display some security recommendations
* Calculate everything we need
* Print the server stats
* Print MyISAM stats
* Print InnoDB stats
* Print AriaDB stats
* Print replication info
* Make recommendations based on stats
* Close reportfile if needed
* Dump result if debug is on
## MySQLTuner get login information steps
* Is a login possible?
* Force socket?
* Remote connection?
* _Specifying available RAM is required_
* Got user/pass on command line?
* mysql-quickbackup credentials available?
* Plesk credentials available?
* DirectAdmin credentials available?
* Debian maintenance account credentials available?
* Just try a login
* If working, and .my.cnf isn't there, **WARNING**
* If working, and .my.cnf is there, okay
* Prompt for creds on the console
## MySQLTuner system checks
* 32-bit w/>2GB RAM check
* Check number of opened ports (warning if more than 9 ports opened)
* Check 80, 8080, 443 and 8443 ports if warning are raised if there are opened
* Check if some banned ports are not opened (option --bannedports separated by comma)
* Check if non kernel and user process except mysqld are not using more than 15% of total physical memory)
* Check vm.swapiness
* Check /etc/security/limit.conf
* Check sysctl entries: sunrpc.tcp_slot_entries, vm.swappiness, fs.aio-fs-nr
* Check mount point
* Check Ethernet card
* Check load average
## MySQLTuner Server version checks
* EOL MySQL version check
* Currently MySQL < 5.1 are EOF considerated.
* Using 5.5+ version of MySQL for performance issue (asynchronous IO).
## MySQL Storage engine general information
* Get storage engine counts/stats
* Check for DB engines that are enabled but unused
* Look for fragmented tables
* Look for auto-increments near capacity
* Look for table with autoincrement with value near max capacity
## MySQLTuner security checks
* Is anonymous user present?
* Users without passwords
* Users w/username as password
* Users w/o host restriction
* Weak password check (possibly using cracklib later?)
* Using basic_passwords.txt as password database
* Password list checks can be avoid (option: --skippassword)
## MySQLTuner CVE vulnerabilities detection
* option: --cvefile
* Check if your MariaDB or MySQL version contains CVE bulletins.
## MySQLTuner database information
* Per database information
* Tables number
* Rows number
* Total size
* Data size
* Percentage of data size
* Index size
* Percentage of index size
* Collation number
* Check that there is only one collation for all table in a database
* Check that there is only one collation for ll table columns in a database
* Check that there is only one storage engine per user database
## MySQLTuner index information
* Top 10 worth selectivity index
* Per index information
* Index Cardinality
* Index Selectivity
* Misc information about index definition
* Misc information about index size
## MySQLTuner Connections information
* Highest usage of available connections
* Percentage of used connections (<85%)
* Percentage of aborted connections (<3%)
## MySQLTuner server information
* Uptime: If MySQL started within last 24 hours
* Bytes received and sent
* Number of connections
* Percentage between reads and writes
* Is binary log activated ?
* Is GTID mode activated ?
## MySQLTuner sort, join and temp table information
* Max memory temporary table size allowed.
* Percentage of sort using temporary table (<10%)
* Number of join performed without using indexes (<250)
* Percentage of temporary table written on disk(<25%)
* Thread cache (=4)
* Thread cache hit ratio (>50%) if thread_handling is different of pools-of-threads
* Table cache hit ratio(>2°%)
* Percentage of open file and open file limit(<85%)
* Percentage of table locks (<95%)
* Percentage of binlog cache lock (<90%)
## MySQLTuner global buffer information
* Key Buffer
* Max Tmp Table
* Per Thread Buffer
* Read Buffer
* Read RND Buffer
* Sort Buffer
* Thread stack
* Join Buffer
* Binlog Cache Buffers size if activated
## MySQLTuner query cache checks
* Is Query cache activated ?
* Query Cache Buffers
* Query Cache DISABLED, ALL REQUEST or ON DEMAND
* Query Cache Size
* Query cache hit ratio (cache efficienty)
## MySQLTuner memory checks
* Get total RAM/swap
* Is there enough memory for max connections reached by MySQL ?
* Is there enough memory for max connections allowed by MySQL ?
* Max percentage of memory used(<85%)
## MySQLTuner slow queries checks
* Percentage of Slow queries (<5%)
## MySQLTuner replication checks
* Is server replication configuarted as slave ?
* SQL replacation thread running ?
* IO replacation thread running ?
* Replication lag in seconds
* Is Slave configuratedd in read only ?
## MySQLTuner InnoDB information
* InnoDB Buffer Pool Size
* If possible, innodb_buffer_pool_size should be greater data and index size for Innodb Table
* Innodb_buffer_pool_size should around 75 to 80 % of the available system memory.
* InnoDB Buffer Pool Instances
* MySQL needs 1 instanes per 1Go of Buffer Pool
* innodb_buffer_pool instances = round(innodb_buffer_pool_size / 1Go)
* innodb_buffer_pool instances must be equals or lower than 64
* InnoDB Buffer Pool Usage
* If more than 20% of InnoDB buffer pool is not used, MySQLTuner raise an alert.
* InnoDB Read effiency
* Ratio of read without locks
* InnoDB Write effiency
* Ratio of write without locks
* InnoDB Log Waits
* Checks that no lock is used on Innodb Log.
* InnoDB Chunk Size
* Check InnoDB Buffer Pool size is a multiple of InnoDB Buffer Pool chunk size * InnoDB Buffer Pool instances
## MySQLTuner ARIADB information
* Is Aria indexes size is greater than page cache size ?
* Page cache read hit ratio (>95%)
* Page cache write hit ratio (>95%)
## MySQLTuner MYISAM information
* Key buffer usage (>90%)
* Is MyISAM indexes size is greater than key buffer size ?
* Key buffer read hit ratio (>95%)
* Key buffer write hit ratio (>95%)
## MySQLTuner Galera information
* wsrep_ready cluster is ready
* wsrep_connected node is connected to other nodes
* wsrep_cluster_name is defined.
* wsrep_node_name is defined.
* Check thet notification script wsrep_notify_cmd is defined
* wsrep_cluster_status PRIMARY /NON PRIMARY.
* PRIMARY : Coherent cluster
* NO PRIMARY : cluster gets several states
* wsrep_ local_state_comment: Node state
* SYNCED (uptodate),
* DONOR(sending information to another node)
* Joiner(Try to reach cluster group)
* SYNCED state able to read/write
* wsrep_cluster_conf_id configuration level must be identical in all nodes
* wsrep_last_commited committed level must be identical in all nodes
* Look for tables without primary keys
* Look for non InnoDB tables for Galera
* Variable innodb_flush_log_at_trx_commit should be set to 0.
* Check that there is 3 or 5 members in Galera cluster.
* Check that xtrabackup is used for SST method with wsrep_sst_method variable.
* Check variables wsrep_OSU_method is defined to TOI for updates.
* Check that there is no certification failures controlling wsrep_local_cert_failures status.
## MySQLTuner TokuDB information
* tokudb_cache_size
* tokudb_directio
* tokudb_empty_scan
* tokudb_read_block_size
* tokudb_commit_sync
* tokudb_checkpointing_period
* tokudb_block_size
* tokudb_cleaner_iterations
* tokudb_fanout
## MySQLTuner Thread pool information
* thread_pool_size between 16 to 36 for Innodb usage
* thread_pool_size between 4 to 8 for MyIsam usage
## MySQLTuner Internals
[!["Buy Us A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/jmrenouard)
## Table of contents
- [MySQLTuner Internals](#mysqltuner-internals)
- [Table of contents](#table-of-contents)
- [MySQLTuner steps](#mysqltuner-steps)
- [MySQLTuner get login information steps](#mysqltuner-get-login-information-steps)
- [MySQLTuner system checks](#mysqltuner-system-checks)
- [MySQLTuner Server version checks](#mysqltuner-server-version-checks)
- [Mysql error log file analysis](#mysql-error-log-file-analysis)
- [MySQL Storage engine general information](#mysql-storage-engine-general-information)
- [MySQLTuner security checks](#mysqltuner-security-checks)
- [MySQLTuner CVE vulnerabilities detection](#mysqltuner-cve-vulnerabilities-detection)
- [MySQLTuner database information](#mysqltuner-database-information)
- [MySQLTuner index information](#mysqltuner-index-information)
- [MySQLTuner Connections information](#mysqltuner-connections-information)
- [MySQLTuner server information](#mysqltuner-server-information)
- [MySQLTuner sort, join and temp table information](#mysqltuner-sort-join-and-temp-table-information)
- [MySQLTuner global buffer information](#mysqltuner-global-buffer-information)
- [MySQLTuner query cache checks](#mysqltuner-query-cache-checks)
- [MySQLTuner memory checks](#mysqltuner-memory-checks)
- [MySQLTuner slow queries checks](#mysqltuner-slow-queries-checks)
- [MySQLTuner replication checks](#mysqltuner-replication-checks)
- [MySQLTuner InnoDB information](#mysqltuner-innodb-information)
- [MySQLTuner ARIADB information](#mysqltuner-ariadb-information)
- [MySQLTuner MYISAM information](#mysqltuner-myisam-information)
- [MySQLTuner Galera information](#mysqltuner-galera-information)
- [MySQLTuner TokuDB information](#mysqltuner-tokudb-information)
- [MySQLTuner XtraDB information](#mysqltuner-xtradb-information)
- [MySQLTuner Connect information](#mysqltuner-connect-information)
- [MySQLTuner Spider information](#mysqltuner-spider-information)
- [MySQLTuner RocksDb information](#mysqltuner-rocksdb-information)
- [MySQLTuner Thread pool information](#mysqltuner-thread-pool-information)
- [MySQLTuner performance schema and sysschema information](#mysqltuner-performance-schema-and-sysschema-information)
## MySQLTuner steps
* Header Print
* Get login information
* Set up some OS variables
* Toss variables/status into hashes
* Get information about the tuning connection
* Check current MySQL version
* Suggest 64-bit upgrade
* Analyze mysqld error log file
* Show enabled storage engines
* Show informations about databases (option: --dbstat)
* Show informations about indexes (option: --idxstat)
* Display some security recommendations
* Calculate everything we need
* Print the server stats
* Print MyISAM stats
* Print InnoDB stats
* Print AriaDB stats
* Print replication info
* Make recommendations based on stats
* Close reportfile if needed
* Dump result if debug is on
## MySQLTuner get login information steps
* Is a login possible?
* Force socket?
* Remote connection?
* _Specifying available RAM is required_
* Got user/pass on command line?
* mysql-quickbackup credentials available?
* Plesk credentials available?
* DirectAdmin credentials available?
* Debian maintenance account credentials available?
* Just try a login
* If working, and .my.cnf isn't there, **WARNING**
* If working, and .my.cnf is there, okay
* Prompt for creds on the console
## MySQLTuner system checks
* Check whether more than 2GB RAM present if on 32-bit OS
* Check number of opened ports (warn when more than 9 ports opened)
* Check 80, 8080, 443 and 8443 ports if warning is raised if they are opened
* Check if some banned ports are not opened (option --bannedports separated by comma)
* Check if non kernel and user process except mysqld are not using more than 15% of total physical memory
* Check vm.swapiness
* Check /etc/security/limit.conf
* Check sysctl entries: sunrpc.tcp_slot_entries, vm.swappiness, fs.aio-fs-nr
* Check mount point
* Check Ethernet card
* Check load average
## MySQLTuner Server version checks
* EOL MySQL version check
* Currently MySQL < 5.1 are considered EOL
* Using 5.5+ version of MySQL for performance issue (asynchronous IO)
## Mysql error log file analysis
* Look for potential current error log file name
* Check permission on error log file
* Check size on error log file
* Check error and warning on error log file
* Find last start and shutdown on error log file
## MySQL Storage engine general information
* Get storage engine counts/stats
* Check for DB engines that are enabled but unused
* Look for fragmented tables
* Look for auto-increments near capacity
* Look for tables with auto-increment with value near max capacity
## MySQLTuner security checks
* Is anonymous user present?
* Users without passwords
* Users with username as password
* Users without host restriction
* Weak password check (possibly using cracklib later?)
* Using basic_passwords.txt as password database
* Password list checks can be avoided (option: --skippassword)
## MySQLTuner CVE vulnerabilities detection
* option: --cvefile
* Check if your MariaDB or MySQL version contains CVE entries.
## MySQLTuner database information
* Performance analysis parameter checks
* Per database information
* Tables number
* Rows number
* Total size
* Data size
* Percentage of data size
* Index size
* Percentage of index size
* Collation number
* Check that there is only one collation for all tables in database
* Check that there is only one collation for all table columns in database
* Check that there is only one storage engine per user database
## MySQLTuner index information
* Top 10 worth selectivity index
* Per index information
* Index Cardinality
* Index Selectivity
* Misc information about index definition
* Misc information about index size
## MySQLTuner Connections information
* Highest usage of available connections
* Percentage of used connections (<85%)
* Percentage of aborted connections (<3%)
## MySQLTuner server information
* Uptime: whether MySQL started within last 24 hours
* Bytes received and sent
* Number of connections
* Percentage between reads and writes
* Is binary log activated?
* Is GTID mode activated?
## MySQLTuner sort, join and temp table information
* Max memory temporary table size allowed.
* Percentage of sort using temporary table (<10%)
* Number of join performed without using indexes (<250)
* Percentage of temporary table written on disk (<25%)
* Thread cache (=4)
* Thread cache hit ratio (>50%) if thread_handling is different of pools-of-threads
* Table cache hit ratio (>2°%)
* Table cache definition should be upper that total number of tables or in autoresizing mode
* Percentage of open file and open file limit (<85%)
* Percentage of table locks (<95%)
* Percentage of binlog cache lock (<90%)
## MySQLTuner global buffer information
* Key Buffer
* Max Tmp Table
* Per Thread Buffer
* Read Buffer
* Read RND Buffer
* Sort Buffer
* Thread stack
* Join Buffer
* Binlog Cache Buffers size if activated
## MySQLTuner query cache checks
* Is Query cache activated?
* Query Cache Buffers
* Query Cache DISABLED, ALL REQUEST or ON DEMAND
* Query Cache Size
* Query cache hit ratio (cache efficiency)
## MySQLTuner memory checks
* Get total RAM/swap
* Is there enough memory for max connections reached by MySQL?
* Is there enough memory for max connections allowed by MySQL?
* Max percentage of memory used (<85%)
## MySQLTuner slow queries checks
* Percentage of Slow queries (<5%)
## MySQLTuner replication checks
* Is server replication configured as slave?
* SQL replication thread running?
* IO replication thread running?
* Replication lag in seconds (Seconds_behind_master)
* Is Slave configured in read only?
* Replication type ROW, MIX, STMT
* Replication Semisync master
* Replication Semisync slave
* XA support activated
* Replication started?
## MySQLTuner InnoDB information
* InnoDB Buffer Pool Size
* If possible, innodb_buffer_pool_size should be greater than data and index size for Innodb Table
* Innodb_buffer_pool_size should be around 75% to 80% of the available system memory.
* InnoDB Buffer Pool Instances
* MySQL needs 1 instance per 1Go of Buffer Pool
* innodb_buffer_pool instances = round(innodb_buffer_pool_size / 1Go)
* innodb_buffer_pool instances must be equal to or lower than 64
- A bug in MySQL 5.6 causes SHOW VARIABLES to report an innodb_buffer_pool_instances value of 8 when innodb_buffer_pool_size is less than 1GB and only one buffer pool instance is present (Bug #18343670).
* InnoDB Buffer Pool Usage
* If more than 20% of InnoDB buffer pool is not used, raise an alert.
* InnoDB Buffer Pool Log Size
* InnoDB total log file size should be 25% of innodb_buffer_pool_size
* InnoDB Read efficiency
* Ratio of read without locks
* InnoDB Write efficiency
* Ratio of write without locks
* InnoDB Log Waits
* Checks that no lock is used on Innodb Log.
* InnoDB Chunk Size
* Check InnoDB Buffer Pool size is a multiple of InnoDB Buffer Pool chunk size * InnoDB Buffer Pool instances
## MySQLTuner AriaDB information
* Is Aria indexes size greater than page cache size?
* Page cache read hit ratio (>95%)
* Page cache write hit ratio (>95%)
## MySQLTuner MyISAM information
* Key buffer usage (>90%)
* Is MyISAM indexes size is greater than key buffer size ?
* Key buffer read hit ratio (>95%)
* Key buffer write hit ratio (>95%)
## MySQLTuner Galera information
* wsrep_ready cluster is ready
* wsrep_connected node is connected to other nodes
* wsrep_cluster_name is defined.
* wsrep_node_name is defined.
* Check thet notification script wsrep_notify_cmd is defined
* wsrep_cluster_status PRIMARY /NON PRIMARY.
* PRIMARY : Coherent cluster
* NO PRIMARY : cluster gets several states
* wsrep_ local_state_comment: Node state
* SYNCED (uptodate),
* DONOR (sending information to another node)
* Joiner (try to reach cluster group)
* SYNCED state able to read/write
* wsrep_cluster_conf_id configuration level must be identical in all nodes
* wsrep_slave_thread is between 3 or 4 times number of CPU core.
* gcs.limit should be equal to wsrep_slave_threads * 5
* gcs.fc_factor should be equal to 0.8
* Flow control fraction should be lower than 0.02 (wsrep_flow_control_paused < 0.02)
* wsrep_last_commited committed level must be identical in all nodes
* Look for tables without primary keys
* Look for non InnoDB tables for Galera
* Variable innodb_flush_log_at_trx_commit should be set to 0.
* Check that there are 3 or 5 members in Galera cluster.
* Check that xtrabackup is used for SST method with wsrep_sst_method variable.
* Check variables wsrep_OSU_method is defined to TOI for updates.
* Check that there is no certification failures controlling wsrep_local_cert_failures status.
## MySQLTuner TokuDB information
* tokudb_cache_size
* tokudb_directio
* tokudb_empty_scan
* tokudb_read_block_size
* tokudb_commit_sync
* tokudb_checkpointing_period
* tokudb_block_size
* tokudb_cleaner_iterations
* tokudb_fanout
## MySQLTuner XtraDB information
* Not implemented
## MySQLTuner Connect information
* Not implemented
## MySQLTuner Spider information
* Not implemented
## MySQLTuner RocksDb information
* Not implemented
## MySQLTuner Thread pool information
* thread_pool_size between 16 to 36 for Innodb usage
* thread_pool_size between 4 to 8 for MyISAM usage
## MySQLTuner performance schema and sysschema information
* Check that Performance schema is activated for 5.6+ version
* Check that Performance schema is deactivated for 5.5- version
* Check that Sys schema is installed
* Sys Schema version
* Top user per connection
* Top user per statement
* Top user per statement latency
* Top user per lock latency
* Top user per full scans
* Top user per row_sent
* Top user per row modified
* Top user per io
* Top user per io latency
* Top host per connection
* Top host per statement
* Top host per statement latency
* Top host per lock latency
* Top host per full scans
* Top host per rows sent
* Top host per rows modified
* Top host per io
* Top 5 host per io latency
* Top IO type order by total io
* Top IO type order by total latency
* Top IO type order by max latency
* Top Stages order by total io
* Top Stages order by total latency
* Top Stages order by avg latency
* Top host per table scans
* InnoDB Buffer Pool by schema
* InnoDB Buffer Pool by table
* Process per allocated memory
* InnoDB Lock Waits
* Threads IO Latency
* High Cost SQL statements
* Top 5% slower queries
* Top 10 nb statement type
* Top statement by total latency
* Top statement by lock latency
* Top statement by full scans
* Top statement by rows sent
* Top statement by rows modified
* Use temporary tables
* Unused Indexes
* Full table scans
* Latest file IO by latency
* File by IO read bytes
* File by IO written bytes
* File per IO total latency
* File per IO read latency
* File per IO write latency
* Event Wait by read bytes
* Event Wait by write bytes
* Event per wait total latency
* Event per wait read latency
* Event per wait write latency
* Top 15 most read indexes
* Top 15 most modified indexes
* Top 15 high select latency index
* Top 15 high insert latency index
* Top 15 high update latency index
* Top 15 high delete latency index
* Top 15 most read tables
* Top 15 most modified tables
* Top 15 high select latency tables
* Top 15 high insert latency tables
* Top 15 high update latency tables
* Top 15 high delete latency tables
* Redundant indexes
* Tables not using InnoDb buffer
* Top 15 Tables using InnoDb buffer
* Top 15 Tables with InnoDb buffer free
* Top 15 Most executed queries
* Latest SQL queries in errors or warnings
* Top 20 queries with full table scans
* Top 15 reader queries (95% percentile)
* Top 15 row look queries (95% percentile)
* Top 15 total latency queries (95% percentile)
* Top 15 max latency queries (95% percentile)
* Top 15 average latency queries (95% percentile)
* Top 20 queries with sort
* Last 50 queries with sort
* Top 15 row sorting queries with sort
* Top 15 total latency queries with sort
* Top 15 merge queries with sort
* Top 15 average sort merges queries with sort
* Top 15 scans queries with sort
* Top 15 range queries with sort
* Top 20 queries with temp table
* Last 50 queries with temp table
* Top 15 total latency queries with temp table
* Top 15 queries with temp table to disk
* Top 15 class events by number
* Top 30 events by number
* Top 15 class events by total latency
* Top 30 events by total latency
* Top 15 class events by max latency
* Top 30 events by max latency

0
JenkinsFile Normal file
View file

90
Makefile Normal file
View file

@ -0,0 +1,90 @@
VERSION=$(shell grep '\- Version ' mysqltuner.pl | awk '{ print $$NF}')
UPDATE_SUB_VERSION=$(shell echo $(VERSION) | awk -F. '{ print $$1"."$$2"."$$3+1 }')
UPDATE_MINOR_VERSION=$(shell echo $(VERSION) | awk -F. '{ print $$1"."$$2+1".0" }')
UPDATE_MAJOR_VERSION=$(shell echo $(VERSION) | awk -F. '{ print $$1+1".0.0" }')
all: generate_cve generate_features generate_usage tidy increment_sub_version
help:
@echo "Usage: make <target>"
@echo " help: Show this help"
@echo " generate_usage: Generate USAGE.md"
@echo " generate_cve: Generate vulnerabilities.csv"
@echo " generate_features: Generate FEATURES.md"
@echo " tidy: Tidy mysqltuner.pl"
@echo " installdep_debian: Install dependencies on Debian"
@echo " increment_sub_version: Increment sub version"
@echo " increment_minor_version: Increment minor version"
@echo " increment_major_version: Increment major version"
@echo " push: Push to GitHub"
installdep_debian:
sudo apt install -y cpanminus libpod-markdown-perl libwww-mechanize-gzip-perl perltidy dos2unix
sudo cpanm File::Util
curl -sL https://raw.githubusercontent.com/slimtoolkit/slim/master/scripts/install-slim.sh | sudo -E bash -
tidy:
dos2unix ./mysqltuner.pl
perltidy -b ./mysqltuner.pl
git add ./mysqltuner.pl
git commit -m "Indenting mysqltuner at $(shell date --iso=seconds)"
generate_usage:
pod2markdown mysqltuner.pl >USAGE.md
git add ./USAGE.md
git commit -m "Generate USAGE.md at $(shell date --iso=seconds)"
generate_cve:
perl ./build/updateCVElist.pl
git add ./vulnerabilities.csv
git commit -m "Generate CVE list at $(shell date --iso=seconds)"
generate_version_file:
rm -f CURRENT_VERSION.txt
grep "# mysqltuner.pl - Version" ./mysqltuner.pl | awk '{ print $$NF}' > CURRENT_VERSION.txt
generate_features:
perl ./build/genFeatures.sh
git add ./FEATURES.md
git commit -m "Generate FEATURES.md at $(shell date --iso=seconds)"
increment_sub_version:
@echo "Incrementing sub version from $(VERSION) to $(UPDATE_SUB_VERSION)"
sed -i "s/$(VERSION)/$(UPDATE_SUB_VERSION)/" mysqltuner.pl *.md .github/workflows/*.yml
git add ./*.md ./mysqltuner.pl
git commit -m "Generate $(UPDATE_SUB_VERSION) sub version at $(shell date --iso=seconds)"
git tag -a v$(UPDATE_SUB_VERSION) -m "Generate $(UPDATE_SUB_VERSION) sub version at $(shell date --iso=seconds)"
git push --tags
increment_minor_version:
@echo "Incrementing minor version from $(VERSION) to $(UPDATE_MINOR_VERSION)"
sed -i "s/$(VERSION)/$(UPDATE_MINOR_VERSION)/" mysqltuner.pl *.md .github/workflows/*.yml
git add ./*.md ./mysqltuner.pl
git commit -m "Generate $(UPDATE_MINOR_VERSION) minor version at $(shell date --iso=seconds)"
git tag -a v$(UPDATE_MINOR_VERSION) -m "Generate $(UPDATE_MINOR_VERSION) minor version at $(shell date --iso=seconds)"
git push --tags
increment_major_version:
@echo "Incrementing major version from $(VERSION) to $(UPDATE_MAJOR_VERSION)"
sed -i "s/$(VERSION)/$(UPDATE_MAJOR_VERSION)/" mysqltuner.pl *.md .github/workflows/*.yml
git add ./*.md ./mysqltuner.pl
git commit -m "Generate $(UPDATE_SUB_VERSION) major version at $(shell date --iso=seconds)"
git tag -a v$(UPDATE_MINOR_VERSION) -m "Generate $(UPDATE_MAJOR_VERSION) major version at $(shell date --iso=seconds)"
git push --tags
docker_build:
docker build . -t jmrenouard/mysqltuner:latest -t jmrenouard/mysqltuner:$(VERSION)
docker_slim:
docker run --rm -it --privileged -v /var/run/docker.sock:/var/run/docker.sock -v $(PWD):/root/app -w /root/app jmrenouard/mysqltuner:latest slim build
docker_push: docker_build
bash build/publishtodockerhub.sh $(VERSION)
push:
git push
pull:
git pull

236
README.fr.md Normal file
View file

@ -0,0 +1,236 @@
![MySQLTuner-perl](https://github.com/major/MySQLTuner-perl/blob/master/mtlogo.png)
[!["Buy Us A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/jmrenouard)
[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
[![Project Status](http://opensource.box.com/badges/maintenance.svg)](http://opensource.box.com/badges)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Average time to resolve an issue")
[![Percentage of open issues](http://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Percentage of issues still open")
[![GPL License](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)
**MySQLTuner** est un script écrit en Perl qui permet d'effectuer une revue de configuration pour MySQL/MAriaDB/PerconaDB rapidement et propose des ajustements pour améliorer la performance et la stabilité du serveur. L'état des variables et statuts est analysé et présenté de manière synthétique et structurée ainsi que plusieurs suggestions basiques concernant la performance.
**MySQLTuner** supporte dans a dernière version plus de ~300 indicators pour MySQL/MariaDB/Percona Server.
**MySQLTuner** is maintained and indicator collect is increasing week after week supporting a lot of configuration sush as ![Galera Cluster](http://galeracluster.com/), ![TokuDB](https://www.percona.com/software/mysql-database/percona-tokudb), ![ Performance schema](https://github.com/mysql/mysql-sys), Linux OS metrics, ![InnoDB](http://dev.mysql.com/doc/refman/5.7/en/innodb-storage-engine.html), ![MyISAM](http://dev.mysql.com/doc/refman/5.7/en/myisam-storage-engine.html), ![Aria](https://mariadb.com/kb/en/mariadb/aria/), ...
You can found more details on this indicators
![Indicators description](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md).
![MysqlTuner](https://github.com/major/MySQLTuner-perl/blob/master/mysqltuner.png)
MySQLTuner needs you:
===
**MySQLTuner** needs contributors for documentation, code and feedbacks..
* Please join us on issue track at [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues)</a>.
* Contribution guide is avalaible following [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Star **MySQLTuner project** at [MySQLTuner Git Hub Project](https://github.com/major/MySQLTuner-perl)
Compatibility:
====
* MySQL 5.7 (full support)
* MySQL 5.6 (full support)
* MySQL 5.5 (full support)
* MariaDB 10.1 (full support)
* MariaDB 10.0 (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)
* 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 !!!!!)
* Unrestricted read access to the MySQL server (OS root access recommended for MySQL < 5.1)
* CVE vulnerabilites detection support from [https://cve.mitre.org](https://cve.mitre.org)
***WARNING***
--
It is **extremely important** for you to fully understand each change
you make to a MySQL database server. If you don't understand portions
of the script's output, or if you don't understand the recommendations,
**you should consult** a knowledgeable DBA or system administrator
that you trust. **Always** test your changes on staging environments, and
always keep in mind that improvements in one area can **negatively affect**
MySQL in other areas.
**Seriously - please review the FAQ section below.**
What MySQLTuner is checking exactly ?
--
All checks done by **MySQLTuner** are documented in [MySQLTuner Internals](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md) documentation.
Download/Installation
--
You can download the entire repository by using 'git clone' followed by the cloning URL above. The simplest and shortest method is:
wget http://mysqltuner.pl/ -O mysqltuner.pl
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
perl mysqltuner.pl
Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly.
Specific usage
--
__Usage:__ Minimal usage locally
perl mysqltuner.pl
__Usage:__ Minimal usage remotely
perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password
__Usage:__ Enable maximum output information around MySQL/MariaDb without debugging
perl mysqltuner.pl --verbose
perl mysqltuner.pl --buffers --dbstat --idxstat --sysstat --pfstat
__Usage:__ Enable CVE vulnerabilities check for your MariaDB or MySQL version
perl mysqltuner.pl --cvefile=vulnerabilities.csv
__Usage:__ Write your result in a file with information displayed
perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt
__Usage:__ Write your result in a file **without outputting information**
perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt
__Usage:__ Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax.
perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl
__Usage:__ Enable debugging information
perl mysqltuner.pl --debug
FAQ
--
**Question: Will MySQLTuner fix my slow MySQL server?**
**No.** MySQLTuner is a read only script. It won't write to any configuration files, change the status of any daemons, or call your mother to wish her a happy birthday. It will give you an overview of your server's performance and make some basic recommendations about improvements that you can make after it completes. *Make sure you read the warning above prior to following any recommendations.*
**Question: Can I fire my DBA now?**
**MySQLTuner will not replace your DBA in any form or fashion.** If your DBA constantly takes your parking spot and steals your lunch from the fridge, then you may want to consider it - but that's your call.
**Question: Why does MySQLTuner keep asking me the login credentials for MySQL over and over?**
The script will try its best to log in via any means possible. It will check for ~/.my.cnf files, Plesk password files, and empty password root logins. If none of those are available, then you'll be prompted for a password. If you'd like the script to run in an automated fashion without user intervention, then create a .my.cnf file in your home directory which contains:
[client]
user=someusername
pass=thatuserspassword
Once you create it, make sure it's owned by your user and the mode on the file is 0600. This should prevent the prying eyes from getting your database login credentials under normal conditions. If a [T-1000 shows up in a LAPD uniform](https://en.wikipedia.org/wiki/T-1000) and demands your database credentials, you won't have much of an option.
**Question: Is there another way to secure credentials on latest MySQL and MariaDB distributions ?**
You could use mysql_config_editor utilities.
$ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost
Enter passord: ********
$
At this time, ~/.mylogin.cnf has been written with appropriated rigth access.
To get information about stored credentials, use the following command:
$mysql_config_editor print
[client]
user = someusername
password = *****
host = localhost
**Question: What's minimum privileges needed by a specific mysqltuner user in database ?**
mysql>GRANT SELECT, PROCESS,EXECUTE, REPLICATION CLIENT,SHOW DATABASES,SHOW VIEW ON *.* FOR 'mysqltuner'@'localhost' identified by pwd1234;
**Question: It's not working on my OS! What gives?!**
These kinds of things are bound to happen. Here are the details I need from you in order to research the problem thoroughly:
* OS and OS version
* Architecture (x86, x86_64, IA64, Commodore 64)
* Exact MySQL version
* Where you obtained your MySQL version (OS package, source, etc)
* The full text of the error
* A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)
**Question: How to perform a CVE vulneralibity checks ?**
* Download vulnerabilities.csv from this repository.
* use option --cvefile to perform CVE checks
**Question: How to use mysqltuner from remote host ?**
Thanks to [@rolandomysqldba](http://dba.stackexchange.com/users/877/rolandomysqldba)
* You will still have to connect like a mysql client:
Connection and Authentication
--host <hostname> Connect to a remote host to perform tests (default: localhost)
--socket <socket> Use a different socket for a local connection
--port <port> Port to use for connection (default: 3306)
--user <username> Username to use for authentication
--pass <password> Password to use for authentication
--defaults-file <path> defaulfs file for credentials
Since you are using a remote host, use parameters to supply values from the OS
--forcemem <size> Amount of RAM installed in megabytes
--forceswap <size> Amount of swap memory configured in megabytes
* You may have to contact your remote SysAdmin to ask how much RAM and swap you have
If the database has too many tables, or very large table, use this:
--skipsize Don't enumerate tables and their types/sizes (default: on)
(Recommended for servers with many tables)
MySQLTuner and Vagrant
--
**MySQLTuner** contains following Vagrant configurations:
* Fedora Core 23 / MariaDB 10.0
* Fedora Core 23 / MariaDB 10.1
* Fedora Core 23 / MySQL 5.6
* Fedora Core 23 / MySQL 5.7
**Vagrant File** are stored in Vagrant subdirectory.
* Follow this 2 steps after vagrant installation:
* Rename VagrantFile_for_Mxxx into Vagrantfile
* vagrant up
**MySQLTuner** contains a Vagrant configurations for test purpose and development
* Install VirtualBox and Vagrant
* https://www.virtualbox.org/wiki/Downloads
* https://www.vagrantup.com/downloads.html
* Clone repository
* git clone https://github.com/major/MySQLTuner-perl.git
* Install Vagrant plugins vagrant-hostmanager and vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* Add Fedora Core 23 box for official Fedora Download Website
* vagrant box add --name fc23 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box
* Create a data directory
* mkdir data
* Rename Vagrantfile_MariaDB10.0 into Vagrantfile
* cp MySQLTuner-perl/Vagrant/Vagrantfile_for_MariaDB10.0 Vagrantfile
* Start vagrant
* vagrant up
MySQLTuner a besoin de vous
--
**MySQLTuner** a besoin de contributeurs pour la documentation, le code, des tests et des retours d'expérience.
* Rejoignez-nous sur le suivi de ticket à [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues)</a>.
* Le guide de contribution en anglais est disponible ici [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Ajouter une étoile à **MySQLTuner project** ici [MySQLTuner Git Hub Project](https://github.com/major/MySQLTuner-perl)

238
README.it.md Normal file
View file

@ -0,0 +1,238 @@
![MySQLTuner-perl](https://github.com/major/MySQLTuner-perl/blob/master/mtlogo.png)
[!["Buy Us A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/jmrenouard)
[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
[![Project Status](http://opensource.box.com/badges/maintenance.svg)](http://opensource.box.com/badges)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Average time to resolve an issue")
[![Percentage of open issues](http://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Percentage of issues still open")
[![GPL License](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)
**MySQLTuner** è uno script Perl che permette di analizzare velocemente una installazione di MySQL, nonché di apportare modifiche per migliorare le prestazioni e la stabilità. In modo coinciso sono riportati lo stato attuale delle variabili di configurazione e i dati sullo stato del sistema, corredati da suggerimenti di base per il miglioramento delle prestazioni.
**MySQLTuner** supporta, in quest'ultima versione, circa 250 indicatori per i server MySQL/MariaDB/Percona.
**MySQLTuner** è attivamente manutenuto e nuovi indicatori sono aggiunti di settimana in settimana, supportando un gran numero di configurazioni tra le quali ![Galera Cluster](http://galeracluster.com/), ![TokuDB](https://www.percona.com/software/mysql-database/percona-tokudb), ![ Performance schema](https://github.com/mysql/mysql-sys), metriche relative al SO Linux, ![InnoDB](http://dev.mysql.com/doc/refman/5.7/en/innodb-storage-engine.html), ![MyISAM](http://dev.mysql.com/doc/refman/5.7/en/myisam-storage-engine.html), ![Aria](https://mariadb.com/kb/en/mariadb/aria/), ...
Maggiori dettagli sugli indicatori
![Indicators description](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md).
![MysqlTuner](https://github.com/major/MySQLTuner-perl/blob/master/mysqltuner.png)
MySQLTuner ha bisogno di te:
===
**MySQLTuner** ha bisogno di collaboratori per documentazione, codice e suggerimenti ..
* Problemi e suggerimenti possono essere riportati su [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues).
* La guida per contribuire è disponibile in inglese: [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Dai un Stella a **MySQLTuner project** su [GitHub](https://github.com/major/MySQLTuner-perl)
Compatibilità:
====
* MySQL 5.7 (pieno supporto)
* MySQL 5.6 (pieno supporto)
* MySQL 5.5 (pieno supporto)
* MariaDB 10.1 (pieno supporto)
* MariaDB 10.0 (pieno supporto)
* Percona Server 5.6 (pieno supporto)
* Percona XtraDB cluster (pieno supporto)
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (supporto parziale - versione deprecata)
* Perl 5.6 o successivi (col pacchetto [perl-doc](http://search.cpan.org/~dapm/perl-5.14.4/pod/perldoc.pod))
* Sistemi operativi basati su Unix/Linux (testato su Linux, varianti di BSD e di Solaris)
* Windows non è supportato al momento (gradito aiuto!!!!!)
* Accesso completo in lettura al server MySQL (accesso root a livello di SO raccomandato per MySQL < 5.1)
* supporto al rilevamento di vulnerabilità CVE da [https://cve.mitre.org](https://cve.mitre.org)
***ATTENZIONE***
--
È **estremamente importante** che tu capisca appieno ogni singola modifica apportata alla configurazione del server MySQL.
Qualora non capissi appieno qualche parte dell'output dello script o se non capissi quanto raccomandato **dovresti consultare** un DBA esperto o un amministratore di sistema di cui hai fiducia.
Testa **sempre** le modifiche su ambienti ad hoc e tieni sempre presente che miglioramenti in un settore potrebbero **influenzare negativamente** MySQL in altri settori.
**Seriamente - consulta la sezione FAQ che segue.**
Cosa verifica esattamente MySQLTuner ?
--
Tutti i controlli effettuati da **MySQLTuner** sono documentati in [MySQLTuner Internals](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md).
Download/Installazione
--
Si può semplicemente scaricare l'intero codice utilizzando `git clone` seguito dalla URL riportata sopra.
Il modo più semplice è il seguente:
wget http://mysqltuner.pl/ -O mysqltuner.pl
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
perl mysqltuner.pl
Ovviamente è possibile assegnare il permesso di esecuzione in modo da poter lanciare il comando senza chiamare l'interprete `perl` (`chmod +x mysqltuner.pl`).
Casi d'uso
--
__Uso:__ Minimale locale
perl mysqltuner.pl
__Uso:__ Minimale da remoto
perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password
__Uso:__ Abilitando il massimo livello di informazione in output su MySQL/MariaDb senza usare l'optione di debug
perl mysqltuner.pl --verbose
perl mysqltuner.pl --buffers --dbstat --idxstat --sysstat --pfstat
__Uso:__ Abilitando la verifica delle vulnerabilità CVE per la versione di MariaDB o MySQL installata
perl mysqltuner.pl --cvefile=vulnerabilities.csv
__Uso:__ Salvando i risultati su un file con le stesse informazione mostrate a video
perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt
__Uso:__ Salvando i risultati su un file **senza mostrare nulla a video**
perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt
__Uso:__ Utilizzando un modello per personalizzare il file di output, con la sintassi di [Text::Template](https://metacpan.org/pod/Text::Template).
perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl
__Uso:__ Abilitando la modalità di debug
perl mysqltuner.pl --debug
FAQ
--
**Domanda: MySQLTuner sistemerà il mio server MySQL lento?**
**No.** MySQLTuner è uno script che legge solamente. Non scriverà alcun file di configurazione, non modificherà lo stato di alcun demone né chiamerà tua madre per augurarle buon compleanno.
Ti darà una panoramica delle prestazioni del tuo server, facendo alcune raccomandazioni basilari circa i miglioramenti che tu puoi apportare. *assicurati di leggere l'avviso precedente prima di seguire qualsiasi raccomandazione.*
**Domanda: Posso eliminare il mio DBA ora?**
**MySQLTuner non sostituirà il tuo DBA in alcun modo.** Se il tuo DBA continuamente occupa il tuo parcheggio e ruba il tuo cibo dal frigo puoi considerare l'opzione - ma resta una tua scelta.
**Domanda: Perché MySQLTuner continua a chiedermi ogni volta le credenziali di login di MySQL?**
Lo script cerca di arguirle in ogni modo possibile. Cercando file `~/.my.cnf`, file di password di Plesk e provando il login di root con password vuota.
Se nessuno di questi modi ha successo, allora la password viene richiesta. Se preferisci che lo script giri in modo automatico, senza interazione con l'utente, allora crea un file `.my.cnf` nella tua cartella home che contenga:
[client]
user=someusername
pass=thatuserspassword
Una volta creato, assicurati che tu sia il proprietario (owner) e che i permessi siano 0600. Questo dovrebbe preservare le tue credenziali di login per i database da occhi indiscreti, in condizioni normali.
Se un [Terminator modello T-1000 apparisse vestito da Carabiniere](https://it.wikipedia.org/wiki/T-1000) e chiedesse le tue credenziali non avresti poi tante scelte.
**Domanda: C'è qualche altro modo per rendere sicure le credenziali sulle ultime versioni di MySQL e MariaDB ?**
Potresti utilizzare il comando `mysql_config_editor`.
$ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost
Enter passord: ********
$
Che crea il file `~/.mylogin.cnf` con i prmessi di accesso appropriati.
Per avere informazioni sulle credenziali salvate, si usi ilseguente comando:
$mysql_config_editor print
[client]
user = someusername
password = *****
host = localhost
**Domanda: Quali sono i privilegi minimi, nel database, necessari per un utente *mysqltuner* ad hoc ?**
mysql>GRANT SELECT, PROCESS,EXECUTE, REPLICATION CLIENT,SHOW DATABASES,SHOW VIEW ON *.* FOR 'mysqltuner'@'localhost' identified by pwd1234;
**Domanda: Non funziona sul mio SO! Che succede?!**
Questo genere di cose sono destinate ad accadere. Ecco i dettagli di cui ho bisogno per indagare sul problema:
* SO e versione del SO
* Architettura (x86, x86_64, IA64, Commodore 64)
* Versione esatta di MySQL
* Da dove viene la tua versione di MySQL (pacchetto del SO, sorgenti, etc.)
* Il testo completo dell'errore
* L'output dei comandi `SHOW VARIABLES;` e `SHOW GLOBAL STATUS;`(se possibile)
**Domanda: Come eseguo il check per le vulnerabilità CVE ?**
* Scarica il file `vulnerabilities.csv`da questo repository.
* Usa l'opzione `--cvefile` per eseguire i test delle CVE
**Domanda: Come uso mysqltuner da un altro computer ?**
Grazie a [@rolandomysqldba](http://dba.stackexchange.com/users/877/rolandomysqldba)
* You will still have to connect like a mysql client:
* Ti dovrai collegare come un client mysql:
Connessione e Autenticazione
--host <hostname> Si connette a un host remoto per eseguire i test (default: localhost)
--socket <socket> Usa un socket per effettuare una connessione locale
--port <port> Porta per la connessione (default: 3306)
--user <username> Username per l'autenticazione
--pass <password> Password per l'autenticazione
--defaults-file <path> defaults file per le credenziali
Poiché si sta utilizzando un host remoto, si utilizzino i seguenti parametri per fornire allo script i valori del SO
--forcemem <size> Valore della RAM installata, in megabyte
--forceswap <size> Valore della memoria di swap configurata, in megabyte
* Potresti dover contattare il sistemista del server remoto per conoscere i valori di RAM e swap
Se il database ha troppe tabelle, o tabelle veramente grandi, si usi:
--skipsize Non elenca le tabelle ed i rispettivi tipi e dimensioni (default: on)
(Raccomandato per server con molte tabelle)
MySQLTuner e Vagrant
--
**MySQLTuner** contiene le seguenti configurazioni per Vagrant:
* Fedora Core 23 / MariaDB 10.0
* Fedora Core 23 / MariaDB 10.1
* Fedora Core 23 / MySQL 5.6
* Fedora Core 23 / MySQL 5.7
**Vagrant File** sono collocati nella sotto-directory di Vagrant.
* Segui questi due passaggi dopo l'installazione di Vagrant:
* Rinominare `VagrantFile_for_Mxxx` in `Vagrantfile`
* `vagrant up`
**MySQLTuner** contiene una configurazione Vagrant a scopo di test e sviluppo
* Installare VirtualBox e Vagrant
* https://www.virtualbox.org/wiki/Downloads
* https://www.vagrantup.com/downloads.html
* Clone del repository
* git clone https://github.com/major/MySQLTuner-perl.git
* Installare i plugin di Vagrant `vagrant-hostmanager` e `vagrant-vbguest`
* `vagrant plugin install vagrant-hostmanager`
* `vagrant plugin install vagrant-vbguest`
* Aggiungere un box Fedora Core 23 dal sito ufficiale di Fedora
* `vagrant box add --name fc23 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box`
* Creare una directory `data`
* `mkdir data`
* Rinominare `Vagrantfile_MariaDB10.0` in `Vagrantfile`
* `cp MySQLTuner-perl/Vagrant/Vagrantfile_for_MariaDB10.0 Vagrantfile`
* Start vagrant
* `vagrant up`
MySQLTuner ha bisogno di te:
--
**MySQLTuner** ha bisogno di collaboratori per documentazione, codice e suggerimenti ..
* Problemi e suggerimenti possono essere riportati su [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues).
* La guida per contribuire è disponibile in inglese: [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Dai un Stella a **MySQLTuner project** su [GitHub](https://github.com/major/MySQLTuner-perl)

842
README.md
View file

@ -1,225 +1,617 @@
MySQLTuner-perl
====
[![Build Status - Master](https://travis-ci.org/major/MySQLTuner-perl.svg?branch=master)](https://travis-ci.org/major/MySQLTuner-perl)
[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
[![Project Status](http://opensource.box.com/badges/maintenance.svg)](http://opensource.box.com/badges)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Percentage of issues still open")
MySQLTuner is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief format along with some basic performance suggestions.
![MysqlTuner](https://github.com/major/MySQLTuner-perl/blob/master/mysqltuner.png)
MySQLTuner needs you:
===
**MySQLTuner** needs contributors for documentation, code and feedbacks..
* Please join us on issue track at [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues)</a>.
* Contribution guide is avalaible following [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Star **MySQLTuner project** at [MySQLTuner Git Hub Project](https://github.com/major/MySQLTuner-perl)
Compatibility:
====
* MySQL 5.7 (partial support)
* MySQL 5.6 (full support)
* MySQL 5.5 (full support)
* MariaDB 10.1 (partial support)
* MariaDB 10.0 (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)
* 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 !!!!!)
* Unrestricted read access to the MySQL server (OS root access recommended for MySQL < 5.1)
* CVE vulnerabilites detection support from [https://cve.mitre.org](https://cve.mitre.org)
***WARNING***
--
It is **extremely important** for you to fully understand each change
you make to a MySQL database server. If you don't understand portions
of the script's output, or if you don't understand the recommendations,
**you should consult** a knowledgeable DBA or system administrator
that you trust. **Always** test your changes on staging environments, and
always keep in mind that improvements in one area can **negatively affect**
MySQL in other areas.
**Seriously - please review the FAQ section below.**
What MySQLTuner is checking exactly ?
--
All checks done by **MySQLTuner** are documented in [MySQLTuner Internals](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md) documentation.
Download/Installation
--
You can download the entire repository by using 'git clone' followed by the cloning URL above. The simplest and shortest method is:
wget http://mysqltuner.pl/ -O mysqltuner.pl
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
perl mysqltuner.pl
Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling perl directly.
Specific usage
--
__Usage:__ Minimal usage locally
perl mysqltuner.pl
__Usage:__ Minimal usage remotely
perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password
__Usage:__ Enable maximum output information around MySQL/MariaDb without debugging
perl mysqltuner.pl --buffers --dbstat --idxstat
__Usage:__ Enable CVE vulnerabilities check for your MariaDB or MySQL version
perl mysqltuner.pl --cvefile=vulnerabilities.csv
__Usage:__ Write your result in a file with information displayed
perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt
__Usage:__ Write your result in a file **without outputting information**
perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt
__Usage:__ Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax.
perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl
__Usage:__ Enable debugging information
perl mysqltuner.pl --debug
FAQ
--
**Question: Will MySQLTuner fix my slow MySQL server?**
**No.** MySQLTuner is a read only script. It won't write to any configuration files, change the status of any daemons, or call your mother to wish her a happy birthday. It will give you an overview of your server's performance and make some basic recommendations about improvements that you can make after it completes. *Make sure you read the warning above prior to following any recommendations.*
**Question: Can I fire my DBA now?**
**MySQLTuner will not replace your DBA in any form or fashion.** If your DBA constantly takes your parking spot and steals your lunch from the fridge, then you may want to consider it - but that's your call.
**Question: Why does MySQLTuner keep asking me the login credentials for MySQL over and over?**
The script will try its best to log in via any means possible. It will check for ~/.my.cnf files, Plesk password files, and empty password root logins. If none of those are available, then you'll be prompted for a password. If you'd like the script to run in an automated fashion without user intervention, then create a .my.cnf file in your home directory which contains:
[client]
user=someusername
pass=thatuserspassword
Once you create it, make sure it's owned by your user and the mode on the file is 0600. This should prevent the prying eyes from getting your database login credentials under normal conditions. If a [T-1000 shows up in a LAPD uniform](https://en.wikipedia.org/wiki/T-1000) and demands your database credentials, you won't have much of an option.
**Question: Is there another way to secure credentials on latest MySQL and MariaDB distributions ?**
You could use mysql_config_editor utilities.
$ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost
Enter passord: ********
$
At this time, ~/.mylogin.cnf has been written with appropriated rigth access.
To get information about stored credentials, use the following command:
$mysql_config_editor print
[client]
user = someusername
password = *****
host = localhost
**Question: What's minimum privileges needed by a specific mysqltuner user in database ?**
mysql>GRANT SELECT, PROCESS,EXECUTE, REPLICATION CLIENT,SHOW DATABASES,SHOW VIEW ON *.* FOR 'mysqltuner'@'localhost' identified by pwd1234;
**Question: It's not working on my OS! What gives?!**
These kinds of things are bound to happen. Here are the details I need from you in order to research the problem thoroughly:
* OS and OS version
* Architecture (x86, x86_64, IA64, Commodore 64)
* Exact MySQL version
* Where you obtained your MySQL version (OS package, source, etc)
* The full text of the error
* A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)
**Question: How to perform a CVE vulneralibity checks ?**
* Download vulnerabilities.csv from this repository.
* use option --cvefile to perform CVE checks
**Question: How to use mysqltuner from remote host ?**
Thanks to [@rolandomysqldba](http://dba.stackexchange.com/users/877/rolandomysqldba)
* You will still have to connect like a mysql client:
Connection and Authentication
--host <hostname> Connect to a remote host to perform tests (default: localhost)
--socket <socket> Use a different socket for a local connection
--port <port> Port to use for connection (default: 3306)
--user <username> Username to use for authentication
--pass <password> Password to use for authentication
Since you are using a remote host, use parameters to supply values from the OS
--forcemem <size> Amount of RAM installed in megabytes
--forceswap <size> Amount of swap memory configured in megabytes
* You may have to contact your remote SysAdmin to ask how much RAM and swap you have
If the database has too many tables, or very large table, use this:
--skipsize Don't enumerate tables and their types/sizes (default: on)
(Recommended for servers with many tables)
MySQLTuner and Vagrant
--
**MySQLTuner** contains following Vagrant configurations:
* Fedora Core 23 / MariaDB 10.0
* Fedora Core 23 / MariaDB 10.1
* Fedora Core 23 / MySQL 5.6
* Fedora Core 23 / MySQL 5.7
**Vagrant File** are stored in Vagrant subdirectory.
* Follow this 2 steps after vagrant installation:
* Rename VagrantFile_for_Mxxx into Vagrantfile
* vagrant up
**MySQLTuner** contains a Vagrant configurations for test purpose and development
* Install VirtualBox and Vagrant
* https://www.virtualbox.org/wiki/Downloads
* https://www.vagrantup.com/downloads.html
* Clone repository
* git clone https://github.com/major/MySQLTuner-perl.git
* Install Vagrant plugins vagrant-hostmanager and vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* Add Fedora Core 23 box for official Fedora Download Website
* vagrant box add --name fc23 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box
* Create a data directory
* mkdir data
* Rename Vagrantfile_MariaDB10.0 into Vagrantfile
* cp MySQLTuner-perl/Vagrant/Vagrantfile_for_MariaDB10.0 Vagrantfile
* Start vagrant
* vagrant up
MySQLTuner needs you
--
**MySQLTuner** needs contributors for documentation, code and feedbacks..
* Please join us on issue track at [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues)</a>.
* Contribution guide is avalaible following [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Star **MySQLTuner project** at [MySQLTuner Git Hub Project](https://github.com/major/MySQLTuner-perl)
![MySQLTuner-perl](https://github.com/major/MySQLTuner-perl/blob/master/mtlogo.png)
[!["Buy Us A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/jmrenouard)
[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
[![Test Status](https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg)](https://github.com/anuraghazra/github-readme-stats/)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Average time to resolve an issue")
[![Percentage of open issues](http://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Percentage of issues still open")
[![GPL License](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)
**MySQLTuner** is a script written in Perl that allows you to review a MySQL installation quickly and make adjustments to increase performance and stability. The current configuration variables and status data is retrieved and presented in a brief format along with some basic performance suggestions.
**MySQLTuner** supports ~300 indicators for MySQL/MariaDB/Percona Server in this latest version.
**MySQLTuner** is actively maintained supporting many configurations such as [Galera Cluster](http://galeracluster.com/), [TokuDB](https://www.percona.com/software/mysql-database/percona-tokudb), [Performance schema](https://github.com/mysql/mysql-sys), Linux OS metrics, [InnoDB](http://dev.mysql.com/doc/refman/5.7/en/innodb-storage-engine.html), [MyISAM](http://dev.mysql.com/doc/refman/5.7/en/myisam-storage-engine.html), [Aria](https://mariadb.com/kb/en/mariadb/aria/), ...
You can find more details on these indicators here:
[Indicators description](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md).
![MysqlTuner](https://github.com/major/MySQLTuner-perl/blob/master/mysqltuner.png)
MySQLTuner needs you
===
**MySQLTuner** needs contributors for documentation, code and feedback:
* Please join us on our issue tracker at [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues).
* Contribution guide is available following [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Star **MySQLTuner project** at [MySQLTuner Git Hub Project](https://github.com/major/MySQLTuner-perl)
* Paid support for LightPath here: [jmrenouard@lightpath.fr](jmrenouard@lightpath.fr)
* Paid support for Releem available here: [Releem App](https://releem.com/)
![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&theme=radical)
## Stargazers over time
[![Stargazers over time](https://starchart.cc/major/MySQLTuner-perl.svg)](https://starchart.cc/major/MySQLTuner-perl)
Compatibility
====
Test result are available here:
* MySQL 8.0, 8.2, 8.3 (full support)
* Percona Server 8.0, 8.2, 8.3 (full support)
* MariaDB 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2 (full support)
* Galera replication (full support)
* Percona XtraDB cluster (full support)
* Mysql Replications (partial support, no test environment)
* MySQL 8.1 (not supported, deprecated version)
* Percona Server 5.7 (not supported, deprecated version)
* MySQL 5.7 (not supported, deprecated version)
* MySQL 5.6 and earlier (not supported, deprecated version)
* Percona Server 5.6 (not supported, deprecated version)
* MariaDB 10.7, 10.8, 10.9, 10.10 (not supported, deprecated version)
* MariaDB 10.3 and earlier (not supported, deprecated version)
* MariaDB 5.5 (not supported, deprecated version)
***Windows Support is partial***
* Windows is now supported at this time
* Successfully run MySQLtuner across WSL2 (Windows Subsystem Linux)
* [https://docs.microsoft.com/en-us/windows/wsl/](https://docs.microsoft.com/en-us/windows/wsl/)
***UNSUPPORTED ENVIRONMENTS - NEED HELP WITH THAT***
* Cloud based is not supported at this time (Help wanted! GCP, AWS, Azure support requested)
***Unsupported storage engines: PRs welcome***
--
* NDB is not supported feel free to create a Pull Request
* Archive
* Spider
* ColummStore
* Connect
Unmaintenained stuff from MySQL or MariaDB:
--
* MyISAM is too old and no longer active
* RockDB is not maintained anymore
* TokuDB is not maintained anymore
* XtraDB is not maintained anymore
* CVE vulnerabilities detection support from [https://cve.mitre.org](https://cve.mitre.org)
***MINIMAL REQUIREMENTS***
* 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)
* Unrestricted read access to the MySQL server
OS root access recommended for MySQL < 5.1
***WARNING***
--
It is **important** for you to fully understand each change
you make to a MySQL database server. If you don't understand portions
of the script's output, or if you don't understand the recommendations,
**you should consult** a knowledgeable DBA or system administrator
that you trust. **Always** test your changes on staging environments, and
always keep in mind that improvements in one area can **adversely affect**
MySQL in other areas.
It's **also important** to wait at least 24 hours of uptime to get accurate results. In fact, running
**mysqltuner** on a fresh restarted server is completely useless.
**Also review the FAQ section below.**
Security recommendations
--
Hi directadmin user!
We detected that you run mysqltuner with da_admin's credentials taken from `/usr/local/directadmin/conf/my.cnf`, which might bring to a password discovery!
Read link for more details [Issue #289](https://github.com/major/MySQLTuner-perl/issues/289).
What is MySQLTuner checking exactly ?
--
All checks done by **MySQLTuner** are documented in [MySQLTuner Internals](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md) documentation.
Download/Installation
--
Choose one of these methods:
1) Script direct download (the simplest and shortest method):
```bash
wget http://mysqltuner.pl/ -O mysqltuner.pl
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
```
2) You can download the entire repository by using `git clone` or `git clone --depth 1 -b master` followed by the cloning URL above.
Optional Sysschema installation for MySQL 5.6
--
Sysschema is installed by default under MySQL 5.7 and MySQL 8 from Oracle.
By default, on MySQL 5.6/5.7/8, performance schema is enabled.
For previous MySQL 5.6 version, you can follow this command to create a new database sys containing very useful view on Performance schema:
Sysschema for MySQL old version
--
```bash
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
# check zip file
unzip -l sysschema.zip
unzip sysschema.zip
cd mysql-sys-master
mysql -uroot -p < sys_56.sql
```
Sysschema for MariaDB old version
--
```bash
curl "https://github.com/FromDual/mariadb-sys/archive/refs/heads/master.zip" > sysschema.zip
# check zip file
unzip -l sysschema.zip
unzip sysschema.zip
cd mariadb-sys-master
mysql -u root -p < ./sys_10.sql
```
Performance schema setup
--
By default, performance_schema is enabled and sysschema is installed on latest version.
By default, on MariaDB, performance schema is disabled (MariaDB<10.6).
Consider activating performance schema across your my.cnf configuration file:
```ini
[mysqld]
performance_schema = on
performance-schema-consumer-events-statements-history-long = ON
performance-schema-consumer-events-statements-history = ON
performance-schema-consumer-events-statements-current = ON
performance-schema-consumer-events-stages-current=ON
performance-schema-consumer-events-stages-history=ON
performance-schema-consumer-events-stages-history-long=ON
performance-schema-consumer-events-transactions-current=ON
performance-schema-consumer-events-transactions-history=ON
performance-schema-consumer-events-transactions-history-long=ON
performance-schema-consumer-events-waits-current=ON
performance-schema-consumer-events-waits-history=ON
performance-schema-consumer-events-waits-history-long=ON
performance-schema-instrument='%=ON'
max-digest-length=2048
performance-schema-max-digest-length=2018
```
Sysschema installation for MariaDB < 10.6
--
Sysschema is not installed by default under MariaDB prior to 10.6 [MariaDB sys](https://mariadb.com/kb/en/sys-schema/)
You can follow this command to create a new database sys containing a useful view on Performance schema:
```bash
curl "https://codeload.github.com/FromDual/mariadb-sys/zip/master" > mariadb-sys.zip
# check zip file
unzip -l mariadb-sys.zip
unzip mariadb-sys.zip
cd mariadb-sys-master/
mysql -u root -p < ./sys_10.sql
```
Errors & solutions for performance schema installation
--
ERROR 1054 (42S22) at line 78 in file: './views/p_s/metrics_56.sql': Unknown column 'STATUS' in 'field list'
--
This error can be safely ignored
Consider using a recent MySQL/MariaDB version to avoid this kind of issue during sysschema installation
In recent versions, sysschema is installed and integrated by default as sys schema (SHOW DATABASES)
ERROR at line 21: Failed to open file './tables/sys_config_data_10.sql -- ported', error: 2
Have a look at #452 solution given by @ericx
--
Fixing sysctl configuration (/etc/sysctl.conf)
--
It is a system wide setting and not a database setting: [Linux FS Kernel settings](https://www.kernel.org/doc/html/latest/admin-guide/sysctl/fs.html#id1)
You can check its values via:
```bash
$ cat /proc/sys/fs/aio-*
65536
2305
```
For example, to set the aio-max-nr value, add the following line to the /etc/sysctl.conf file:
```bash
fs.aio-max-nr = 1048576
```
To activate the new setting:
```bash
$ sysctl -p /etc/sysctl.conf
```
Specific usage
--
__Usage:__ Minimal usage locally
```bash
perl mysqltuner.pl --host 127.0.0.1
```
Of course, you can add the execute bit (`chmod +x mysqltuner.pl`) so you can execute it without calling Perl directly.
__Usage:__ Minimal usage remotely
In previous version, --forcemem shoud be set manually, in order to be able to run an MySQLTuner analysis
Since 2.1.10, memory and swap are defined to 1Gb by default.
If you want a more accurate value according to your remote server, feel free to setup --forcemem and --forceswap to real RAM value
```bash
perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password
```
__Usage:__ Enable maximum output information around MySQL/MariaDb without debugging
```bash
perl mysqltuner.pl --verbose
perl mysqltuner.pl --buffers --dbstat --idxstat --sysstat --pfstat --tbstat
```
__Usage:__ Enable CVE vulnerabilities check for your MariaDB or MySQL version
```bash
perl mysqltuner.pl --cvefile=vulnerabilities.csv
```
__Usage:__ Write your result in a file with information displayed
```bash
perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt
```
__Usage:__ Write your result in a file **without outputting information**
```bash
perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt
```
__Usage:__ Using template model to customize your reporting file based on [Text::Template](https://metacpan.org/pod/Text::Template) syntax.
```bash
perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl
```
__Important__: [Text::Template](https://metacpan.org/pod/Text::Template) module is mandatory for `--reportfile` and/or `--template` options, because this module is needed to generate appropriate output based on a text template.
__Usage:__ Dumping all information_schema and sysschema views as csv file into results subdirectory
```bash
perl mysqltuner.pl --verbose --dumpdir=./result
```
__Usage:__ Enable debugging information
```bash
perl mysqltuner.pl --debug
```
__Usage:__ Update MySQLTuner and data files (password and cve) if needed
```bash
perl mysqltuner.pl --checkversion --updateversion
```
HTML reports based on Python Jinja2
--
HTML generation is based on Python/Jinja2
**HTML generation Procedure**
- Generate mysqltuner.pl report using JSON format (--json)
- Generate HTML report using j2 python tools
**Jinja2 Templates are located under templates sub directory**
A basic example is called basic.html.j2
**Installation Python j2**
```bash
python -mvenv j2
source ./j2/bin/activate
(j2) pip install j2
```
**Using Html report generation**
```bash
perl mysqltuner.pl --verbose --json > reports.json
cat reports.json j2 -f json MySQLTuner-perl/templates/basic.html.j2 > variables.html
```
or
```bash
perl mysqltuner.pl --verbose --json | j2 -f json MySQLTuner-perl/templates/basic.html.j2 > variables.html
```
HTML reports based on AHA
--
HTML generation is based on AHA
**HTML generation Procedure**
- Generate mysqltuner.pl report using standard text reports
- Generate HTML report using aha
**Installation Aha**
Follow instructions from Github repo
[GitHub AHA main repository](https://github.com/theZiz/aha)
**Using AHA Html report generation**
perl mysqltuner.pl --verbose --color > reports.txt
aha --black --title "MySQLTuner" -f "reports.txt" > "reports.html"
or
perl mysqltuner.pl --verbose --color | aha --black --title "MySQLTuner" > reports.html
FAQ
--
**Question: What are the prerequisites for running MySQL tuner ?**
Before running MySQL tuner, you should have the following:
- A MySQL server installation
- Perl installed on your system
- Administrative access to your MySQL server
**Question: Can MySQL tuner make changes to my configuration automatically ?**
**No.**, MySQL tuner only provides recommendations. It does not make any changes to your configuration files automatically. It is up to the user to review the suggestions and implement them as needed.
**Question: How often should I run MySQL tuner ?**
It is recommended to run MySQL tuner periodically, especially after significant changes to your MySQL server or its workload.
For optimal results, run the script after your server has been running for at least 24 hours to gather sufficient performance data.
**Question: How do I interpret the results from MySQL tuner ?**
MySQL tuner provides output in the form of suggestions and warnings.
Review each recommendation and consider implementing the changes in your MySQL configuration file (usually 'my.cnf' or 'my.ini').
Be cautious when making changes and always backup your configuration file before making any modifications.
**Question: Can MySQL tuner cause harm to my database or server ?**
While MySQL tuner itself will not make any changes to your server, blindly implementing its recommendations without understanding the impact can cause issues.
Always ensure you understand the implications of each suggestion before applying it to your server.
**Question: Can I use MySQL tuner for optimizing other database systems like PostgreSQL or SQL Server ?**
MySQL tuner is specifically designed for MySQL servers.
To optimize other database systems, you would need to use tools designed for those systems, such as pgTune for PostgreSQL or SQL Server's built-in performance tools.
**Question: Does MySQL tuner support MariaDB and Percona Server ?**
Yes, MySQL tuner supports MariaDB and Percona Server since they are derivatives of MySQL and share a similar architecture. The script can analyze and provide recommendations for these systems as well.
**Question: What should I do if I need help with MySQL tuner or have questions about the recommendations ?**
If you need help with MySQL tuner or have questions about the recommendations provided by the script, you can consult the MySQL tuner documentation, seek advice from online forums, or consult a MySQL expert.
Be cautious when implementing changes to ensure the stability and performance of your server.
**Question: Will MySQLTuner fix my slow MySQL server ?**
**No.** MySQLTuner is a read only script. It won't write to any configuration files, change the status of any daemons. It will give you an overview of your server's performance and make some basic recommendations for improvements that you can make after it completes.
**Question: Can I fire my DBA now?**
**MySQLTuner will not replace your DBA in any form or fashion.**
If your DBA constantly takes your parking spot and steals your lunch from the fridge, then you may want to consider it - but that's your call.
**Question: Why does MySQLTuner keep asking me the login credentials for MySQL over and over?**
The script will try its best to log in via any means possible. It will check for ~/.my.cnf files, Plesk password files, and empty password root logins. If none of those are available, then you'll be prompted for a password. If you'd like the script to run in an automated fashion without user intervention, then create a .my.cnf file in your home directory which contains:
[client]
user=someusername
password=thatuserspassword
Once you create it, make sure it's owned by your user and the mode on the file is 0600. This should prevent the prying eyes from getting your database login credentials under normal conditions.
**Question: Is there another way to secure credentials on latest MySQL and MariaDB distributions ?**
You could use mysql_config_editor utilities.
~~~bash
$ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost
Enter password: ********
~~~
After which, `~/.mylogin.cnf` will be created with the appropriate access.
To get information about stored credentials, use the following command:
```bash
$mysql_config_editor print
[client]
user = someusername
password = *****
host = localhost
```
**Question: What's minimum privileges needed by a specific mysqltuner user in database ?**
```bash
mysql>GRANT SELECT, PROCESS,EXECUTE, REPLICATION CLIENT,
SHOW DATABASES,SHOW VIEW
ON *.*
TO 'mysqltuner'@'localhost' identified by pwd1234;
```
**Question: It's not working on my OS! What gives?!**
These kinds of things are bound to happen. Here are the details I need from you to investigate the issue:
* OS and OS version
* Architecture (x86, x86_64, IA64, Commodore 64)
* Exact MySQL version
* Where you obtained your MySQL version (OS package, source, etc)
* The full text of the error
* A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)
**Question: How to perform CVE vulnerability checks?**
* Download vulnerabilities.csv from this repository.
* use option --cvefile to perform CVE checks
**Question: How to use mysqltuner from a remote host?**
Thanks to [@rolandomysqldba](http://dba.stackexchange.com/users/877/rolandomysqldba)
* You will still have to connect like a mysql client:
Connection and Authentication
--host <hostname> Connect to a remote host to perform tests (default: localhost)
--socket <socket> Use a different socket for a local connection
--port <port> Port to use for connection (default: 3306)
--user <username> Username to use for authentication
--pass <password> Password to use for authentication
--defaults-file <path> defaults file for credentials
Since you are using a remote host, use parameters to supply values from the OS
--forcemem <size> Amount of RAM installed in megabytes
--forceswap <size> Amount of swap memory configured in megabytes
* You may have to contact your remote SysAdmin to ask how much RAM and swap you have
If the database has too many tables, or very large table, use this:
--skipsize Don't enumerate tables and their types/sizes (default: on)
(Recommended for servers with many tables)
**Question: Can I install this project using homebrew on Apple Macintosh?**
Yes! `brew install mysqltuner` can be used to install this application using [homebrew](https://brew.sh/) on Apple Macintosh.
MySQLTuner and Vagrant
--
**MySQLTuner** contains following Vagrant configurations:
* Fedora Core 30 / Docker
**Vagrant File** is stored in Vagrant subdirectory.
* Follow following step after vagrant installation:
$ vagrant up
**MySQLTuner** contains a Vagrant configurations for test purpose and development
* Install VirtualBox and Vagrant
* https://www.virtualbox.org/wiki/Downloads
* https://www.vagrantup.com/downloads.html
* Clone repository
* git clone https://github.com/major/MySQLTuner-perl.git
* Install Vagrant plugins vagrant-hostmanager and vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* Add Fedora Core 30 box for official Fedora Download Website
* vagrant box add --name generic/fedora30
* Create a data directory
* mkdir data
## setup test environments
$ sh build/createTestEnvs.sh
$ source build/bashrc
$ mysql_percona80 sakila
sakila> ...
$ docker images
mariadb 10.1 fc612450e1f1 12 days ago 352MB
mariadb 10.2 027b7c57b8c6 12 days ago 340MB
mariadb 10.3 47dff68107c4 12 days ago 343MB
mariadb 10.4 92495405fc36 12 days ago 356MB
mysql 5.6 95e0fc47b096 2 weeks ago 257MB
mysql 5.7 383867b75fd2 2 weeks ago 373MB
mysql 8.0 b8fd9553f1f0 2 weeks ago 445MB
percona/percona-server 5.7 ddd245ed3496 5 weeks ago 585MB
percona/percona-server 5.6 ed0a36e0cf1b 6 weeks ago 421MB
percona/percona-server 8.0 390ae97d57c6 6 weeks ago 697MB
mariadb 5.5 c7bf316a4325 4 months ago 352MB
mariadb 10.0 d1bde56970c6 4 months ago 353MB
mysql 5.5 d404d78aa797 4 months ago 205MB
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
da2be9b050c9 mariadb:5.5 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5311->3306/tcp mariadb55
5deca25d5ac8 mariadb:10.0 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5310->3306/tcp mariadb100
73aaeb37e2c2 mariadb:10.1 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5309->3306/tcp mariadb101
72ffa77e01ec mariadb:10.2 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5308->3306/tcp mariadb102
f5996f2041df mariadb:10.3 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5307->3306/tcp mariadb103
4890c52372bb mariadb:10.4 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5306->3306/tcp mariadb104
6b9dc078e921 percona/percona-server:5.6 "/docker-entrypoint.…" 7 hours ago Up 7 hours 0.0.0.0:4308->3306/tcp percona56
3a4c7c826d4c percona/percona-server:5.7 "/docker-entrypoint.…" 7 hours ago Up 7 hours 0.0.0.0:4307->3306/tcp percona57
3dda408c91b0 percona/percona-server:8.0 "/docker-entrypoint.…" 7 hours ago Up 7 hours 33060/tcp, 0.0.0.0:4306->3306/tcp percona80
600a4e7e9dcd mysql:5.5 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3309->3306/tcp mysql55
4bbe54342e5d mysql:5.6 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3308->3306/tcp mysql56
a49783249a11 mysql:5.7 "docker-entrypoint.s…" 7 hours ago Up 7 hours 33060/tcp, 0.0.0.0:3307->3306/tcp mysql57
d985820667c2 mysql:8.0 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3306->3306/tcp, 33060/tcp mysql 8 0
Contributions welcome !
--
How to contribute using Pull Request ? Follow this guide : [Pull request creation](https://opensource.com/article/19/7/create-pull-request-github)
Simple steps to create a pull request:
--
- Fork this Github project
- Clone it to your local system
- Make a new branch
- Make your changes
- Push it back to your repo
- Click the Compare & pull request button
- Click Create pull request to open a new pull request

View file

@ -1,86 +1,231 @@
MySQLTuner-perl
====
![MySQLTuner-perl](https://github.com/major/MySQLTuner-perl/blob/master/mtlogo.png)
MySQLTuner это скрипт, написанный на Perl, который позволяет быстро произвести осмотр текущего состояния сервера баз данных MySQL
и составить рекомендации для увеличения производительности и стабильности работы. Выводятся текущие параметры конфигурации
[!["Buy Us A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/jmrenouard)
[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
[![Project Status](http://opensource.box.com/badges/maintenance.svg)](http://opensource.box.com/badges)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Average time to resolve an issue")
[![Percentage of open issues](http://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](http://isitmaintained.com/project/major/MySQLTuner-perl "Percentage of issues still open")
[![GPL License](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)
**MySQLTuner** - это скрипт, написанный на Perl, который позволяет быстро произвести осмотр текущего состояния сервера баз данных MySQL
и составить рекомендации для увеличения производительности и стабильности работы. Выводятся текущие параметры конфигурации
и информация о состоянии в формате отчета с основными подсказками по оптимизации.
Совместимость:
**MySQLTuner** поддерживает порядка 300 показателей для MySQL/MariaDB/Percona Server последних версий.
**MySQLTuner** поддерживает сбор показателей для множества таких конфигураций, как [Galera Cluster](http://galeracluster.com/), [TokuDB](https://www.percona.com/software/mysql-database/percona-tokudb), [Performance schema](https://github.com/mysql/mysql-sys), метрики ОС Linux, [InnoDB](http://dev.mysql.com/doc/refman/5.7/en/innodb-storage-engine.html), [MyISAM](http://dev.mysql.com/doc/refman/5.7/en/myisam-storage-engine.html), [Aria](https://mariadb.com/kb/en/mariadb/aria/), ...
Вы можете найти больше информации об этих показателях на
[Indicators description](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md).
![MysqlTuner](https://github.com/major/MySQLTuner-perl/blob/master/mysqltuner.png)
MySQLTuner нуждается в вас:
===
**MySQLTuner** нуждается в вашем вкладе в документацию и код, а так же ждёт обратную связь.
* Присоединяйтесь, пожалуйста, к нашему трекеру ошибок [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues).
* Руководство по поддержке проекта доступно на [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Ставьте "звезды" **проекту MySQLTuner** на [MySQLTuner Git Hub Project](https://github.com/major/MySQLTuner-perl)
## Количество "звезд" по времени
[![Stargazers over time](https://starchart.cc/major/MySQLTuner-perl.svg)](https://starchart.cc/major/MySQLTuner-perl)
Совместимость
====
Результаты тестов:
* MySQL 8 (полная поддержка, проверка пароля не работает)
* MySQL 5.7 (полная поддержка)
* MySQL 5.6 (полная поддержка)
* MariaDB 10.0 (полная поддержка)
* MariaDB 10.1 (полная поддержка)
* MySQL 5.5 (полная поддержка)
* MySQL 5.1 (полная поддержка)
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (полная поддержка)
* Perl 5.6 или более поздний
* MariaDB 10.4 (полная поддержка)
* MariaDB 10.3 (полная поддержка)
* MariaDB 10.2 (полная поддержка)
* MariaDB 10.1 (полная поддержка)
* MariaDB 10.0 (полная поддержка, последние 6 месяцeв)
* MariaDB 5.5 (полная поддержка, но без поддержки от MariaDB)
* Percona Server 8.0 (полная поддержка, проверка пароля не работает)
* Percona Server 5.7 (полная поддержка)
* Percona Server 5.6 (полная поддержка)
* Percona XtraDB cluster (частичная поддержка, нет тестового окружения)
* Mysql Replications (частичная поддержка, нет тестового окружения)
* Galera replication (частичная поддержка, нет тестового окружения)
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1, 5.5 (частичная поддержка - устаревшие версии)
*** НЕ ПОДДЕРЖИВАЕМЫЕ ОКРУЖЕНИЯ - НУЖНА ПОМОЩЬ С НИМИ :) ***
* Windows не поддерживается на данное время (Необходима помощь!!!!!)
* Облачные сервисы(cloud based) не поддерживаются на данное время (Необходима помощь!!!!!)
* Поддержка детектирования CVE уязвимостей из [https://cve.mitre.org](https://cve.mitre.org)
*** МИНИМАЛЬНЫЕ ТРЕБОВАНИЯ ***
* Perl 5.6 или более поздний (с пакетом [perl-doc](http://search.cpan.org/~dapm/perl-5.14.4/pod/perldoc.pod))
* Операционная система семейства Unix/Linux (протестировано на Linux, различных вариациях BSD и Solaris)
* Windows не поддерживается на данное время
* Неограниченный доступ на чтение для MySQL-сервера (Для работы с MySQL < 5.1 требуется root-доступ к серверу)
Пожалуйста, прочитайте раздел ЧаВо, который расположен чуть ниже.
***ПРЕДУПРЕЖДЕНИЕ***
--
Очень важно, чтобы вы имели представление о том, какие изменения вы
Очень важно, чтобы вы имели представление о том, какие изменения вы
вносите в параметры сервера баз данных MySQL. Если вы даже частично
не понимаете вывод отчета скрипта, или не понимаете рекомендации,
не понимаете вывод отчета скрипта, или не понимаете рекомендации,
которые делает скрипт, то вам лучше всего обратиться за помощью либо
к документации к серверу баз данных, либо ближайшему системному
администратору. Всегда проверяйте ваши изменения на тестовом сервере
к документации к серверу баз данных, либо ближайшему системному
администратору. Всегда проверяйте ваши изменения на тестовом сервере
и всегда будьте готовы к тому, что улучшения в одной области могут иметь
отрицательный эфект в работе MySQL в другой области.
Так же **важно** подождать, что бы сервер баз данных отработал хотя бы день, для получения точных реультатов. Запуск **mysqltuner** на только что перезапущенном сервере баз данных, по факту полностью бесполезен.
**Серьезно - прочитайте раздел ЧаВо, который расположен чуть ниже.**
ПРЕДУПРЕЖДЕНИЕ
Рекомендации по безопасности
--
Здравствуй, пользователь directadmin!
Мы обнаружили, что запуск mysqltuner с доступами da_admin, взятыми из файла `/usr/local/directadmin/conf/my.cnf`, может привести к компрометации пароля!
Детали можно прочитать по ссылке [Issue #289](https://github.com/major/MySQLTuner-perl/issues/289).
Что именно проверяет MySQLTuner?
--
Все проверки, что выполняет **MySQLTuner**, задокументированы в [MySQLTuner Internals](https://github.com/major/MySQLTuner-perl/blob/master/INTERNALS.md)
Загрузка/Установка
--
You can download the entire repository by using 'git clone' followed by the cloning URL above. The simplest and shortest method is:
Доступны несколько методов:
1) Прямая загрузка скрипта(самый простой и короткий метод):
```
wget http://mysqltuner.pl/ -O mysqltuner.pl
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
```
wget http://mysqltuner.pl/ -O mysqltuner.pl
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
perl mysqltuner.pl
2) Вы можете скачать весь репозиторий с помощью `git clone` или `git clone --depth 1 -b master` c URL текущего репозитория.
Of course, you can add the execute bit (chmod +x mysqltuner.pl) so you can execute it without calling perl directly.
Оциональная установка Sysschema для MySQL 5.6
--
Sysschema по умолчанию установлена на MySQL 5.7 и MySQL 8 от Oracle.
В MySQL 5.6/5.7/8 по умолчанию performance schema включена.
Для версий старше 5.6 вы можете создать новую базу данных sys, содержащую очень полезный взгляд на Performance schema следующими командами:
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
# check zip file
unzip -l sysschema.zip
unzip sysschema.zip
cd mysql-sys-master
mysql -uroot -p < sys_56.sql
Опциональная установка Performance schema и Sysschema для MariaDB 10.x
--
Sysschema не установлена по умолчанию на MariaDB 10.x.
А performance schema по умолчанию отключена в MariaDB. Для активации ее требуется включить в конфигурационном файле my.cnf:
[mysqld]
performance_schema = on
Вы можете создать новую базу данных sys, содержащую очень полезный взгляд на Performance schema следующими командами:
curl "https://codeload.github.com/FromDual/mariadb-sys/zip/master" > mariadb-sys.zip
# check zip file
unzip -l mariadb-sys.zip
unzip mariadb-sys.zip
cd mariadb-sys-master/
mysql -u root -p < ./sys_10.sql
Ошибки и их решения при установке performance schema
ERROR at line 21: Failed to open file './tables/sys_config_data_10.sql -- ported', error: 2
Посмотрите на #452 решение, данное @ericx
Примеры использования
--
__Пример:__ Минимальный локальный запуск
perl mysqltuner.pl --host 127.0.0.1
Конечно, вам нужно будет добавить права на выполнение скрипта (chmod +x mysqltuner.pl), если вы хотите запускать его напрямую, без указания perl.
__Пример:__ Минимальный удаленный запуск
perl mysqltuner.pl --host targetDNS_IP --user admin_user --pass admin_password
__Пример:__ Включение максимамльного вывода информации о MySQL/MariaDb без отладочной информации
perl mysqltuner.pl --verbose
perl mysqltuner.pl --buffers --dbstat --idxstat --sysstat --pfstat --tbstat
__Пример:__ Включение проверки на CVE уязвимости для MariaDB или MySQL
perl mysqltuner.pl --cvefile=vulnerabilities.csv
__Пример:__ Запись результата в файл с отображением информации
perl mysqltuner.pl --outputfile /tmp/result_mysqltuner.txt
__Пример:__ Запись результата в файл **без вывода информации**
perl mysqltuner.pl --silent --outputfile /tmp/result_mysqltuner.txt
__Пример:__ Использование шаблона для кастомизации отчетов, сохраняющихся в файл на базе синтаксиса [Text::Template](https://metacpan.org/pod/Text::Template).
perl mysqltuner.pl --silent --reportfile /tmp/result_mysqltuner.txt --template=/tmp/mymodel.tmpl
__Пример:__ Включение вывода отладочной информации
perl mysqltuner.pl --debug
__Пример:__ Обновление MySQLTuner и файлов с данными (пароль и cve), если необходимо.
perl mysqltuner.pl --checkversion --updateversion
ЧаВо
--
Вопрос: Will MySQLTuner fix my slow MySQL server?
**Вопрос: MySQLTuner починит мой медленный MySQL сервер?**
**No.** MySQLTuner is a read only script. It won't write to any configuration files, change the status of any daemons, or call your mother to wish her a happy birthday. It will give you an overview of your server's performance and make some basic recommendations about improvements that you can make after it completes. *Make sure you read the warning above prior to following any recommendations.*
**Нет.** MySQLTuner работает только на чтение. Он не будет записывать какие-либо конфигурационные файлы, изменять статус каких-либо демонов или звонить вашей маме, чтобы поздравить её с днём рождения. Он только даст обзор производительности вашего сервера и предложит несколько базовых рекомендаций, которые вы можете выполнить. *Убедитесь, что вы прочитали предупреждения до следования рекомендациям.*
Вопрос: Can I fire my DBA now?
**Вопрос: Теперь я могу уволить моего DBA?**
**MySQLTuner will not replace your DBA in any form or fashion.** If your DBA constantly takes your parking spot and steals your lunch from the fridge, then you may want to consider it - but that's your call.
**MySQLTuner не заменяет вашего DBA никоим образом.** Однако, если ваш DBA постоянно занимает ваше парковочное место и крадёт ваш обед из холодильника, вы можете попробовать сделать это - но это будет ваш выбор.
Вопрос: Why does MySQLTuner keep asking me the login credentials for MySQL over and over?
**Вопрос: Почему MySQLTuner каждый раз запрашивает доступы в MySQL?**
The script will try its best to log in via any means possible. It will check for ~/.my.cnf files, Plesk password files, and empty password root logins. If none of those are available, then you'll be prompted for a password. If you'd like the script to run in an automated fashion without user intervention, then create a .my.cnf file in your home directory which contains:
Скрипт пытается использовать лучшие способы войти из возможных. Он проверяет ~/.my.cnf файлы, файлы паролей Plesk и пробует пустой пароль для пользователя root. Если ни один из этих способов не сработал, то запрашивается ввод пароля. Если вы хотите, чтобы скрипт работал автоматически, создайте в своей домашней директории файл .my.cnf, содержащий:
[client]
user=someusername
pass=thatuserspassword
Once you create it, make sure it's owned by your user and the mode on the file is 0600. This should prevent the prying eyes from getting your database login credentials under normal conditions. If a [T-1000 shows up in a LAPD uniform](https://en.wikipedia.org/wiki/T-1000) and demands your database credentials, you won't have much of an option.
user=distributions
password=thatuserspassword
Вопрос: Is there another way to secure credentials on latest MySQL and MariaDB distributions ?
You could use mysql_config_editor utilities.
Сразу после создания файла убедитесь, что его владельцем является ваш пользователь, а права на файл - 0600. Это защитит ваш логин и пароль от базы данных от любопытных глаз в нормальных условиях. Но у вас не будет выбора, если появится [T-1000 в униформе полицейского из Лос-Анджелеса](https://ru.wikipedia.org/wiki/T-1000) и потребует доступы от вашей базы данных.
**Вопрос: Есть ли другой способ безопасно сохранить данные для входа в последних версиях MySQL и MariaDB?**
Вы можете использовать утилиту mysql_config_editor.
~~~bash
$ mysql_config_editor set --login-path=client --user=someusername --password --host=localhost
Enter passord: ********
$
~~~
Она создаст `~/.mylogin.cnf` с корректными правами доступа.
At this time, ~/.mylogin.cnf has been written with appropriated rigth access.
To get information about stored credentials, use the following command:
Чтобы получить информацию о сохраненных данных для входа, выполните:
$mysql_config_editor print
[client]
@ -88,13 +233,124 @@ To get information about stored credentials, use the following command:
password = *****
host = localhost
Вопрос: It's not working on my OS! What gives?!
**Вопрос: Какие минимальные привелегии нужны для специального пользователя базы данных mysqltuner?**
These kinds of things are bound to happen. Here are the details I need from you in order to research the problem thoroughly:
mysql>GRANT SELECT, PROCESS,EXECUTE, REPLICATION CLIENT,SHOW DATABASES,SHOW VIEW ON *.* TO 'mysqltuner'@'localhost' identified by pwd1234;
* OS and OS version
* Architecture (x86, x86_64, IA64, Commodore 64)
* Exact MySQL version
* Where you obtained your MySQL version (OS package, source, etc)
* The full text of the error
* A copy of SHOW VARIABLES and SHOW GLOBAL STATUS output (if possible)
**Вопрос: Это не работает на моей ОС! Что делать?!**
Иногда такое случается. Чтобы тщательно исследовать проблему, необходимы следующие данные:
* ОС и версия ОС
* Архитектура (x86, x86_64, IA64, Commodore 64)
* Точная версия MySQL
* Где вы взяли данную версию MySQL(OS package, source, etc)
* Полный текст ошибки
* Копия вывода SHOW VARIABLES и SHOW GLOBAL STATUS (если это возможно)
**Вопрос: Как выполнить проверку на CVE уязвимости?**
* Скачать vulnerabilities.csv с этого репозитория.
* Использовать опцию --cvefile для проверки
**Вопрос: Как использовать mysqltuner с удалённого хоста?**
Спасибо [@rolandomysqldba](http://dba.stackexchange.com/users/877/rolandomysqldba)
* Вы можете подключиться так же, как для обычного mysql-клиета:
Подключение и аутентификация.
--host <hostname> Connect to a remote host to perform tests (default: localhost)
--socket <socket> Use a different socket for a local connection
--port <port> Port to use for connection (default: 3306)
--user <username> Username to use for authentication
--pass <password> Password to use for authentication
--defaults-file <path> defaulfs file for credentials
Так как вы используете удалённый хост, используйте параметры для указания данных об ОС
--forcemem <size> Количество оперативной памяти в мегабайтах
--forceswap <size> Количество swap памяти в мегабайтах
* Вы можете обратиться к вашему системному администратору, чтобы спросить, сколько оперативной памяти и swap'а вам доступно
Если у баз слишком много таблиц, или есть очень большие таблицы, используйте опцию
--skipsize Don't enumerate tables and their types/sizes (default: on)
(Recommended for servers with many tables)
**Вопрос: Я могу установить этот проект с помощью homebrew на Apple Macintosh?**
Да! Вы можете уставновить его командой `brew install mysqltuner` с помощью [homebrew](https://brew.sh/) на Apple Macintosh.
MySQLTuner и Vagrant
--
**MySQLTuner** содержится в следующих конфигурациях Vagrant:
* Fedora Core 10 / Docker
**Vagrant File** is stored in Vagrant subdirectory.
* Follow following step after vagrant installation:
$ vagrant up
**MySQLTuner** contains a Vagrant configurations for test purpose and development
* Install VirtualBox and Vagrant
* https://www.virtualbox.org/wiki/Downloads
* https://www.vagrantup.com/downloads.html
* Clone repository
* git clone https://github.com/major/MySQLTuner-perl.git
* Install Vagrant plugins vagrant-hostmanager and vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* Add Fedora Core 30 box for official Fedora Download Website
* vagrant box add --name generic/fedora30
* Create a data directory
* mkdir data
## Настройка тестовых окружений
$ sh build/createTestEnvs.sh
$ source build/bashrc
$ mysql_percona80 sakila
sakila> ...
$ docker images
mariadb 10.1 fc612450e1f1 12 days ago 352MB
mariadb 10.2 027b7c57b8c6 12 days ago 340MB
mariadb 10.3 47dff68107c4 12 days ago 343MB
mariadb 10.4 92495405fc36 12 days ago 356MB
mysql 5.6 95e0fc47b096 2 weeks ago 257MB
mysql 5.7 383867b75fd2 2 weeks ago 373MB
mysql 8.0 b8fd9553f1f0 2 weeks ago 445MB
percona/percona-server 5.7 ddd245ed3496 5 weeks ago 585MB
percona/percona-server 5.6 ed0a36e0cf1b 6 weeks ago 421MB
percona/percona-server 8.0 390ae97d57c6 6 weeks ago 697MB
mariadb 5.5 c7bf316a4325 4 months ago 352MB
mariadb 10.0 d1bde56970c6 4 months ago 353MB
mysql 5.5 d404d78aa797 4 months ago 205MB
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
da2be9b050c9 mariadb:5.5 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5311->3306/tcp mariadb55
5deca25d5ac8 mariadb:10.0 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5310->3306/tcp mariadb100
73aaeb37e2c2 mariadb:10.1 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5309->3306/tcp mariadb101
72ffa77e01ec mariadb:10.2 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5308->3306/tcp mariadb102
f5996f2041df mariadb:10.3 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5307->3306/tcp mariadb103
4890c52372bb mariadb:10.4 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:5306->3306/tcp mariadb104
6b9dc078e921 percona/percona-server:5.6 "/docker-entrypoint.…" 7 hours ago Up 7 hours 0.0.0.0:4308->3306/tcp percona56
3a4c7c826d4c percona/percona-server:5.7 "/docker-entrypoint.…" 7 hours ago Up 7 hours 0.0.0.0:4307->3306/tcp percona57
3dda408c91b0 percona/percona-server:8.0 "/docker-entrypoint.…" 7 hours ago Up 7 hours 33060/tcp, 0.0.0.0:4306->3306/tcp percona80
600a4e7e9dcd mysql:5.5 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3309->3306/tcp mysql55
4bbe54342e5d mysql:5.6 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3308->3306/tcp mysql56
a49783249a11 mysql:5.7 "docker-entrypoint.s…" 7 hours ago Up 7 hours 33060/tcp, 0.0.0.0:3307->3306/tcp mysql57
d985820667c2 mysql:8.0 "docker-entrypoint.s…" 7 hours ago Up 7 hours 0.0.0.0:3306->3306/tcp, 33060/tcp mysql 8 0
MySQLTuner нуждается в Вас:
===
**MySQLTuner** нуждается в вашем вкладе в документацию и код, а так же ждёт обратную связь.
* Присоединяйтесь, пожалуйста, к нашему трекеру ошибок [GitHub tracker](https://github.com/major/MySQLTuner-perl/issues).
* Руководство по поддержке проекта доступно на [MySQLTuner contributing guide](https://github.com/major/MySQLTuner-perl/blob/master/CONTRIBUTING.md)
* Ставьте "звезды" **проекту MySQLTuner** на [MySQLTuner Git Hub Project](https://github.com/major/MySQLTuner-perl)

21
SECURITY.md Normal file
View file

@ -0,0 +1,21 @@
# Security Policy
## Supported Versions
Use this section to tell people about which versions of your project are
currently being supported with security updates.
| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |
## Reporting a Vulnerability
Use this section to tell people how to report a vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.

View file

@ -1,6 +1,6 @@
# NAME
MySQLTuner 1.6.10 - MySQL High Performance Tuning Script
MySQLTuner 2.6.0 - MySQL High Performance Tuning Script
# IMPORTANT USAGE GUIDELINES
@ -9,48 +9,76 @@ Allow MySQL server to run for at least 24-48 hours before trusting suggestions
Some routines may require root level privileges (script will provide warnings)
You must provide the remote server's total memory when connecting to other servers
# CONNECTION AND AUTHENTIFICATION
# CONNECTION AND AUTHENTICATION
--host <hostname> Connect to a remote host to perform tests (default: localhost)
--socket <socket> Use a different socket for a local connection
--port <port> Port to use for connection (default: 3306)
--user <username> Username to use for authentication
--pass <password> Password to use for authentication
--mysqladmin <path> Path to a custom mysqladmin executable
--mysqlcmd <path> Path to a custom mysql executable
--host <hostname> Connect to a remote host to perform tests (default: localhost)
--socket <socket> Use a different socket for a local connection
--port <port> Port to use for connection (default: 3306)
--protocol tcp Force TCP connection instead of socket
--user <username> Username to use for authentication
--userenv <envvar> Name of env variable which contains username to use for authentication
--pass <password> Password to use for authentication
--passenv <envvar> Name of env variable which contains password to use for authentication
--ssl-ca <path> Path to public key
--mysqladmin <path> Path to a custom mysqladmin executable
--mysqlcmd <path> Path to a custom mysql executable
--defaults-file <path> Path to a custom .my.cnf
--defaults-extra-file <path> Path to an extra custom config file
--server-log <path> Path to explicit log file (error_log)
# PERFORMANCE AND REPORTING OPTIONS
--skipsize Don't enumerate tables and their types/sizes (default: on)
(Recommended for servers with many tables)
--skippassword Don't perform checks on user passwords(default: off)
--json Print result as JSON string
--prettyjson Print result as JSON formatted string
--skippassword Don't perform checks on user passwords (default: off)
--checkversion Check for updates to MySQLTuner (default: don't check)
--updateversion Check for updates to MySQLTuner and update when newer version is available (default: don't check)
--forcemem <size> Amount of RAM installed in megabytes
--forceswap <size> Amount of swap memory configured in megabytes
--passwordfile <path> Path to a password file list(one password by line)
--passwordfile <path> Path to a password file list (one password by line)
--cvefile <path> CVE File for vulnerability checks
--outputfile <path> Path to a output txt file
--reportfile <path> Path to a report txt file
--template <path> Path to a template file
--dumpdir <path> Path to a directory where to dump information files
--feature <feature> Run a specific feature (see FEATURES section)
--dumpdir <path> information_schema tables and sys views are dumped in CSV in this path
# OUTPUT OPTIONS
--silent Don't output anything on screen
--verbose Print out all options (default: no verbose, dbstat, idxstat, sysstat, tbstat, pfstat)
--color Print output in color
--nocolor Don't print output in color
--nogood Remove OK responses
--nobad Remove negative/suggestion responses
--noinfo Remove informational responses
--debug Print debug information
--experimental Print experimental analysis (may fail)
--nondedicated Consider server is not dedicated to Db server usage only
--noprocess Consider no other process is running
--dbstat Print database information
--nodbstat Don't print database information
--tbstat Print table information
--notbstat Don't print table information
--colstat Print column information
--nocolstat Don't print column information
--idxstat Print index information
--noidxstat Don't print index information
--nomyisamstat Don't print MyIsam information
--sysstat Print system information
--bannedports Ports banned separated by comma(,)
--maxportallowed Number of ports opened allowed on this hosts
--cvefile CVE File for vulnerability checks
--nocolor Don't print output in color
--json Print result as JSON string
--nosysstat Don't print system information
--nostructstat Don't print table structures information
--pfstat Print Performance schema
--nopfstat Don't print Performance schema
--bannedports Ports banned separated by comma (,)
--server-log Define specific error_log to analyze
--maxportallowed Number of open ports allowable on this host
--buffers Print global and per-thread buffer values
--outputfile <path> Path to a output txt file
--reportfile <path> Path to a report txt file
--template <path> Path to a template file
--verbose Prints out all options (default: no verbose)
=head1 PERLDOC
# PERLDOC
You can find documentation for this module with the perldoc command.
@ -65,6 +93,7 @@ You can find documentation for this module with the perldoc command.
# AUTHORS
Major Hayden - major@mhtx.net
Jean-Marie Renouard - jmrenouard@gmail.com
# CONTRIBUTORS
@ -101,14 +130,16 @@ Major Hayden - major@mhtx.net
- Joe Ashcraft
- Jean-Marie Renouard
- Stephan GroBberndt
- Christian Loos
- Long Radix
# SUPPORT
Bug reports, feature requests, and downloads at http://mysqltuner.com/
Bug reports, feature requests, and downloads at http://mysqltuner.pl/
Bug tracker can be found at https://github.com/major/MySQLTuner-perl/issues
Maintained by Major Hayden (major\\@mhtx.net) - Licensed under GPL
Maintained by Jean-Marie Renouard (jmrenouard\\@gmail.com) - Licensed under GPL
# SOURCE CODE
@ -118,11 +149,12 @@ Maintained by Major Hayden (major\\@mhtx.net) - Licensed under GPL
# COPYRIGHT AND LICENSE
Copyright (C) 2006-2015 Major Hayden - major@mhtx.net
Copyright (C) 2006-2023 Major Hayden - major@mhtx.net
\# Copyright (C) 2015-2023 Jean-Marie Renouard - jmrenouard@gmail.com
For the latest updates, please visit http://mysqltuner.com/
For the latest updates, please visit http://mysqltuner.pl/
Git repository available at http://github.com/major/MySQLTuner-perl
Git repository available at https://github.com/major/MySQLTuner-perl
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -136,4 +168,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see &lt;https://www.gnu.org/licenses/>.

71
Vagrant/Vagrantfile vendored Normal file
View file

@ -0,0 +1,71 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "generic/fedora30"
config.vm.network "private_network", ip: "192.168.50.10", virtualbox__intnet: false
if Vagrant.has_plugin? "vagrant-vbguest"
config.vbguest.no_install = true
config.vbguest.auto_update = false
config.vbguest.no_remote = true
end
config.hostmanager.enabled = true
config.hostmanager.manage_host = false
config.hostmanager.manage_guest = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
config.vm.network "public_network"
config.vm.hostname = 'fedora-generic'
config.hostmanager.aliases = %w(fedora-generic.localdomain fedora-generic.local fcg.local)
config.vm.synced_folder ".", "/data"
config.vm.provider "virtualbox" do |vb|
vb.name="fedora-generic"
vb.gui = false
vb.memory = "3036"
vb.cpus = 4
end
config.vm.provision "shell", inline: <<-SHELL
echo "secret" | sudo passwd --stdin root
echo "secret" | sudo passwd --stdin vagrant
sudo cp -pr ~vagrant/.ssh /root
sudo chown -R root.root /root/.ssh
sudo dnf -y update
sudo dnf -y install telnet vim-enhanced net-tools git python python2-pip python34-PyYAML moreutils net-tools python-psutil perl-WWW-Mechanize-GZip perl-App-cpanminus perl-List-MoreUtils vim-enhanced unzip zip jq youtube-dl ffmpeg make mariadb psmisc PyYAML tofrodos python3 chromedriver wget
sudo dnf -y install python34-pip moreutils net-tools python-psutil perl-WWW-Mechanize-GZip perl-App-cpanminus perl-List-MoreUtils vim-enhanced unzip zip jq youtube-dl ffmpeg make mariadb psmisc PyYAML tofrodos python3 wget python-beautifulsoup4 npm rclone golang yum-utils device-mapper-persistent-data lvm2 docker
echo "alias h='function hdi(){ howdoi \$* -c -n 5; }; hdi'" >> /tmp/util.sh
echo "alias s=sudo" >> /tmp/util.sh
echo "alias h=history" >> /tmp/util.sh
echo "alias hserver='python -m http.server 8000'" >> /tmp/util.sh
sudo cp /tmp/util.sh /etc/profile.d
cat /tmp/util.sh
sudo dnf install -y yum-utils device-mapper-persistent-data lvm2
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager \
--add-repo \
https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf -y install docker-ce docker-ce-cli containerd.io
dnf list docker-ce --showduplicates | sort -r
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker vagrant
sudo systemctl daemon-reload
true
##########################################
# Install container
sudo systemctl restart docker
SHELL
config.vm.provision :hostmanager
end

View file

@ -1,99 +0,0 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "fc23-mariadb10-0"
config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
config.vbguest.auto_update = true
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.0.115"
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network "public_network"
config.vm.hostname = 'dev.app'
config.hostmanager.aliases = %w(dev.app.localdomain dev.app.local)
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder "./data", "/data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = false
#
# # Customize the amount of memory on the VM:
vb.memory = "1024"
end
#
# View the documentation for the provider you are using for more
# information on available options.
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
sudo yum -y update
echo "secret" | sudo passwd --stdin root
sudo cp -pr ~vagrant/.ssh /root
sudo chown -R root.root /root/.ssh
sudo yum -y install git python
sudo pip install --upgrade pip
if [ ! -d "/data/MySQLTuner-perl" ]; then
cd /data
sudo git clone https://github.com/major/MySQLTuner-perl.git
fi
sudo yum -y install perl-WWW-Mechanize-GZip perl-App-cpanminus perl-List-MoreUtils
sudo cpanm install File::Util
sudo yum -y install mariadb mariadb-server wget
sudo systemctl start mariadb.service
mysql -e 'select version();'
cd /data
sudo wget "https://launchpad.net/test-db/employees-db-1/1.0.6/+download/employees_db-full-1.0.6.tar.bz2"
sudo tar xvjf employees_db-full-1.0.6.tar.bz2
cd employees_db
cat employees.sql | mysql
cd ..
cd MySQLTuner-perl
perl mysqltuner.pl --idxstat --dbstat
SHELL
config.vm.provision :hostmanager
end

View file

@ -1,107 +0,0 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "fc23-mariadb10-1"
config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
config.vbguest.auto_update = true
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.0.115"
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network "public_network"
config.vm.hostname = 'dev.app'
config.hostmanager.aliases = %w(dev.app.localdomain dev.app.local)
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder "./data", "/data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = false
#
# # Customize the amount of memory on the VM:
vb.memory = "1024"
end
#
# View the documentation for the provider you are using for more
# information on available options.
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
sudo yum -y update
echo "secret" | sudo passwd --stdin root
sudo cp -pr ~vagrant/.ssh /root
sudo chown -R root.root /root/.ssh
sudo yum -y install git python
sudo pip install --upgrade pip
if [ ! -d "/data/MySQLTuner-perl" ]; then
cd /data
sudo git clone https://github.com/major/MySQLTuner-perl.git
fi
echo "# MariaDB 10.1 Fedora repository list - created 2016-01-25 13:11 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/fedora23-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1" >> /etc/yum.repos.d/mariadb.repo
sudo yum -y install perl-WWW-Mechanize-GZip perl-App-cpanminus perl-List-MoreUtils
sudo cpanm install File::Util
sudo yum -y install MariaDB-server MariaDB-client wget
sudo systemctl start mariadb.service
mysql -e 'select version();'
cd /data
sudo wget "https://launchpad.net/test-db/employees-db-1/1.0.6/+download/employees_db-full-1.0.6.tar.bz2"
sudo tar xvjf employees_db-full-1.0.6.tar.bz2
cd employees_db
cat employees.sql | mysql
cd ..
cd MySQLTuner-perl
perl mysqltuner.pl --idxstat --dbstat
SHELL
config.vm.provision :hostmanager
end

View file

@ -1,107 +0,0 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "fc23-mysql5-6"
config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
config.vbguest.auto_update = true
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.0.115"
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network "public_network"
config.vm.hostname = 'dev.app'
config.hostmanager.aliases = %w(dev.app.localdomain dev.app.local)
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder "./data", "/data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = false
#
# # Customize the amount of memory on the VM:
vb.memory = "1024"
end
#
# View the documentation for the provider you are using for more
# information on available options.
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
sudo yum -y update
echo "secret" | sudo passwd --stdin root
sudo cp -pr ~vagrant/.ssh /root
sudo chown -R root.root /root/.ssh
sudo yum -y install git python yum-utils
sudo pip install --upgrade pip
if [ ! -d "/data/MySQLTuner-perl" ]; then
cd /data
sudo git clone https://github.com/major/MySQLTuner-perl.git
fi
sudo rpm -ivh https://dev.mysql.com/get/mysql57-community-release-fc23-7.noarch.rpm
sudo yum -y install perl-WWW-Mechanize-GZip perl-App-cpanminus perl-List-MoreUtils
sudo cpanm install File::Util
sudo yum-config-manager --disable mysql57-community
sudo yum-config-manager --enable mysql56-community
sudo yum -y install mysql-community-server mysql-community-client wget
sudo systemctl start mysqld.service
mysql -uroot -e 'select version();'
cd /data
[ -f "employees_db-full-1.0.6.tar.bz2" ] || sudo wget "https://launchpad.net/test-db/employees-db-1/1.0.6/+download/employees_db-full-1.0.6.tar.bz2"
sudo tar xvjf employees_db-full-1.0.6.tar.bz2
cd employees_db
cat employees.sql | mysql
cd ..
cd MySQLTuner-perl
perl mysqltuner.pl --idxstat --dbstat
SHELL
config.vm.provision :hostmanager
end

View file

@ -1,106 +0,0 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "fc23-mysql5-7"
config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
config.vbguest.auto_update = true
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.0.115"
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
config.vm.network "public_network"
config.vm.hostname = 'dev.app'
config.hostmanager.aliases = %w(dev.app.localdomain dev.app.local)
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder "./data", "/data"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = false
#
# # Customize the amount of memory on the VM:
vb.memory = "1024"
end
#
# View the documentation for the provider you are using for more
# information on available options.
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
sudo yum -y update
echo "secret" | sudo passwd --stdin root
sudo cp -pr ~vagrant/.ssh /root
sudo chown -R root.root /root/.ssh
sudo yum -y install git python
sudo pip install --upgrade pip
if [ ! -d "/data/MySQLTuner-perl" ]; then
cd /data
sudo git clone https://github.com/major/MySQLTuner-perl.git
fi
sudo rpm -ivh https://dev.mysql.com/get/mysql57-community-release-fc23-7.noarch.rpm
sudo yum -y install perl-WWW-Mechanize-GZip perl-App-cpanminus perl-List-MoreUtils
sudo cpanm install File::Util
sudo yum -y install mysql-community-server mysql-community-client wget
sudo systemctl start mysqld.service
PASSWORD=$(sudo grep -i "temporary password" /var/log/mysqld.log | cut -d':' -f4 | xargs -n 1 echo)
echo "PASSWORD: $PASSWORD"
mysql -uroot -p$PASSWORD --connect-expired-password -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'MySqlSecr3t#'"
mysql -uroot -psecret -e 'select version();'
cd /data
[ -f "employees_db-full-1.0.6.tar.bz2" ] || sudo wget "https://launchpad.net/test-db/employees-db-1/1.0.6/+download/employees_db-full-1.0.6.tar.bz2"
sudo tar xvjf employees_db-full-1.0.6.tar.bz2
cd employees_db
cat employees.sql | mysql -uroot -pMySqlSecr3t#
cd ..
cd MySQLTuner-perl
#perl mysqltuner.pl --user root --pass MySqlSecr3t# --idxstat --dbstat
SHELL
config.vm.provision :hostmanager
end

View file

@ -1,8 +1,9 @@
#!/bin/sh
rm -f Vagrantfile
cp Vagrantfile_for_MariaDB10.0 Vagrantfile
mkdir data
vagrant plugin install vagrant-hostmanager
vagrant plugin install vagrant-vbguest
vagrant box add --name fc23 https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-virtualbox.box
vagrant up
#!/bin/sh
VERSION=${1:-"10.4"}
rm -f Vagrantfile
cp Vagrantfile_for_MariaDB${VERSION} Vagrantfile
mkdir data
vagrant plugin install vagrant-hostmanager
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-proxyconf
vagrant --provision up

View file

@ -601,6 +601,8 @@ mysql
MySQL
dba
mypass
mypasswd
mypassword
MyNewPass
some_pass
admin_pass
@ -610,3 +612,9 @@ new_password
new_password1
new_password2
root-password
root
toor
administrator
Administrator
Admin@123
Admin@@123

115
build/bashrc Normal file
View file

@ -0,0 +1,115 @@
# Some Alias
alias h=history
alias s=sudo
alias rsh='ssh -l root'
alias lh='ls -lsh'
alias ll='ls -ls'
alias la='ls -lsa'
alias gst='git status'
alias grm='git rm -f'
alias gadd='git add'
alias gcm='git commit -m'
alias gps='git push'
alias gpl='git pull'
alias glg='git log'
alias gmh='git log --follow -p --'
alias gbl='git blame'
alias grs='git reset --soft HEAD~1'
alias grh='git reset --hard HEAD~1'
alias serve="python -m $(python -c 'import sys; print("http.server" if sys.version_info[:2] > (2,7) else "SimpleHTTPServer")')"
gunt() {
git status | \
grep -vE '(Changes to be committed:| to publish your local commits|git add|git restore|On branch|Your branch|Untracked files|nclude in what will b|but untracked files present|no changes added to commit|modified:|deleted:|Changes not staged for commit)' |\
sort | uniq | \
xargs -n 1 $*
}
alias gam='git status | grep "modified" | cut -d: -f2 | xargs -n 1 git add'
gad() {
git status | \
grep 'deleted:' | \
cut -d: -f2- | \
sort | uniq | \
xargs -n 1 git rm -f
}
dcmd()
{
docker exec -i -t $1 bash
}
gen_mysqlalias()
{
input="$1"
while IFS='' read -r line
do
[ -z "$line" ] && continue
container_port=$(echo "$line" | cut -d\; -f1)
container_name=$(echo "$line" | cut -d\; -f2)
container_datadir=$(echo "$line" | cut -d\; -f3)
image_name=$(echo "$line" | cut -d\; -f4)
alias mysql_$container_name="mysql -u root -h 127.0.0.1 -P $container_port"
done < "$input"
}
exec_mysql()
{
input="$1"
name=$2
db=$3
sqlfile=$4
while IFS='' read -r line
do
[ -z "$line" ] && continue
echo "$line" | grep -q $name
[ $? -ne 0 ] && continue
container_port=$(echo "$line" | cut -d\; -f1)
container_name=$(echo "$line" | cut -d\; -f2)
container_datadir=$(echo "$line" | cut -d\; -f3)
image_name=$(echo "$line" | cut -d\; -f4)
echo "* Executing $sqlfile on $container_name"
cat $sqlfile | mysql -u root -h 127.0.0.1 -P $container_port
done < "$input"
}
exec_mysqls()
{
input="$1"
db=$2
sqlfile=$3
while IFS='' read -r line
do
[ -z "$line" ] && continue
container_port=$(echo "$line" | cut -d\; -f1)
container_name=$(echo "$line" | cut -d\; -f2)
container_datadir=$(echo "$line" | cut -d\; -f3)
image_name=$(echo "$line" | cut -d\; -f4)
echo "* Executing $sqlfile on $container_name"
cat $sqlfile | mysql -u root -h 127.0.0.1 -P $container_port
done < "$input"
}
gen_mysqlalias()
{
input="$1"
while IFS='' read -r line
do
[ -z "$line" ] && continue
container_port=$(echo "$line" | cut -d\; -f1)
container_name=$(echo "$line" | cut -d\; -f2)
container_datadir=$(echo "$line" | cut -d\; -f3)
image_name=$(echo "$line" | cut -d\; -f4)
alias mysql_$container_name="mysql -u root -h 127.0.0.1 -P $container_port"
done < "$input"
}

4
build/build_rpm.sh Executable file → Normal file
View file

@ -1,10 +1,10 @@
#!/bin/sh
BUILD_DIR=`dirname $(readlink -f $0)`
BUILD_DIR="$(dirname $(readlink -f "$0"))"
VERSION=$(grep -Ei 'my \$tunerversion' $BUILD_DIR/../mysqltuner.pl | grep = | cut -d\" -f2)
cd $BUILD_DIR
sh ./clean.sh
sh ./clean.sh
perl -pe "s/%VERSION%/$VERSION/g" mysqltuner.spec.tpl > mysqltuner.spec
mkdir -p $BUILD_DIR/mysqltuner-$VERSION

0
build/clean.sh Executable file → Normal file
View file

5
build/clearContainer.sh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/sh
docker ps | awk '{ print $NF}' |grep -v NAMES | xargs -n 1 docker kill
docker ps -a | awk '{ print $NF}' |grep -v NAMES | xargs -n 1 docker rm
docker ps -a

15
build/configimg.conf Normal file
View file

@ -0,0 +1,15 @@
3306;mysql80;/var/lib/mysql8;mysql:8.0
3307;mysql57;/var/lib/mysql57;mysql:5.7
3308;mysql56;/var/lib/mysql56;mysql:5.6
3309;mysql55;/var/lib/mysql55;mysql:5.5
4306;percona80;/var/lib/percona8;percona/percona-server:8.0
4307;percona57;/var/lib/percona57;percona/percona-server:5.7
4308;percona56;/var/lib/percona56;percona/percona-server:5.6
5306;mariadb104;/var/lib/mariadb104;mariadb:10.4
5307;mariadb103;/var/lib/mariadb103;mariadb:10.3
5308;mariadb102;/var/lib/mariadb102;mariadb:10.2
5309;mariadb101;/var/lib/mariadb101;mariadb:10.1
5310;mariadb100;/var/lib/mariadb100;mariadb:10.0
5311;mariadb55;/var/lib/mariadb55;mariadb:5.5

View file

@ -0,0 +1,90 @@
#!/bin/sh
input="./build/configimg.conf"
default_password="secret"
echo "[client]
user=root
password=$default_password" > $HOME/.my.cnf
chmod 600 $HOME/.my.cnf
[ -f "$input" ] || echo "
3306;mysql80;/var/lib/mysql8;mysql:8.0
3307;mysql57;/var/lib/mysql57;mysql:5.7
3308;mysql56;/var/lib/mysql56;mysql:5.6
3309;mysql55;/var/lib/mysql55;mysql:5.5
4306;percona80;/var/lib/percona8;percona/percona-server:8.0
4307;percona57;/var/lib/percona57;percona/percona-server:5.7
4308;percona56;/var/lib/percona56;percona/percona-server:5.6
5306;mariadb104;/var/lib/mariadb104;mariadb:10.4
5307;mariadb103;/var/lib/mariadb103;mariadb:10.3
5308;mariadb102;/var/lib/mariadb102;mariadb:10.2
5309;mariadb101;/var/lib/mariadb101;mariadb:10.1
5310;mariadb100;/var/lib/mariadb100;mariadb:10.0
5311;mariadb55;/var/lib/mariadb55;mariadb:5.5
" > "$input"
#
#echo '* PRUNING DOCKER SYSTEM DATA'
#[ "$1" = "clean" ] || docker system prune -a -f
# download all images
while IFS='' read -r line
do
[ -z "$line" ] && continue
container_port=$(echo "$line" | cut -d\; -f1)
container_name=$(echo "$line" | cut -d\; -f2)
container_datadir=$(echo "$line" | cut -d\; -f3)
image_name=$(echo "$line" | cut -d\; -f4)
if [ -n "$1" -a "$1" != "clean" ]; then
echo $line | grep -q "$1"
[ $? -eq 0 ] || continue
fi
echo "* PULLING DOCKER IMAGE: $image_name"
docker images | grep -E " $image_name$"
[ $? -ne 0 ] && docker pull $image_name
echo "* REMOVING CONTAINER : $image_name"
docker ps -a | grep -qE "$container_name^"
docker rm -f $container_name
if [ 1 -eq 0 ]; then
echo "* DELETING DATADIR: $container_datadir"
sudo rm -rf $container_datadir
[ "$1" = "clean" ] && continue
echo "* CREATING DATADIR: $container_datadir"
sudo mkdir -p $container_datadir
fi
#sudo chown -R mysql.mysql $container_datadir
sudo chmod 777 $container_datadir
echo "* STARTING CONTAINER: $container_name($container_port/TCP) BASED ON $image_name -> $container_datadir"
set -x
docker run -d -e MYSQL_ROOT_PASSWORD=$default_password -p $container_port:3306 --name $container_name -v $container_datadir:/var/lib/mysql $image_name
set +x
sleep 6s
echo "* LOGS: $container_name"
docker logs $container_name
echo "* LISTING PORTS: $container_name BASED ON $image_name"
docker port $container_name
echo "* LISTING VOLUMES: $container_name BASED ON $image_name"
docker inspect -f "{{ .Mounts }}" $container_name
echo "* LISTING $container_datadir"
ls -ls $container_datadir
#break
docker logs $container_name | grep -q "ready for connections"
done < "$input"
echo "* LISTING DOCKER IMAGES"
docker images
echo "* LISTING DOCKER CONTAINER"
docker ps

28
build/createTestEnvs.sh Normal file
View file

@ -0,0 +1,28 @@
#!/bin/sh
source build/bashrc
systemctl status docker &>/dev/null
if [ $? -ne 0 ];then
sudo dnf install -y yum-utils device-mapper-persistent-data lvm2
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager \
--add-repo \
https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf -y install docker-ce docker-ce-cli containerd.io
dnf list docker-ce --showduplicates | sort -r
sudo systemctl start docker
sudo systemctl enable docker
sudo usermod -aG docker vagrant
sudo systemctl daemon-reload
fi
sh build/createMassDockerImages.sh
sh build/fetchSampleDatabases.sh clean
sh build/fetchSampleDatabases.sh fetchall
exec_mysqls build/configimg.conf mysql contents/sakila-db/sakila-schema.sql
exec_mysqls build/configimg.conf mysql contents/sakila-db/sakila-data.sql

12
build/deployOn Normal file
View file

@ -0,0 +1,12 @@
#!/bin/bash
set -xv
_DIR=$(dirname `readlink -f $0`)
ssh $1 mkdir /images/mysqltuner
rsync -avz ${_DIR}/.. $1:/images/mysqltuner
if [ "$2" = "run" ];then
ssh $1 "su - mysql -c 'cd /images/mysqltuner; source /opt/mysql/myqenv myserver1;perl mysqltuner.pl --verbose --color'"
fi

View file

@ -0,0 +1,35 @@
#!/bin/sh
DB_WORLD_URL="https://downloads.mysql.com/docs/world.sql.zip"
DB_WORLDX_URL="https://downloads.mysql.com/docs/world_x-db.zip"
DB_SAKILA_URL="https://downloads.mysql.com/docs/sakila-db.zip"
DB_MESSAGERIE_URL="https://downloads.mysql.com/docs/menagerie-db.zip"
DB_TESTDB_URL="https://github.com/datacharmer/test_db/archive/master.zip"
getVal()
{
local vari=$1
eval "echo \$$vari"
}
case "$1" in
"fetchall")
for sample in WORLD WORLDX SAKILA MESSAGERIE TESTDB; do
sh $0 fetch $sample
done
;;
"fetch")
[ -z "$2" ] && exit 1
mkdir -p ./contents
[ -f "contents/$(basename $(getVal "DB_$2_URL"))" ] || wget -O contents/$(basename $(getVal "DB_$2_URL")) $(getVal "DB_$2_URL")
if [ $? -eq 0 ];then
(cd contents; unzip $( basename $(getVal "DB_$2_URL")) )
fi
;;
"clean")
rm -rf contents
;;
*)
echo "Unknown operation: $1"
;;
esac

13
build/genFeatures.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
# Update Feature list
(
export LANG=C
echo -e "Features list for option: --feature (dev only)\n---\n\n"
grep -E '^sub ' ./mysqltuner.pl | \
perl -pe 's/sub //;s/\s*\{//g' | \
sort -n | \
perl -pe 's/^/* /g' | \
grep -vE '(get_|close_|check_|memerror|cpu_cores|compare_tuner_version|grep_file_contents|update_tuner_version|mysql_version_|calculations|merge_hash|os_setup|pretty_uptime|update_tuner_version|human_size|string2file|file2|arr2|dump|which|percentage|trim|is_|hr_|info|print|select|wrap|remove_)'
) > ./FEATURES.md
cat ./FEATURES.md

7
build/installStaff.sh Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
apt install -y cpanminus libpod-markdown-perl libwww-mechanize-gzip-perl perltidy dos2unix
cpanm File::Util
#####

View file

@ -0,0 +1,11 @@
#!/bin/bash
[ -f "./.env" ] && source ./.env
[ -f "../.env" ] && source ../.env
VERSION=$1
docker login -u $DOCKER_USER_LOGIN -p $DOCKER_USER_PASSWORD
docker tag jmrenouard/mysqltuner:latest jmrenouard/mysqltuner:$VERSION
docker push jmrenouard/mysqltuner:latest
docker push jmrenouard/mysqltuner:$VERSION

116
build/runAudit.sh Normal file
View file

@ -0,0 +1,116 @@
#!/bin/bash
server=$1
_DIR=$(dirname `readlink -f $0`)
#SSH_OPTIONS="-i utilities/id_rsa"
SSH_OPTIONS="${SSH_OPTIONS:-""}
export SSH_CLIENT="ssh -q $SSH_OPTIONS -o TCPKeepAlive=yes -o ServerAliveInterval=50 -o strictHostKeyChecking=no"
export SCP_CLIENT="scp -q $SSH_OPTIONS -o TCPKeepAlive=yes -o ServerAliveInterval=50 -o strictHostKeyChecking=no"
_DIR="$(dirname "`readlink -f $0`")"
echo "* CLEANUP OLD RESULT FILES"
rm -f mysqltuner_${server}.txt pt-*_${server}.txt innotop_${server}.txt
echo "* RUNNNING MYSQLTUNER"
$SSH_CLIENT root@${server} "mysqltuner --verbose --outputfile /tmp/mysqltuner_${server}.txt"
[ $? -ne 0 ] && exit 1
echo "* RUNNNING PERCONA SUMMARY"
$SSH_CLIENT root@${server} "pt-summary> /tmp/pt-summary_${server}.txt"
[ $? -ne 0 ] && exit 1
echo "* RUNNNING PERCONA MYSQL SUMMARY"
$SSH_CLIENT root@${server} "pt-mysql-summary> /tmp/pt-mysql-summary_${server}.txt"
[ $? -ne 0 ] && exit 1
echo "* RUNNNING INNOTOP"
$SSH_CLIENT root@${server} "innotop -C -d1 --count 5 -n>> /tmp/innotop_${server}.txt"
[ $? -ne 0 ] && exit 1
echo "* IMPORTING RESULT TXT"
$SCP_CLIENT root@${server}:/tmp/mysqltuner_${server}.txt .
$SCP_CLIENT root@${server}:/tmp/pt-*_${server}.txt .
$SCP_CLIENT root@${server}:/tmp/innotop_${server}.txt .
[ $? -ne 0 ] && exit 1
REPORT_NAME=audit.html
echo "* GENERATING HTML RESULT"
(
DATE="$(date)"
cat<<EOF
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MySQL/MariaDB Audit report - $DATE</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.bundle.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<h1>MySQL/MariaDB Audit report - $DATE</h1>
<div id="tabs">
<ul>
<li><a href="#mysqltuner">Tuner</a></li>
<li><a href="#pt-summary">Linux</a></li>
<li><a href="#pt-mysql-summary">Percona</a></li>
<li><a href="#innotop">InnoTop</a></li>
</ul>
<div id="mysqltuner">
<pre>
EOF
) > ${REPORT_NAME}
perl ${_DIR}/txt2Html.pl - mysqltuner_${server}.txt >> ${REPORT_NAME}
(
cat << 'EOF'
</pre></div>
<div id='pt-summary'>
<pre>
EOF
) >> ${REPORT_NAME}
perl ${_DIR}/txt2Html.pl \# pt-summary_${server}.txt >> ${REPORT_NAME}
(
cat << 'EOF'
</pre></div>
<div id='pt-mysql-summary'>
<pre>
EOF
) >> ${REPORT_NAME}
perl ${_DIR}/txt2Html.pl \# pt-mysql-summary_${server}.txt >> ${REPORT_NAME}
(
cat << 'EOF'
</pre></div>
<div id='innotop'>
<pre>
EOF
) >> ${REPORT_NAME}
cat innotop_${server}.txt >> ${REPORT_NAME}
(
cat << 'EOF'
</pre></div>
</div>
<script>
$(function(){
$('#tabs').tabs({ active: 0 });
});
</script>
</body>
</html>
EOF
) >> ${REPORT_NAME}
echo "* ALL IS OK"
exit 0

26
build/runMT.sh Normal file
View file

@ -0,0 +1,26 @@
#!/bin/sh
input="./build/configimg.conf"
while IFS='' read -r line
do
[ -z "$line" ] && continue
container_port=$(echo "$line" | cut -d\; -f1)
container_name=$(echo "$line" | cut -d\; -f2)
container_datadir=$(echo "$line" | cut -d\; -f3)
image_name=$(echo "$line" | cut -d\; -f4)
if [ -n "$1" -a "$1" != "$container_name" ]; then
continue
fi
shift
sudo rm -f /var/lib/mysql
sudo ln -sf $container_datadir /var/lib/mysql
sudo chmod 777 /var/lib/mysql
#sudo docker logs $container_name > /tmp/mysqld.log
ls -ls /var/lib | grep -E 'mysql$'
#set +x
perl mysqltuner.pl $* --host 127.0.0.1 --port $container_port
exit $?
done < "$input"

17
build/sync.sh Normal file
View file

@ -0,0 +1,17 @@
#!/bin/sh
# Used to sync the original project with local project.
#Save existing working
git stash
#add project url to current repository as upstream-live
git remote add upstream-live https://github.com/major/MySQLTuner-perl
#Fetch updated code
git fetch upstream-live
#Going back to the master branch for mearging latest code
git checkout master
#Merge latest code with master branch.
git merge upstream-live/master

28
build/txt2Html.pl Normal file
View file

@ -0,0 +1,28 @@
#!/bin/env perl
use strict;
use warnings;
use File::Basename;
my $headerSep=$ARGV[0];
my $txtFile=$ARGV[1];
my $fileid =basename($txtFile);
$fileid=~ s/\./-/g;
open(my $fh, '<', $txtFile) or die "Could not open file '$txtFile' $!";
print "\n<pre>";
my $i=1;
while (my $row = <$fh>) {
chomp $row;
if ($row =~ /^$headerSep/) {
print "</pre>\n";
$row =~ s/$headerSep//g;
print "<H3 >$row</H3>\n";
print "<pre>";
$i++;
next;
}
print "$row\n" unless $row =~ /^\s*$/;
}
print "</pre>\n";
close $fh;

View file

@ -1,76 +1,80 @@
#!/usr/bin/perl
use warnings;
use strict;
use WWW::Mechanize::GZip;
use File::Util;
use Data::Dumper;
use List::MoreUtils qw(uniq);
my $verbose;
sub AUTOLOAD {
use vars qw($AUTOLOAD);
my $cmd = $AUTOLOAD;
$cmd=~s/.*:://;
print "\n","*" x 60, "\n* Catching system call : $cmd \n", "*"x60 if defined $verbose;
print "\nExecution : \t", $cmd, " ", join " ", @_ if defined $verbose;
my $outp=`$cmd @_ 2>&1`;
my $rc=$?;
print "\nResult : \t$outp", if defined $verbose;
print "Code : \t", $rc, "\n" if defined $verbose;
return $rc;
}
my $mech = WWW::Mechanize->new();
$mech->agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0');
#$mech->proxy( ['http'], 'http://XXX.XXX.XXX.XXX:3128' );
#$mech->proxy( ['https'], 'http://XXX.XXX.XXX.XXX:3128' );
$mech->env_proxy;
$mech->ssl_opts( 'verify_hostname' => 0 );
$mech->requests_redirectable(['GET', 'POST', 'HEAD']);
$mech->add_handler("request_send", sub { print '#'x80,"\nSEND REQUEST:\n"; shift->dump; print '#'x80,"\n";return } ) if defined $verbose;
$mech->add_handler("response_done", sub { print '#'x80,"\nDONE RESPONSE:\n"; shift->dump; print '#'x80,"\n"; return }) if defined $verbose;
$mech->add_handler("response_redirect" => sub { print '#'x80,"\nREDIRECT RESPONSE:\n"; shift->dump; print '#'x80,"\n"; return }) if defined $verbose;
my $url = 'http://cve.mitre.org/data/downloads/allitems.csv';
my $resp;
unlink ('cve.csv') if (-f 'cve.csv');
$resp=$mech->get($url);
$mech->save_content( "cve.csv" );
my $f=File::Util->new('readlimit' => 100000000, 'use_flock'=>'false');
my(@lines) = $f->load_file('cve.csv', '--as-lines');
my @versions;
my $temp;
unlink '../vulnerabilities.csv' if -f '../vulnerabilities.csv';
foreach my $line (@lines) {
if ($line =~ /(mysql|mariadb)/i
and $line =~ /server/i
and $line =~ /CANDIDATE/i
and $line !~ /MaxDB/i
and $line !~ /\*\* REJECT \*\* /i
and $line !~ /\*\* DISPUTED \*\* /i
and $line !~ /(Radius|Proofpoint|Active\ Record|XAMPP|TGS\ Content|e107|post-installation|Apache\ HTTP|Zmanda|pforum|phpMyAdmin|Proxy\ Server|on\ Windows|ADOdb|Mac\ OS|Dreamweaver|InterWorx|libapache2|cisco|ProFTPD)/i) {
$line =~ s/,/;/g;
@versions = $line =~/(\d{1,2}\.\d+\.[\d]+)/g;
foreach my $vers (uniq(@versions)) {
my @nb=split('\.', $vers);
#print $vers."\n".Dumper @nb;
#exit 0;
$f->write_file('file' => '../vulnerabilities.csv', 'content' => "$vers;$nb[0];$nb[1];$nb[2];$line\n", 'mode' => 'append');
}
}
}
unlink ('cve.csv') if (-f 'cve.csv');
exit(0);
#!/usr/bin/env perl
use warnings;
use strict;
use WWW::Mechanize::GZip;
use File::Util;
use Data::Dumper;
use List::MoreUtils qw(uniq);
my $verbose=1;
sub AUTOLOAD {
use vars qw($AUTOLOAD);
my $cmd = $AUTOLOAD;
$cmd=~s/.*:://;
print "\n","*" x 60, "\n* Catching system call : $cmd \n", "*"x60 if defined $verbose;
print "\nExecution : \t", $cmd, " ", join " ", @_ if defined $verbose;
my $outp=`$cmd @_ 2>&1`;
my $rc=$?;
print "\nResult : \t$outp", if defined $verbose;
print "Code : \t", $rc, "\n" if defined $verbose;
return $rc;
}
my $mech = WWW::Mechanize->new();
$mech->agent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0');
#$mech->proxy( ['http'], 'http://XXX.XXX.XXX.XXX:3128' );
#$mech->proxy( ['https'], 'http://XXX.XXX.XXX.XXX:3128' );
$mech->env_proxy;
$mech->ssl_opts( 'verify_hostname' => 0 );
$mech->requests_redirectable(['GET', 'POST', 'HEAD']);
$mech->add_handler("request_send", sub { print '#'x80,"\nSEND REQUEST:\n"; shift->dump; print '#'x80,"\n";return } ) if defined $verbose;
$mech->add_handler("response_done", sub { print '#'x80,"\nDONE RESPONSE:\n"; shift->dump; print '#'x80,"\n"; return }) if defined $verbose;
$mech->add_handler("response_redirect" => sub { print '#'x80,"\nREDIRECT RESPONSE:\n"; shift->dump; print '#'x80,"\n"; return }) if defined $verbose;
my $url = 'http://cve.mitre.org/data/downloads/allitems.csv';
my $resp;
unless (-f 'cve.csv') {
$resp=$mech->get($url);
$mech->save_content( "cve.csv" );
}
my $f=File::Util->new( readlimit => 152428800);
File::Util->flock_rules( qw/ IGNORE/ );
my @versions;
my $temp;
unlink './vulnerabilities.csv' if -f './vulnerabilities.csv';
open(CVE, 'cve.csv') or die("Could not open file.");
foreach my $line (<CVE>) {
if ($line =~ /(mysql|mariadb|percona)/i
and $line =~ /server/i
and $line =~ /CANDIDATE/i
and $line !~ /MaxDB/i
and $line !~ /\*\* REJECT \*\* /i
and $line !~ /\*\* DISPUTED \*\* /i
and $line !~ /(Radius|Proofpoint|Active\ Record|XAMPP|TGS\ Content|e107|post-installation|Apache\ HTTP|Zmanda|pforum|phpMyAdmin|Proxy\ Server|on\ Windows|ADOdb|Mac\ OS|Dreamweaver|InterWorx|libapache2|cisco|ProFTPD)/i) {
$line =~ s/,/;/g;
@versions = $line =~/(\d{1,2}\.\d+\.[\d]+)/g;
foreach my $vers (uniq(@versions)) {
my @nb=split('\.', $vers);
$nb[2]-- if ($line =~ /before/i);
#print $vers."\n".Dumper @nb;
#print "$line";
#exit 0 if ($line =~/before/i) ;
$f->write_file('file' => './vulnerabilities.csv', 'content' => "$nb[0].$nb[1].$nb[2];$nb[0];$nb[1];$nb[2];$line", 'mode' => 'append');
}
}
}
close(CVE);
chmod 0644, "./cve.csv", "../vulnerabilities.csv";
#unlink ('cve.csv') if (-f 'cve.csv');
exit(0);

20
build/updateStaff.sh Normal file
View file

@ -0,0 +1,20 @@
#!/bin/sh
(cd ..
echo "* GENERATING USAGE FILE"
pod2markdown mysqltuner.pl >USAGE.md
echo "* TIDYFY SCRIPT"
perltidy -b mysqltuner.pl
)
echo "* Update CVE list"
perl updateCVElist.pl
dos2unix ../mysqltuner.pl
# Update Feature list
bash ./genFeatures.sh
git add ../vulnerabilities.csv ../mysqltuner.pl ../USAGE.md ../FEATURES.md
git commit -m 'Update Vulnerabilities list
Indenting mysqltuner
Update Usage information
Regenerate fetures list'

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"big5","big5_chinese_ci","Big5 Traditional Chinese","2""dec8","dec8_swedish_ci","DEC West European","1""cp850","cp850_general_ci","DOS West European","1""hp8","hp8_english_ci","HP West European","1""koi8r","koi8r_general_ci","KOI8-R Relcom Russian","1""latin1","latin1_swedish_ci","cp1252 West European","1""latin2","latin2_general_ci","ISO 8859-2 Central European","1""swe7","swe7_swedish_ci","7bit Swedish","1""ascii","ascii_general_ci","US ASCII","1""ujis","ujis_japanese_ci","EUC-JP Japanese","3""sjis","sjis_japanese_ci","Shift-JIS Japanese","2""hebrew","hebrew_general_ci","ISO 8859-8 Hebrew","1""tis620","tis620_thai_ci","TIS620 Thai","1""euckr","euckr_korean_ci","EUC-KR Korean","2""koi8u","koi8u_general_ci","KOI8-U Ukrainian","1""gb2312","gb2312_chinese_ci","GB2312 Simplified Chinese","2""greek","greek_general_ci","ISO 8859-7 Greek","1""cp1250","cp1250_general_ci","Windows Central European","1""gbk","gbk_chinese_ci","GBK Simplified Chinese","2""latin5","latin5_turkish_ci","ISO 8859-9 Turkish","1""armscii8","armscii8_general_ci","ARMSCII-8 Armenian","1""utf8","utf8_general_ci","UTF-8 Unicode","3""ucs2","ucs2_general_ci","UCS-2 Unicode","2""cp866","cp866_general_ci","DOS Russian","1""keybcs2","keybcs2_general_ci","DOS Kamenicky Czech-Slovak","1""macce","macce_general_ci","Mac Central European","1""macroman","macroman_general_ci","Mac West European","1""cp852","cp852_general_ci","DOS Central European","1""latin7","latin7_general_ci","ISO 8859-13 Baltic","1""utf8mb4","utf8mb4_general_ci","UTF-8 Unicode","4""cp1251","cp1251_general_ci","Windows Cyrillic","1""utf16","utf16_general_ci","UTF-16 Unicode","4""utf16le","utf16le_general_ci","UTF-16LE Unicode","4""cp1256","cp1256_general_ci","Windows Arabic","1""cp1257","cp1257_general_ci","Windows Baltic","1""utf32","utf32_general_ci","UTF-32 Unicode","4""binary","binary","Binary pseudo charset","1""geostd8","geostd8_general_ci","GEOSTD8 Georgian","1""cp932","cp932_japanese_ci","SJIS for Windows Japanese","2""eucjpms","eucjpms_japanese_ci","UJIS for Windows Japanese","3"
1 big5 big5_chinese_ci Big5 Traditional Chinese 2"dec8 dec8_swedish_ci DEC West European 1"cp850 cp850_general_ci DOS West European 1"hp8 hp8_english_ci HP West European 1"koi8r koi8r_general_ci KOI8-R Relcom Russian 1"latin1 latin1_swedish_ci cp1252 West European 1"latin2 latin2_general_ci ISO 8859-2 Central European 1"swe7 swe7_swedish_ci 7bit Swedish 1"ascii ascii_general_ci US ASCII 1"ujis ujis_japanese_ci EUC-JP Japanese 3"sjis sjis_japanese_ci Shift-JIS Japanese 2"hebrew hebrew_general_ci ISO 8859-8 Hebrew 1"tis620 tis620_thai_ci TIS620 Thai 1"euckr euckr_korean_ci EUC-KR Korean 2"koi8u koi8u_general_ci KOI8-U Ukrainian 1"gb2312 gb2312_chinese_ci GB2312 Simplified Chinese 2"greek greek_general_ci ISO 8859-7 Greek 1"cp1250 cp1250_general_ci Windows Central European 1"gbk gbk_chinese_ci GBK Simplified Chinese 2"latin5 latin5_turkish_ci ISO 8859-9 Turkish 1"armscii8 armscii8_general_ci ARMSCII-8 Armenian 1"utf8 utf8_general_ci UTF-8 Unicode 3"ucs2 ucs2_general_ci UCS-2 Unicode 2"cp866 cp866_general_ci DOS Russian 1"keybcs2 keybcs2_general_ci DOS Kamenicky Czech-Slovak 1"macce macce_general_ci Mac Central European 1"macroman macroman_general_ci Mac West European 1"cp852 cp852_general_ci DOS Central European 1"latin7 latin7_general_ci ISO 8859-13 Baltic 1"utf8mb4 utf8mb4_general_ci UTF-8 Unicode 4"cp1251 cp1251_general_ci Windows Cyrillic 1"utf16 utf16_general_ci UTF-16 Unicode 4"utf16le utf16le_general_ci UTF-16LE Unicode 4"cp1256 cp1256_general_ci Windows Arabic 1"cp1257 cp1257_general_ci Windows Baltic 1"utf32 utf32_general_ci UTF-32 Unicode 4"binary binary Binary pseudo charset 1"geostd8 geostd8_general_ci GEOSTD8 Georgian 1"cp932 cp932_japanese_ci SJIS for Windows Japanese 2"eucjpms eucjpms_japanese_ci UJIS for Windows Japanese 3

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"NULL"
1 NULL

View file

@ -0,0 +1 @@
"MRG_MyISAM","YES","Collection of identical MyISAM tables","NO","NO","NO""CSV","YES","Stores tables as CSV files","NO","NO","NO""SEQUENCE","YES","Generated tables filled with sequential values","YES","NO","YES""MyISAM","YES","Non-transactional engine with good performance and small data footprint","NO","NO","NO""MEMORY","YES","Hash based, stored in memory, useful for temporary tables","NO","NO","NO""InnoDB","DEFAULT","Supports transactions, row-level locking, foreign keys and encryption for tables","YES","YES","YES""Aria","YES","Crash-safe tables with MyISAM heritage","NO","NO","NO""PERFORMANCE_SCHEMA","YES","Performance Schema","NO","NO","NO"
1 MRG_MyISAM YES Collection of identical MyISAM tables NO NO NO"CSV YES Stores tables as CSV files NO NO NO"SEQUENCE YES Generated tables filled with sequential values YES NO YES"MyISAM YES Non-transactional engine with good performance and small data footprint NO NO NO"MEMORY YES Hash based, stored in memory, useful for temporary tables NO NO NO"InnoDB DEFAULT Supports transactions, row-level locking, foreign keys and encryption for tables YES YES YES"Aria YES Crash-safe tables with MyISAM heritage NO NO NO"PERFORMANCE_SCHEMA YES Performance Schema NO NO NO

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"0","8192","1016","6989","2564","0","0","0","0","0","193","1512913","4.020749567717339","31518.36420074582","568","9401","10115","11.833086810691444","195.85008645653215","210.72477656715486","20519569","1000","0","73","254","0","5.291556425907793","0","4010","3","0","0"
1 0 8192 1016 6989 2564 0 0 0 0 0 193 1512913 4.020749567717339 31518.36420074582 568 9401 10115 11.833086810691444 195.85008645653215 210.72477656715486 20519569 1000 0 73 254 0 5.291556425907793 0 4010 3 0 0

View file

@ -0,0 +1 @@
"1024","0","0","0","0","0""2048","0","0","0","0","0""4096","0","0","0","0","0""8192","0","0","0","0","0""16384","0","0","0","0","0"
1 1024 0 0 0 0 0"2048 0 0 0 0 0"4096 0 0 0 0 0"8192 0 0 0 0 0"16384 0 0 0 0 0

View file

@ -0,0 +1 @@
"1024","0","0","0","0","0""2048","0","0","0","0","0""4096","0","0","0","0","0""8192","0","0","0","0","0""16384","0","0","0","0","0"
1 1024 0 0 0 0 0"2048 0 0 0 0 0"4096 0 0 0 0 0"8192 0 0 0 0 0"16384 0 0 0 0 0

View file

@ -0,0 +1 @@
"1024","0","0","0","0","0""2048","0","0","0","0","0""4096","0","0","0","0","0""8192","0","0","0","0","0""16384","0","0","0","0","0"
1 1024 0 0 0 0 0"2048 0 0 0 0 0"4096 0 0 0 0 0"8192 0 0 0 0 0"16384 0 0 0 0 0

View file

@ -0,0 +1 @@
"1024","0","0","0","0","0""2048","0","0","0","0","0""4096","0","0","0","0","0""8192","0","0","0","0","0""16384","0","0","0","0","0"
1 1024 0 0 0 0 0"2048 0 0 0 0 0"4096 0 0 0 0 0"8192 0 0 0 0 0"16384 0 0 0 0 0

View file

@ -0,0 +1 @@
"a""about""an""are""as""at""be""by""com""de""en""for""from""how""i""in""is""it""la""of""on""or""that""the""this""to""was""what""when""where""who""will""with""und""the""www"
1 a"about"an"are"as"at"be"by"com"de"en"for"from"how"i"in"is"it"la"of"on"or"that"the"this"to"was"what"when"where"who"will"with"und"the"www

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"dict0dict.cc:922","dict0dict.cc","922","15""log0log.cc:698","log0log.cc","698","9""btr0sea.cc:190","btr0sea.cc","190","33""btr0sea.cc:190","btr0sea.cc","190","1""buf_block_t::lock","combined buf0buf.cc","1475","20"
1 dict0dict.cc:922 dict0dict.cc 922 15"log0log.cc:698 log0log.cc 698 9"btr0sea.cc:190 btr0sea.cc 190 33"btr0sea.cc:190 btr0sea.cc 190 1"buf_block_t::lock combined buf0buf.cc 1475 20

View file

@ -0,0 +1 @@
"11","ID","0","1","524292","0""11","FOR_NAME","1","1","524292","0""11","REF_NAME","2","1","524292","0""11","N_COLS","3","6","0","4""12","ID","0","1","524292","0""12","POS","1","6","0","4""12","FOR_COL_NAME","2","1","524292","0""12","REF_COL_NAME","3","1","524292","0""13","SPACE","0","6","0","4""13","NAME","1","1","524292","0""13","FLAGS","2","6","0","4""14","SPACE","0","6","0","4""14","PATH","1","1","524292","0""15","TABLE_ID","0","6","0","8""15","POS","1","6","0","4""15","BASE_POS","2","6","0","4""16","database_name","0","12","5439759","192""16","table_name","1","12","5443855","597""16","last_update","2","3","526087","4""16","n_rows","3","6","1800","8""16","clustered_index_size","4","6","1800","8""16","sum_of_other_index_sizes","5","6","1800","8""17","database_name","0","12","5439759","192""17","table_name","1","12","5443855","597""17","index_name","2","12","5439759","192""17","last_update","3","3","526087","4""17","stat_name","4","12","5439759","192""17","stat_value","5","6","1800","8""17","sample_size","6","6","1544","8""17","stat_description","7","12","5443855","3072""18","domain_id","0","6","1795","4""18","sub_id","1","6","1800","8""18","server_id","2","6","1795","4""18","seq_no","3","6","1800","8""19","emp_no","0","6","1283","4""19","birth_date","1","6","1290","3""19","first_name","2","1","524559","14""19","last_name","3","1","524559","16""19","gender","4","6","1022","1""19","hire_date","5","6","1290","3""20","dept_no","0","2","524798","4""20","dept_name","1","1","524559","40""21","emp_no","0","6","1283","4""21","dept_no","1","2","524798","4""21","from_date","2","6","1290","3""21","to_date","3","6","1290","3""22","emp_no","0","6","1283","4""22","dept_no","1","2","524798","4""22","from_date","2","6","1290","3""22","to_date","3","6","1290","3""23","emp_no","0","6","1283","4""23","title","1","1","524559","50""23","from_date","2","6","1290","3""23","to_date","3","6","1034","3""24","emp_no","0","6","1283","4""24","salary","1","6","1283","4""24","from_date","2","6","1290","3""24","to_date","3","6","1290","3"
1 11 ID 0 1 524292 0"11 FOR_NAME 1 1 524292 0"11 REF_NAME 2 1 524292 0"11 N_COLS 3 6 0 4"12 ID 0 1 524292 0"12 POS 1 6 0 4"12 FOR_COL_NAME 2 1 524292 0"12 REF_COL_NAME 3 1 524292 0"13 SPACE 0 6 0 4"13 NAME 1 1 524292 0"13 FLAGS 2 6 0 4"14 SPACE 0 6 0 4"14 PATH 1 1 524292 0"15 TABLE_ID 0 6 0 8"15 POS 1 6 0 4"15 BASE_POS 2 6 0 4"16 database_name 0 12 5439759 192"16 table_name 1 12 5443855 597"16 last_update 2 3 526087 4"16 n_rows 3 6 1800 8"16 clustered_index_size 4 6 1800 8"16 sum_of_other_index_sizes 5 6 1800 8"17 database_name 0 12 5439759 192"17 table_name 1 12 5443855 597"17 index_name 2 12 5439759 192"17 last_update 3 3 526087 4"17 stat_name 4 12 5439759 192"17 stat_value 5 6 1800 8"17 sample_size 6 6 1544 8"17 stat_description 7 12 5443855 3072"18 domain_id 0 6 1795 4"18 sub_id 1 6 1800 8"18 server_id 2 6 1795 4"18 seq_no 3 6 1800 8"19 emp_no 0 6 1283 4"19 birth_date 1 6 1290 3"19 first_name 2 1 524559 14"19 last_name 3 1 524559 16"19 gender 4 6 1022 1"19 hire_date 5 6 1290 3"20 dept_no 0 2 524798 4"20 dept_name 1 1 524559 40"21 emp_no 0 6 1283 4"21 dept_no 1 2 524798 4"21 from_date 2 6 1290 3"21 to_date 3 6 1290 3"22 emp_no 0 6 1283 4"22 dept_no 1 2 524798 4"22 from_date 2 6 1290 3"22 to_date 3 6 1290 3"23 emp_no 0 6 1283 4"23 title 1 1 524559 50"23 from_date 2 6 1290 3"23 to_date 3 6 1034 3"24 emp_no 0 6 1283 4"24 salary 1 6 1283 4"24 from_date 2 6 1290 3"24 to_date 3 6 1290 3

View file

@ -0,0 +1 @@
"1","./mysql/innodb_table_stats.ibd""2","./mysql/innodb_index_stats.ibd""3","./mysql/gtid_slave_pos.ibd""4","./employees/employees.ibd""5","./employees/departments.ibd""6","./employees/dept_manager.ibd""7","./employees/dept_emp.ibd""8","./employees/titles.ibd""9","./employees/salaries.ibd"
1 1 ./mysql/innodb_table_stats.ibd"2 ./mysql/innodb_index_stats.ibd"3 ./mysql/gtid_slave_pos.ibd"4 ./employees/employees.ibd"5 ./employees/departments.ibd"6 ./employees/dept_manager.ibd"7 ./employees/dept_emp.ibd"8 ./employees/titles.ibd"9 ./employees/salaries.ibd

View file

@ -0,0 +1 @@
"11","ID","0""12","FOR_NAME","0""13","REF_NAME","0""14","ID","0""14","POS","1""15","SPACE","0""16","SPACE","0""17","TABLE_ID","0""17","POS","1""17","BASE_POS","2""18","database_name","0""18","table_name","1""19","database_name","0""19","table_name","1""19","index_name","2""19","stat_name","3""20","domain_id","0""20","sub_id","1""21","emp_no","0""22","dept_no","0""23","dept_name","0""24","emp_no","0""24","dept_no","1""25","dept_no","0""26","emp_no","0""26","dept_no","1""27","dept_no","0""28","emp_no","0""28","title","1""28","from_date","2""29","emp_no","0""29","from_date","1"
1 11 ID 0"12 FOR_NAME 0"13 REF_NAME 0"14 ID 0"14 POS 1"15 SPACE 0"16 SPACE 0"17 TABLE_ID 0"17 POS 1"17 BASE_POS 2"18 database_name 0"18 table_name 1"19 database_name 0"19 table_name 1"19 index_name 2"19 stat_name 3"20 domain_id 0"20 sub_id 1"21 emp_no 0"22 dept_no 0"23 dept_name 0"24 emp_no 0"24 dept_no 1"25 dept_no 0"26 emp_no 0"26 dept_no 1"27 dept_no 0"28 emp_no 0"28 title 1"28 from_date 2"29 emp_no 0"29 from_date 1

View file

@ -0,0 +1 @@
"employees/dept_emp_ibfk_1","employees/dept_emp","employees/employees","1","1""employees/dept_emp_ibfk_2","employees/dept_emp","employees/departments","1","1""employees/dept_manager_ibfk_1","employees/dept_manager","employees/employees","1","1""employees/dept_manager_ibfk_2","employees/dept_manager","employees/departments","1","1""employees/salaries_ibfk_1","employees/salaries","employees/employees","1","1""employees/titles_ibfk_1","employees/titles","employees/employees","1","1"
1 employees/dept_emp_ibfk_1 employees/dept_emp employees/employees 1 1"employees/dept_emp_ibfk_2 employees/dept_emp employees/departments 1 1"employees/dept_manager_ibfk_1 employees/dept_manager employees/employees 1 1"employees/dept_manager_ibfk_2 employees/dept_manager employees/departments 1 1"employees/salaries_ibfk_1 employees/salaries employees/employees 1 1"employees/titles_ibfk_1 employees/titles employees/employees 1 1

View file

@ -0,0 +1 @@
"employees/dept_emp_ibfk_1","emp_no","emp_no","0""employees/dept_emp_ibfk_2","dept_no","dept_no","0""employees/dept_manager_ibfk_1","emp_no","emp_no","0""employees/dept_manager_ibfk_2","dept_no","dept_no","0""employees/salaries_ibfk_1","emp_no","emp_no","0""employees/titles_ibfk_1","emp_no","emp_no","0"
1 employees/dept_emp_ibfk_1 emp_no emp_no 0"employees/dept_emp_ibfk_2 dept_no dept_no 0"employees/dept_manager_ibfk_1 emp_no emp_no 0"employees/dept_manager_ibfk_2 dept_no dept_no 0"employees/salaries_ibfk_1 emp_no emp_no 0"employees/titles_ibfk_1 emp_no emp_no 0

View file

@ -0,0 +1 @@
"11","ID_IND","11","3","1","302","0","50""12","FOR_IND","11","0","1","303","0","50""13","REF_IND","11","0","1","304","0","50""14","ID_IND","12","3","2","305","0","50""15","SYS_TABLESPACES_SPACE","13","3","1","307","0","50""16","SYS_DATAFILES_SPACE","14","3","1","308","0","50""17","BASE_IDX","15","3","3","310","0","50""18","PRIMARY","16","3","2","3","1","50""19","PRIMARY","17","3","4","3","2","50""20","PRIMARY","18","3","2","3","3","50""21","PRIMARY","19","3","1","3","4","50""22","PRIMARY","20","3","1","3","5","50""23","dept_name","20","2","1","4","5","50""24","PRIMARY","21","3","2","3","6","50""25","dept_no","21","0","1","4","6","50""26","PRIMARY","22","3","2","3","7","50""27","dept_no","22","0","1","4","7","50""28","PRIMARY","23","3","3","3","8","50""29","PRIMARY","24","3","2","3","9","50"
1 11 ID_IND 11 3 1 302 0 50"12 FOR_IND 11 0 1 303 0 50"13 REF_IND 11 0 1 304 0 50"14 ID_IND 12 3 2 305 0 50"15 SYS_TABLESPACES_SPACE 13 3 1 307 0 50"16 SYS_DATAFILES_SPACE 14 3 1 308 0 50"17 BASE_IDX 15 3 3 310 0 50"18 PRIMARY 16 3 2 3 1 50"19 PRIMARY 17 3 4 3 2 50"20 PRIMARY 18 3 2 3 3 50"21 PRIMARY 19 3 1 3 4 50"22 PRIMARY 20 3 1 3 5 50"23 dept_name 20 2 1 4 5 50"24 PRIMARY 21 3 2 3 6 50"25 dept_no 21 0 1 4 6 50"26 PRIMARY 22 3 2 3 7 50"27 dept_no 22 0 1 4 7 50"28 PRIMARY 23 3 3 3 8 50"29 PRIMARY 24 3 2 3 9 50

View file

@ -0,0 +1 @@
"14","SYS_DATAFILES","0","5","0","Antelope","Redundant","0","System""11","SYS_FOREIGN","0","7","0","Antelope","Redundant","0","System""12","SYS_FOREIGN_COLS","0","7","0","Antelope","Redundant","0","System""13","SYS_TABLESPACES","0","6","0","Antelope","Redundant","0","System""15","SYS_VIRTUAL","0","6","0","Antelope","Redundant","0","System""20","employees/departments","33","5","5","Barracuda","Dynamic","0","Single""22","employees/dept_emp","33","7","7","Barracuda","Dynamic","0","Single""21","employees/dept_manager","33","7","6","Barracuda","Dynamic","0","Single""19","employees/employees","33","9","4","Barracuda","Dynamic","0","Single""24","employees/salaries","33","7","9","Barracuda","Dynamic","0","Single""23","employees/titles","33","7","8","Barracuda","Dynamic","0","Single""18","mysql/gtid_slave_pos","33","7","3","Barracuda","Dynamic","0","Single""17","mysql/innodb_index_stats","33","11","2","Barracuda","Dynamic","0","Single""16","mysql/innodb_table_stats","33","9","1","Barracuda","Dynamic","0","Single"
1 14 SYS_DATAFILES 0 5 0 Antelope Redundant 0 System"11 SYS_FOREIGN 0 7 0 Antelope Redundant 0 System"12 SYS_FOREIGN_COLS 0 7 0 Antelope Redundant 0 System"13 SYS_TABLESPACES 0 6 0 Antelope Redundant 0 System"15 SYS_VIRTUAL 0 6 0 Antelope Redundant 0 System"20 employees/departments 33 5 5 Barracuda Dynamic 0 Single"22 employees/dept_emp 33 7 7 Barracuda Dynamic 0 Single"21 employees/dept_manager 33 7 6 Barracuda Dynamic 0 Single"19 employees/employees 33 9 4 Barracuda Dynamic 0 Single"24 employees/salaries 33 7 9 Barracuda Dynamic 0 Single"23 employees/titles 33 7 8 Barracuda Dynamic 0 Single"18 mysql/gtid_slave_pos 33 7 3 Barracuda Dynamic 0 Single"17 mysql/innodb_index_stats 33 11 2 Barracuda Dynamic 0 Single"16 mysql/innodb_table_stats 33 9 1 Barracuda Dynamic 0 Single

View file

@ -0,0 +1 @@
"1","mysql/innodb_table_stats","33","Barracuda","Dynamic","16384","16384","Single","4096","98304","98304""2","mysql/innodb_index_stats","33","Barracuda","Dynamic","16384","16384","Single","4096","98304","98304""3","mysql/gtid_slave_pos","33","Barracuda","Dynamic","16384","16384","Single","4096","98304","98304""4","employees/employees","33","Barracuda","Dynamic","16384","16384","Single","4096","23068672","23072768""5","employees/departments","33","Barracuda","Dynamic","16384","16384","Single","4096","114688","118784""6","employees/dept_manager","33","Barracuda","Dynamic","16384","16384","Single","4096","114688","118784""7","employees/dept_emp","33","Barracuda","Dynamic","16384","16384","Single","4096","26214400","26218496""8","employees/titles","33","Barracuda","Dynamic","16384","16384","Single","4096","28311552","28315648""9","employees/salaries","33","Barracuda","Dynamic","16384","16384","Single","4096","109051904","109056000"
1 1 mysql/innodb_table_stats 33 Barracuda Dynamic 16384 16384 Single 4096 98304 98304"2 mysql/innodb_index_stats 33 Barracuda Dynamic 16384 16384 Single 4096 98304 98304"3 mysql/gtid_slave_pos 33 Barracuda Dynamic 16384 16384 Single 4096 98304 98304"4 employees/employees 33 Barracuda Dynamic 16384 16384 Single 4096 23068672 23072768"5 employees/departments 33 Barracuda Dynamic 16384 16384 Single 4096 114688 118784"6 employees/dept_manager 33 Barracuda Dynamic 16384 16384 Single 4096 114688 118784"7 employees/dept_emp 33 Barracuda Dynamic 16384 16384 Single 4096 26214400 26218496"8 employees/titles 33 Barracuda Dynamic 16384 16384 Single 4096 28311552 28315648"9 employees/salaries 33 Barracuda Dynamic 16384 16384 Single 4096 109051904 109056000

View file

@ -0,0 +1 @@
"14","SYS_DATAFILES","Uninitialized","0","0","0","0","0","0""11","SYS_FOREIGN","Uninitialized","0","0","0","0","0","0""12","SYS_FOREIGN_COLS","Uninitialized","0","0","0","0","0","0""13","SYS_TABLESPACES","Uninitialized","0","0","0","0","0","0""15","SYS_VIRTUAL","Uninitialized","0","0","0","0","0","0""20","employees/departments","Initialized","9","1","1","0","0","1""22","employees/dept_emp","Initialized","331570","737","353","0","0","2""21","employees/dept_manager","Initialized","24","1","1","0","0","1""19","employees/employees","Initialized","299335","929","0","0","0","1""24","employees/salaries","Initialized","2844047","1","0","86302","0","1""23","employees/titles","Initialized","442308","1252","0","0","0","1""18","mysql/gtid_slave_pos","Initialized","0","1","0","0","0","1""17","mysql/innodb_index_stats","Initialized","38","1","0","0","0","1""16","mysql/innodb_table_stats","Initialized","7","1","0","0","0","1"
1 14 SYS_DATAFILES Uninitialized 0 0 0 0 0 0"11 SYS_FOREIGN Uninitialized 0 0 0 0 0 0"12 SYS_FOREIGN_COLS Uninitialized 0 0 0 0 0 0"13 SYS_TABLESPACES Uninitialized 0 0 0 0 0 0"15 SYS_VIRTUAL Uninitialized 0 0 0 0 0 0"20 employees/departments Initialized 9 1 1 0 0 1"22 employees/dept_emp Initialized 331570 737 353 0 0 2"21 employees/dept_manager Initialized 24 1 1 0 0 1"19 employees/employees Initialized 299335 929 0 0 0 1"24 employees/salaries Initialized 2844047 1 0 86302 0 1"23 employees/titles Initialized 442308 1252 0 0 0 1"18 mysql/gtid_slave_pos Initialized 0 1 0 0 0 1"17 mysql/innodb_index_stats Initialized 38 1 0 0 0 1"16 mysql/innodb_table_stats Initialized 7 1 0 0 0 1

View file

@ -0,0 +1 @@
"0","innodb_system","0","NULL","NULL","NULL","0","0""3","mysql/gtid_slave_pos","0","NULL","NULL","NULL","0","0""2","mysql/innodb_index_stats","0","NULL","NULL","NULL","0","0""1","mysql/innodb_table_stats","0","NULL","NULL","NULL","0","0""4","employees/employees","0","NULL","NULL","NULL","0","0""5","employees/departments","0","NULL","NULL","NULL","0","0""6","employees/dept_manager","0","NULL","NULL","NULL","0","0""7","employees/dept_emp","0","NULL","NULL","NULL","0","0""8","employees/titles","0","NULL","NULL","NULL","0","0""9","employees/salaries","0","NULL","NULL","NULL","0","0"
1 0 innodb_system 0 NULL NULL NULL 0 0"3 mysql/gtid_slave_pos 0 NULL NULL NULL 0 0"2 mysql/innodb_index_stats 0 NULL NULL NULL 0 0"1 mysql/innodb_table_stats 0 NULL NULL NULL 0 0"4 employees/employees 0 NULL NULL NULL 0 0"5 employees/departments 0 NULL NULL NULL 0 0"6 employees/dept_manager 0 NULL NULL NULL 0 0"7 employees/dept_emp 0 NULL NULL NULL 0 0"8 employees/titles 0 NULL NULL NULL 0 0"9 employees/salaries 0 NULL NULL NULL 0 0

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"default","NULL","NULL","134217728","1024","2","107161","0","2","2","0","0"
1 default NULL NULL 134217728 1024 2 107161 0 2 2 0 0

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more