SQL

MySQLTuner – MySQL performance and configuration advisor

MySQLTuner is a Perl script that examines a running MySQL-compatible database server and turns its configuration and runtime statistics into practical observations and recommendations.

It is intended as an aid to database administrators rather than an automatic tuning system. The script collects server and operating-system information, evaluates a large number of indicators and highlights areas that deserve investigation. Its recommendations still require administrator judgement, particularly because changing one database setting can improve one workload while making another worse.

This is free and open source software.

Key Features

  • Supports MySQL, MariaDB and Percona Server installations.
  • Examines memory allocation, buffers, caches and overall server resource usage.
  • Analyses query activity, connections, temporary tables, joins and other performance indicators.
  • Checks InnoDB configuration and workload statistics.
  • Evaluates replication, Galera and clustered environments where supported.
  • Inspects operating-system memory, swap, storage and other host-level information.
  • Provides a weighted database health assessment spanning performance, security and resilience.
  • Checks TLS configuration, certificate state and encrypted connection settings.
  • Audits authentication settings and highlights obsolete or insecure authentication choices.
  • Examines schema design issues such as missing primary keys and problematic column definitions.
  • Can compare structured output from earlier runs to expose workload and growth trends.
  • Provides capacity-planning information for memory, storage growth and identifier exhaustion.
  • Can produce suggested SQL and configuration changes while leaving application of those changes to the administrator.
  • Supports structured machine-readable output for integration with external administration systems.

Website: github.com/major/MySQLTuner-perl
Support:
Developer: MySQLTuner contributors
License: GNU General Public License v3.0

MySQLTuner

MySQLTuner is written in Perl. Learn Perl with our recommended free books and free tutorials.


Related Software

MySQL Tools
DBeaverUniversal database tool
phpMyAdminMySQL web administration tool
MySQL WorkbenchComplete visual database design tool
mycliCommand line interface for MySQL, MariaDB, and Percona
gh-ostGitHub's Online Schema Migrations for MySQL
Beekeeper Studio Cross-platform SQL editor and database manager
usqlCommand-line database client
sqlitlazygit of SQL databases
MySQLTunerAnalyse MySQL performance and suggest configuration changes
HarlequinEasy, fast, and beautiful database client for the terminal
DbGateDatabase manager for MySQL, PostgreSQL, MongoDB
Percona ToolkitEssential command-line utilities for MySQL
SQuirreL SQL ClientGraphical SQL client written in Java
AdminerFull-featured tool for managing content in MySQL database
dblabInteractive client for PostgreSQL, MySQL, SQLite3, and more
MyDumperParallel utilities for fast MySQL database backups and restores
AntaresSQL client based on Electron.js and Vue.js
XtraBackupBackup utility for MySQL
innotopReal-time, advanced investigation tool
SkeemaManage MySQL and MariaDB schema changes
vi-sqlTerminal SQL client for browsing, querying and editing databases
MySQL ShellAdvanced MySQL console for scripting and database administration
SequelerNative Linux SQL client built in Vala and Gtk

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted