Commit Graph

1179 Commits

Author SHA1 Message Date
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