Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CURRENT_VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.21
2.8.23
18 changes: 17 additions & 1 deletion Changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
2.8.23 2026-01-18

-

2.8.22 2026-01-18

- feat: update all repository links from 'major' to 'jmrenouard' (issue #410)
- docs: add Changelog information and Useful Links to all README files (issue #411)
- feat: improve thread_pool_size recommendations based on logical CPU count (issue #404)
- feat: suggest enabling thread pool for servers with max_connections >= 512 (issue #404)
- fix: hide ThreadPool metrics when thread pool is not enabled to avoid noise (issue #404)
- feat: add logical_cpu_cores function to accurately detect threads including HT
- chore: bump version to 2.8.22

2.8.21 2026-01-18

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

2.8.20 2026-01-18

Expand Down
23 changes: 12 additions & 11 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

[![État du projet](https://opensource.box.com/badges/active.svg)](https://opensource.box.com/badges)
[![État des tests](https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg)](https://github.com/anuraghazra/github-readme-stats/)
[![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")
[![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")
[![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")
[![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")
[![Licence GPL](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 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.
Expand All @@ -24,6 +24,7 @@ Liens utiles

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

MySQLTuner a besoin de vous
Expand All @@ -41,7 +42,7 @@ MySQLTuner a besoin de vous

## Stargazers au fil du temps

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

Compatibilité
====
Expand Down Expand Up @@ -133,8 +134,8 @@ Choisissez l'une de ces méthodes :

```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
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
```

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.
Expand Down Expand Up @@ -562,17 +563,17 @@ MySQLTuner et Vagrant
**MySQLTuner** contient une configuration Vagrant à des fins de test et de développement

* Installez VirtualBox et Vagrant
* <https://www.virtualbox.org/wiki/Downloads>
* <https://www.vagrantup.com/downloads.html>
* <https://www.virtualbox.org/wiki/Downloads>
* <https://www.vagrantup.com/downloads.html>
* Clonez le dépôt
* git clone <https://github.com/jmrenouard/MySQLTuner-perl/.git>
* Installez les plugins Vagrant vagrant-hostmanager et vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* Ajoutez la boîte Fedora Core 30 depuis le site de téléchargement officiel de Fedora
* vagrant box add --name generic/fedora30
* vagrant box add --name generic/fedora30
* Créez un répertoire de données
* mkdir data
* mkdir data

## configurer les environnements de test

Expand Down
23 changes: 12 additions & 11 deletions README.it.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

[![Stato del progetto](https://opensource.box.com/badges/active.svg)](https://opensource.box.com/badges)
[![Stato dei test](https://github.com/anuraghazra/github-readme-stats/workflows/Test/badge.svg)](https://github.com/anuraghazra/github-readme-stats/)
[![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")
[![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")
[![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")
[![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")
[![Licenza GPL](https://badges.frapsoft.com/os/gpl/gpl.png?v=103)](https://opensource.org/licenses/GPL-3.0/)

**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.
Expand All @@ -24,6 +24,7 @@ Link Utili

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

MySQLTuner ha bisogno di te
Expand All @@ -41,7 +42,7 @@ MySQLTuner ha bisogno di te

## Stargazer nel tempo

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

Compatibilità
====
Expand Down Expand Up @@ -133,8 +134,8 @@ Scegli uno di questi metodi:

```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
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
```

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

* Installa VirtualBox e Vagrant
* <https://www.virtualbox.org/wiki/Downloads>
* <https://www.vagrantup.com/downloads.html>
* <https://www.virtualbox.org/wiki/Downloads>
* <https://www.vagrantup.com/downloads.html>
* Clona il repository
* git clone <https://github.com/jmrenouard/MySQLTuner-perl/.git>
* Installa i plugin di Vagrant vagrant-hostmanager e vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* Aggiungi la box di Fedora Core 30 dal sito Web di download ufficiale di Fedora
* vagrant box add --name generic/fedora30
* vagrant box add --name generic/fedora30
* Crea una directory di dati
* mkdir data
* mkdir data

## configura ambienti di test

Expand Down
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

[![Project Status](https://opensource.box.com/badges/active.svg)](https://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](https://isitmaintained.com/badge/resolution/major/MySQLTuner-perl.svg)](https://isitmaintained.com/project/major/MySQLTuner-perl "Average time to resolve an issue")
[![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")
[![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")
[![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")
[![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.
Expand All @@ -24,6 +24,7 @@ Useful Links

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

MySQLTuner needs you
Expand All @@ -41,7 +42,7 @@ MySQLTuner needs you

## Stargazers over time

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

Compatibility
====
Expand Down Expand Up @@ -133,8 +134,8 @@ Choose one of these methods:

```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
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
```

1) You can download the entire repository by using `git clone` or `git clone --depth 1 -b master` followed by the cloning URL above.
Expand Down Expand Up @@ -562,17 +563,17 @@ MySQLTuner and Vagrant
**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>
* <https://www.virtualbox.org/wiki/Downloads>
* <https://www.vagrantup.com/downloads.html>
* Clone repository
* git clone <https://github.com/jmrenouard/MySQLTuner-perl/.git>
* Install Vagrant plugins vagrant-hostmanager and vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install 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
* vagrant box add --name generic/fedora30
* Create a data directory
* mkdir data
* mkdir data

## setup test environments

Expand Down
23 changes: 12 additions & 11 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

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

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

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

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

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

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

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

```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
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/jmrenouard/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
```

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

* Установите VirtualBox и Vagrant
* <https://www.virtualbox.org/wiki/Downloads>
* <https://www.vagrantup.com/downloads.html>
* <https://www.virtualbox.org/wiki/Downloads>
* <https://www.vagrantup.com/downloads.html>
* Клонируйте репозиторий
* git clone <https://github.com/jmrenouard/MySQLTuner-perl/.git>
* Установите плагины Vagrant vagrant-hostmanager и vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* vagrant plugin install vagrant-hostmanager
* vagrant plugin install vagrant-vbguest
* Добавьте образ Fedora Core 30 с официального сайта загрузки Fedora
* vagrant box add --name generic/fedora30
* vagrant box add --name generic/fedora30
* Создайте каталог данных
* mkdir data
* mkdir data

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

Expand Down
2 changes: 1 addition & 1 deletion build/sync.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# ==================================================================================
# Script: sync.sh
# Description: Synchronizes local repo with upstream major/MySQLTuner-perl.
# Description: Synchronizes local repo with jmrenouard/MySQLTuner-perl.
# Author: Jean-Marie Renouard
# Project: MySQLTuner-perl
# ==================================================================================
Expand Down
11 changes: 11 additions & 0 deletions build/test_envs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ TEST_DB_REPO="https://github.com/jmrenouard/test_db"
DEFAULT_CONFIGS="mysql84 mariadb1011 percona80"
CONFIGS=""
TARGET_DB=""
FORCEMEM_VAL=""

show_usage() {
echo "Usage: $0 [options] [configs...]"
echo "Options:"
echo " -c, --configs \"list\" List of configurations to test (e.g. \"mysql84 mariadb1011\")"
echo " -d, --database name Target database name for MySQLTuner to tune"
echo " -f, --forcemem value Value for --forcemem parameter (in MB)"
echo " -h, --help Show this help"
echo ""
echo "Examples:"
Expand All @@ -46,6 +48,10 @@ while [[ $# -gt 0 ]]; do
TARGET_DB="$2"
shift 2
;;
-f|--forcemem)
FORCEMEM_VAL="$2"
shift 2
;;
-h|--help)
show_usage
exit 0
Expand Down Expand Up @@ -165,6 +171,11 @@ run_test() {
db_param="--database $TARGET_DB"
echo "Tuning specific database: $TARGET_DB"
fi

if [ -n "$FORCEMEM_VAL" ]; then
db_param="$db_param --forcemem $FORCEMEM_VAL"
echo "Forcing memory to: ${FORCEMEM_VAL}MB"
fi

{
echo "--- Start: $(date) ---"
Expand Down
Loading