Skip to content

Commit b873cb8

Browse files
authored
Merge pull request #871 from jmrenouard/master
v2.8.22
2 parents 2ee602f + f603d77 commit b873cb8

File tree

11 files changed

+360
-135
lines changed

11 files changed

+360
-135
lines changed

CURRENT_VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.21
1+
2.8.23

Changelog

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
1+
2.8.23 2026-01-18
2+
3+
-
4+
5+
2.8.22 2026-01-18
6+
7+
- feat: update all repository links from 'major' to 'jmrenouard' (issue #410)
8+
- docs: add Changelog information and Useful Links to all README files (issue #411)
9+
- feat: improve thread_pool_size recommendations based on logical CPU count (issue #404)
10+
- feat: suggest enabling thread pool for servers with max_connections >= 512 (issue #404)
11+
- fix: hide ThreadPool metrics when thread pool is not enabled to avoid noise (issue #404)
12+
- feat: add logical_cpu_cores function to accurately detect threads including HT
13+
- chore: bump version to 2.8.22
14+
115
2.8.21 2026-01-18
216

3-
-
17+
- fix: remove contradictory query_cache_limit recommendation when disabling query cache (issue #671)
18+
- fix: cap join_buffer_size recommendation at 4MB and prefer index optimization (issue #671)
19+
- chore: bump version to 2.8.21
420

521
2.8.20 2026-01-18
622

README.fr.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
[![État du projet](https://opensource.box.com/badges/active.svg)](https://opensource.box.com/badges)
66
[![État des tests](https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg)](https://github.com/anuraghazra/github-readme-stats/)
7-
[![Temps moyen de résolution d'un problème](https://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Temps moyen de résolution d'un problème")
8-
[![Pourcentage de problèmes ouverts](https://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Pourcentage de problèmes encore ouverts")
7+
[![Temps moyen de résolution d'un problème](https://isitmaintained.com/badge/resolution/jmrenouard/MySQLTuner-perl.svg)](https://isitmaintained.com/project/jmrenouard/MySQLTuner-perl "Temps moyen de résolution d'un problème")
8+
[![Pourcentage de problèmes ouverts](https://isitmaintained.com/badge/open/jmrenouard/MySQLTuner-perl.svg)](https://isitmaintained.com/project/jmrenouard/MySQLTuner-perl "Pourcentage de problèmes encore ouverts")
99
[![Licence GPL](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)
1010

1111
**MySQLTuner** est un script écrit en Perl qui vous permet d'examiner rapidement une installation MySQL et de faire des ajustements pour augmenter les performances et la stabilité. Les variables de configuration actuelles et les données d'état sont récupérées et présentées dans un bref format avec quelques suggestions de performances de base.
@@ -24,6 +24,7 @@ Liens utiles
2424

2525
* **Développement actif :** [https://github.com/jmrenouard/MySQLTuner-perl](https://github.com/jmrenouard/MySQLTuner-perl)
2626
* **Versions/Tags :** [https://github.com/jmrenouard/MySQLTuner-perl/tags](https://github.com/jmrenouard/MySQLTuner-perl/tags)
27+
* **Changelog :** [https://github.com/jmrenouard/MySQLTuner-perl/blob/master/Changelog](https://github.com/jmrenouard/MySQLTuner-perl/blob/master/Changelog)
2728
* **Images Docker :** [https://hub.docker.com/repository/docker/jmrenouard/mysqltuner/tags](https://hub.docker.com/repository/docker/jmrenouard/mysqltuner/tags)
2829

2930
MySQLTuner a besoin de vous
@@ -41,7 +42,7 @@ MySQLTuner a besoin de vous
4142

4243
## Stargazers au fil du temps
4344

44-
[![Stargazers au fil du temps](https://starchart.cc/major/MySQLTuner-perl.svg)](https://starchart.cc/major/MySQLTuner-perl)
45+
[![Stargazers au fil du temps](https://starchart.cc/jmrenouard/MySQLTuner-perl.svg)](https://starchart.cc/jmrenouard/MySQLTuner-perl)
4546

4647
Compatibilité
4748
====
@@ -133,8 +134,8 @@ Choisissez l'une de ces méthodes :
133134

134135
```bash
135136
wget http://mysqltuner.pl/ -O mysqltuner.pl
136-
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
137-
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
137+
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
138+
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
138139
```
139140

140141
1) Vous pouvez télécharger l'intégralité du référentiel en utilisant `git clone` ou `git clone --depth 1 -b master` suivi de l'URL de clonage ci-dessus.
@@ -562,17 +563,17 @@ MySQLTuner et Vagrant
562563
**MySQLTuner** contient une configuration Vagrant à des fins de test et de développement
563564

564565
* Installez VirtualBox et Vagrant
565-
* <https://www.virtualbox.org/wiki/Downloads>
566-
* <https://www.vagrantup.com/downloads.html>
566+
* <https://www.virtualbox.org/wiki/Downloads>
567+
* <https://www.vagrantup.com/downloads.html>
567568
* Clonez le dépôt
568569
* git clone <https://github.com/jmrenouard/MySQLTuner-perl/.git>
569570
* Installez les plugins Vagrant vagrant-hostmanager et vagrant-vbguest
570-
* vagrant plugin install vagrant-hostmanager
571-
* vagrant plugin install vagrant-vbguest
571+
* vagrant plugin install vagrant-hostmanager
572+
* vagrant plugin install vagrant-vbguest
572573
* Ajoutez la boîte Fedora Core 30 depuis le site de téléchargement officiel de Fedora
573-
* vagrant box add --name generic/fedora30
574+
* vagrant box add --name generic/fedora30
574575
* Créez un répertoire de données
575-
* mkdir data
576+
* mkdir data
576577

577578
## configurer les environnements de test
578579

README.it.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
[![Stato del progetto](https://opensource.box.com/badges/active.svg)](https://opensource.box.com/badges)
66
[![Stato dei test](https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg)](https://github.com/anuraghazra/github-readme-stats/)
7-
[![Tempo medio per risolvere un problema](https://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Tempo medio per risolvere un problema")
8-
[![Percentuale di problemi aperti](https://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Percentuale di problemi ancora aperti")
7+
[![Tempo medio per risolvere un problema](https://isitmaintained.com/badge/resolution/jmrenouard/MySQLTuner-perl.svg)](https://isitmaintained.com/project/jmrenouard/MySQLTuner-perl "Tempo medio per risolvere un problema")
8+
[![Percentuale di problemi aperti](https://isitmaintained.com/badge/open/jmrenouard/MySQLTuner-perl.svg)](https://isitmaintained.com/project/jmrenouard/MySQLTuner-perl "Percentuale di problemi ancora aperti")
99
[![Licenza GPL](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)
1010

1111
**MySQLTuner** è uno script scritto in Perl che consente di esaminare rapidamente un'installazione di MySQL e apportare modifiche per aumentare le prestazioni e la stabilità. Le variabili di configurazione correnti e i dati di stato vengono recuperati e presentati in un formato breve insieme ad alcuni suggerimenti di base sulle prestazioni.
@@ -24,6 +24,7 @@ Link Utili
2424

2525
* **Sviluppo Attivo:** [https://github.com/jmrenouard/MySQLTuner-perl](https://github.com/jmrenouard/MySQLTuner-perl)
2626
* **Release/Tag:** [https://github.com/jmrenouard/MySQLTuner-perl/tags](https://github.com/jmrenouard/MySQLTuner-perl/tags)
27+
* **Changelog:** [https://github.com/jmrenouard/MySQLTuner-perl/blob/master/Changelog](https://github.com/jmrenouard/MySQLTuner-perl/blob/master/Changelog)
2728
* **Immagini Docker:** [https://hub.docker.com/repository/docker/jmrenouard/mysqltuner/tags](https://hub.docker.com/repository/docker/jmrenouard/mysqltuner/tags)
2829

2930
MySQLTuner ha bisogno di te
@@ -41,7 +42,7 @@ MySQLTuner ha bisogno di te
4142

4243
## Stargazer nel tempo
4344

44-
[![Stargazer nel tempo](https://starchart.cc/major/MySQLTuner-perl.svg)](https://starchart.cc/major/MySQLTuner-perl)
45+
[![Stargazer nel tempo](https://starchart.cc/jmrenouard/MySQLTuner-perl.svg)](https://starchart.cc/jmrenouard/MySQLTuner-perl)
4546

4647
Compatibilità
4748
====
@@ -133,8 +134,8 @@ Scegli uno di questi metodi:
133134

134135
```bash
135136
wget http://mysqltuner.pl/ -O mysqltuner.pl
136-
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
137-
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
137+
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
138+
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
138139
```
139140

140141
1) È possibile scaricare l'intero repository utilizzando `git clone` o `git clone --depth 1 -b master` seguito dall'URL di clonazione sopra.
@@ -562,17 +563,17 @@ MySQLTuner e Vagrant
562563
**MySQLTuner** contiene una configurazione Vagrant per scopi di test e sviluppo
563564

564565
* Installa VirtualBox e Vagrant
565-
* <https://www.virtualbox.org/wiki/Downloads>
566-
* <https://www.vagrantup.com/downloads.html>
566+
* <https://www.virtualbox.org/wiki/Downloads>
567+
* <https://www.vagrantup.com/downloads.html>
567568
* Clona il repository
568569
* git clone <https://github.com/jmrenouard/MySQLTuner-perl/.git>
569570
* Installa i plugin di Vagrant vagrant-hostmanager e vagrant-vbguest
570-
* vagrant plugin install vagrant-hostmanager
571-
* vagrant plugin install vagrant-vbguest
571+
* vagrant plugin install vagrant-hostmanager
572+
* vagrant plugin install vagrant-vbguest
572573
* Aggiungi la box di Fedora Core 30 dal sito Web di download ufficiale di Fedora
573-
* vagrant box add --name generic/fedora30
574+
* vagrant box add --name generic/fedora30
574575
* Crea una directory di dati
575-
* mkdir data
576+
* mkdir data
576577

577578
## configura ambienti di test
578579

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
[![Project Status](https://opensource.box.com/badges/active.svg)](https://opensource.box.com/badges)
66
[![Test Status](https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg)](https://github.com/anuraghazra/github-readme-stats/)
7-
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Average time to resolve an issue")
8-
[![Percentage of open issues](https://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Percentage of issues still open")
7+
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/jmrenouard/MySQLTuner-perl.svg)](https://isitmaintained.com/project/jmrenouard/MySQLTuner-perl "Average time to resolve an issue")
8+
[![Percentage of open issues](https://isitmaintained.com/badge/open/jmrenouard/MySQLTuner-perl.svg)](https://isitmaintained.com/project/jmrenouard/MySQLTuner-perl "Percentage of issues still open")
99
[![GPL License](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)
1010

1111
**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.
@@ -24,6 +24,7 @@ Useful Links
2424

2525
* **Active Development:** [https://github.com/jmrenouard/MySQLTuner-perl](https://github.com/jmrenouard/MySQLTuner-perl)
2626
* **Releases/Tags:** [https://github.com/jmrenouard/MySQLTuner-perl/tags](https://github.com/jmrenouard/MySQLTuner-perl/tags)
27+
* **Changelog:** [https://github.com/jmrenouard/MySQLTuner-perl/blob/master/Changelog](https://github.com/jmrenouard/MySQLTuner-perl/blob/master/Changelog)
2728
* **Docker Images:** [https://hub.docker.com/repository/docker/jmrenouard/mysqltuner/tags](https://hub.docker.com/repository/docker/jmrenouard/mysqltuner/tags)
2829

2930
MySQLTuner needs you
@@ -41,7 +42,7 @@ MySQLTuner needs you
4142

4243
## Stargazers over time
4344

44-
[![Stargazers over time](https://starchart.cc/major/MySQLTuner-perl.svg)](https://starchart.cc/major/MySQLTuner-perl)
45+
[![Stargazers over time](https://starchart.cc/jmrenouard/MySQLTuner-perl.svg)](https://starchart.cc/jmrenouard/MySQLTuner-perl)
4546

4647
Compatibility
4748
====
@@ -133,8 +134,8 @@ Choose one of these methods:
133134

134135
```bash
135136
wget http://mysqltuner.pl/ -O mysqltuner.pl
136-
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
137-
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
137+
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
138+
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
138139
```
139140

140141
1) You can download the entire repository by using `git clone` or `git clone --depth 1 -b master` followed by the cloning URL above.
@@ -562,17 +563,17 @@ MySQLTuner and Vagrant
562563
**MySQLTuner** contains a Vagrant configurations for test purpose and development
563564

564565
* Install VirtualBox and Vagrant
565-
* <https://www.virtualbox.org/wiki/Downloads>
566-
* <https://www.vagrantup.com/downloads.html>
566+
* <https://www.virtualbox.org/wiki/Downloads>
567+
* <https://www.vagrantup.com/downloads.html>
567568
* Clone repository
568569
* git clone <https://github.com/jmrenouard/MySQLTuner-perl/.git>
569570
* Install Vagrant plugins vagrant-hostmanager and vagrant-vbguest
570-
* vagrant plugin install vagrant-hostmanager
571-
* vagrant plugin install vagrant-vbguest
571+
* vagrant plugin install vagrant-hostmanager
572+
* vagrant plugin install vagrant-vbguest
572573
* Add Fedora Core 30 box for official Fedora Download Website
573-
* vagrant box add --name generic/fedora30
574+
* vagrant box add --name generic/fedora30
574575
* Create a data directory
575-
* mkdir data
576+
* mkdir data
576577

577578
## setup test environments
578579

README.ru.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
[![Статус проекта](https://opensource.box.com/badges/active.svg)](https://opensource.box.com/badges)
66
[![Статус тестов](https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg)](https://github.com/anuraghazra/github-readme-stats/)
7-
[![Среднее время решения проблемы](https://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Среднее время решения проблемы")
8-
[![Процент открытых проблем](https://isitmaintained.com/badge/open/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Процент все еще открытых проблем")
7+
[![Среднее время решения проблемы](https://isitmaintained.com/badge/resolution/jmrenouard/MySQLTuner-perl.svg)](https://isitmaintained.com/project/jmrenouard/MySQLTuner-perl "Среднее время решения проблемы")
8+
[![Процент открытых проблем](https://isitmaintained.com/badge/open/jmrenouard/MySQLTuner-perl.svg)](https://isitmaintained.com/project/jmrenouard/MySQLTuner-perl "Процент все еще открытых проблем")
99
[![Лицензия GPL](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)
1010

1111
**MySQLTuner** — это скрипт, написанный на Perl, который позволяет быстро просмотреть установку MySQL и внести коррективы для повышения производительности и стабильности. Текущие переменные конфигурации и данные о состоянии извлекаются и представляются в кратком формате вместе с некоторыми основными предложениями по производительности.
@@ -24,6 +24,7 @@
2424

2525
* **Активная разработка:** [https://github.com/jmrenouard/MySQLTuner-perl](https://github.com/jmrenouard/MySQLTuner-perl)
2626
* **Релизы/Теги:** [https://github.com/jmrenouard/MySQLTuner-perl/tags](https://github.com/jmrenouard/MySQLTuner-perl/tags)
27+
* **Changelog:** [https://github.com/jmrenouard/MySQLTuner-perl/blob/master/Changelog](https://github.com/jmrenouard/MySQLTuner-perl/blob/master/Changelog)
2728
* **Docker-образы:** [https://hub.docker.com/repository/docker/jmrenouard/mysqltuner/tags](https://hub.docker.com/repository/docker/jmrenouard/mysqltuner/tags)
2829

2930
MySQLTuner нуждается в вас
@@ -41,7 +42,7 @@ MySQLTuner нуждается в вас
4142

4243
## Звездочеты с течением времени
4344

44-
[![Звездочеты с течением времени](https://starchart.cc/major/MySQLTuner-perl.svg)](https://starchart.cc/major/MySQLTuner-perl)
45+
[![Звездочеты с течением времени](https://starchart.cc/jmrenouard/MySQLTuner-perl.svg)](https://starchart.cc/jmrenouard/MySQLTuner-perl)
4546

4647
Совместимость
4748
====
@@ -133,8 +134,8 @@ MySQLTuner нуждается в вас
133134

134135
```bash
135136
wget http://mysqltuner.pl/ -O mysqltuner.pl
136-
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
137-
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
137+
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
138+
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
138139
```
139140

140141
1) Вы можете загрузить весь репозиторий, используя `git clone` или `git clone --depth 1 -b master`, за которым следует URL-адрес клонирования выше.
@@ -562,17 +563,17 @@ MySQLTuner и Vagrant
562563
**MySQLTuner** содержит конфигурации Vagrant для целей тестирования и разработки
563564

564565
* Установите VirtualBox и Vagrant
565-
* <https://www.virtualbox.org/wiki/Downloads>
566-
* <https://www.vagrantup.com/downloads.html>
566+
* <https://www.virtualbox.org/wiki/Downloads>
567+
* <https://www.vagrantup.com/downloads.html>
567568
* Клонируйте репозиторий
568569
* git clone <https://github.com/jmrenouard/MySQLTuner-perl/.git>
569570
* Установите плагины Vagrant vagrant-hostmanager и vagrant-vbguest
570-
* vagrant plugin install vagrant-hostmanager
571-
* vagrant plugin install vagrant-vbguest
571+
* vagrant plugin install vagrant-hostmanager
572+
* vagrant plugin install vagrant-vbguest
572573
* Добавьте образ Fedora Core 30 с официального сайта загрузки Fedora
573-
* vagrant box add --name generic/fedora30
574+
* vagrant box add --name generic/fedora30
574575
* Создайте каталог данных
575-
* mkdir data
576+
* mkdir data
576577

577578
## настроить тестовые среды
578579

build/sync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# ==================================================================================
33
# Script: sync.sh
4-
# Description: Synchronizes local repo with upstream major/MySQLTuner-perl.
4+
# Description: Synchronizes local repo with jmrenouard/MySQLTuner-perl.
55
# Author: Jean-Marie Renouard
66
# Project: MySQLTuner-perl
77
# ==================================================================================

build/test_envs.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ TEST_DB_REPO="https://github.com/jmrenouard/test_db"
2121
DEFAULT_CONFIGS="mysql84 mariadb1011 percona80"
2222
CONFIGS=""
2323
TARGET_DB=""
24+
FORCEMEM_VAL=""
2425

2526
show_usage() {
2627
echo "Usage: $0 [options] [configs...]"
2728
echo "Options:"
2829
echo " -c, --configs \"list\" List of configurations to test (e.g. \"mysql84 mariadb1011\")"
2930
echo " -d, --database name Target database name for MySQLTuner to tune"
31+
echo " -f, --forcemem value Value for --forcemem parameter (in MB)"
3032
echo " -h, --help Show this help"
3133
echo ""
3234
echo "Examples:"
@@ -46,6 +48,10 @@ while [[ $# -gt 0 ]]; do
4648
TARGET_DB="$2"
4749
shift 2
4850
;;
51+
-f|--forcemem)
52+
FORCEMEM_VAL="$2"
53+
shift 2
54+
;;
4955
-h|--help)
5056
show_usage
5157
exit 0
@@ -165,6 +171,11 @@ run_test() {
165171
db_param="--database $TARGET_DB"
166172
echo "Tuning specific database: $TARGET_DB"
167173
fi
174+
175+
if [ -n "$FORCEMEM_VAL" ]; then
176+
db_param="$db_param --forcemem $FORCEMEM_VAL"
177+
echo "Forcing memory to: ${FORCEMEM_VAL}MB"
178+
fi
168179

169180
{
170181
echo "--- Start: $(date) ---"

0 commit comments

Comments
 (0)