Add MySQL/MariaDB variable capability matrix to Database section (#8188)

* Add MySQL/MariaDB variable capability matrix to Database section

* Add changelog fragment for PR #8188

* Address review: correct version boundaries, escaping, valid values, focusable hint, unit tests

* Normalize server version suffixes and cache the capability matrix

* Add capability matrix strings to the translation template

* Treat an unknown (null/empty) server version as supported to avoid a TypeError

* Cover the capability helpers in the installer coverage suite

---------

Co-authored-by: TheWitness <copilot@users.noreply.github.com>
This commit is contained in:
TheWitnessandTheWitness authored and GitHub committed 2026-10-05 20:16:01 -04:00
1 parent 1c96e16a3f
commit 3b3544db03
6 files changed
+852 -8

No files matched your search

+276
View File
@@ -24972,6 +24972,282 @@ msgstr ""
msgid "No VDEFs"
msgstr ""
#: lib/utility.php:1147
msgid ""
"Default collation used by the server when creating databases and tables."
msgstr ""
#: lib/utility.php:1148
msgid "e.g. utf8mb4_unicode_ci, utf8mb4_general_ci."
msgstr ""
#: lib/utility.php:1153
msgid "Default character set used by the server."
msgstr ""
#: lib/utility.php:1154 lib/utility.php:1160
msgid "e.g. utf8mb4, utf8, latin1."
msgstr ""
#: lib/utility.php:1159
msgid "Character set the client uses when sending statements to the server."
msgstr ""
#: lib/utility.php:1165
msgid "Maximum number of simultaneous client connections permitted."
msgstr ""
#: lib/utility.php:1166
msgid "Integer; default 151. Allow enough for the pollers plus user logins."
msgstr ""
#: lib/utility.php:1171
msgid "Legacy name for the open-table cache; renamed to table_open_cache."
msgstr ""
#: lib/utility.php:1172
msgid "Integer. Use table_open_cache on modern servers."
msgstr ""
#: lib/utility.php:1177
msgid "Maximum size of one packet or any generated/intermediate string."
msgstr ""
#: lib/utility.php:1178
msgid "Bytes; keep at or above 16M for remote pollers."
msgstr ""
#: lib/utility.php:1183
msgid "Maximum size to which user-created MEMORY tables may grow."
msgstr ""
#: lib/utility.php:1184
msgid "Bytes; sized relative to total system memory."
msgstr ""
#: lib/utility.php:1189
msgid ""
"Maximum size of internal in-memory temporary tables before they spill to "
"disk."
msgstr ""
#: lib/utility.php:1190
msgid "Bytes; a larger value keeps temporary tables in memory."
msgstr ""
#: lib/utility.php:1195
msgid "Minimum per-join buffer size for joins that do not use indexes."
msgstr ""
#: lib/utility.php:1196
msgid "Bytes; per-connection allocation, default 262144."
msgstr ""
#: lib/utility.php:1201
msgid "Per-session buffer allocated for sorts (ORDER BY / GROUP BY)."
msgstr ""
#: lib/utility.php:1202
msgid "Bytes; per-connection allocation, default 2097152."
msgstr ""
#: lib/utility.php:1207
msgid ""
"Store each InnoDB table and its indexes in its own .ibd tablespace file."
msgstr ""
#: lib/utility.php:1208
msgid "ON or OFF; ON is recommended."
msgstr ""
#: lib/utility.php:1213
msgid ""
"InnoDB on-disk file format (Antelope or Barracuda); Barracuda is now the "
"only format."
msgstr ""
#: lib/utility.php:1214
msgid "Antelope, Barracuda."
msgstr ""
#: lib/utility.php:1219
msgid ""
"Allow index key prefixes longer than 767 bytes (requires the Barracuda "
"format)."
msgstr ""
#: lib/utility.php:1220
msgid "ON/1 or OFF/0; this behaviour is now always enabled."
msgstr ""
#: lib/utility.php:1225
msgid "Total memory InnoDB uses to cache table and index data."
msgstr ""
#: lib/utility.php:1226
msgid "Bytes; commonly 25%-80% of total system memory."
msgstr ""
#: lib/utility.php:1231
msgid ""
"Write pages twice (the doublewrite buffer) to protect against partial page "
"writes."
msgstr ""
#: lib/utility.php:1232
msgid "ON or OFF."
msgstr ""
#: lib/utility.php:1237
msgid "Legacy pool for the InnoDB internal data dictionary and structures."
msgstr ""
#: lib/utility.php:1238
msgid "Bytes; obsolete on modern servers."
msgstr ""
#: lib/utility.php:1243
msgid "Seconds an InnoDB transaction waits for a row lock before giving up."
msgstr ""
#: lib/utility.php:1244
msgid "Seconds; default 50."
msgstr ""
#: lib/utility.php:1249
msgid "Method used to flush data and log files to disk."
msgstr ""
#: lib/utility.php:1250
msgid "O_DIRECT, fsync, O_DSYNC, and similar."
msgstr ""
#: lib/utility.php:1255
msgid "Controls how the redo log is written and flushed at transaction commit."
msgstr ""
#: lib/utility.php:1256
msgid "0, 1, or 2."
msgstr ""
#: lib/utility.php:1261
msgid ""
"Legacy single setting for InnoDB file I/O threads, replaced by the read/"
"write I/O thread settings."
msgstr ""
#: lib/utility.php:1262
msgid ""
"Integer; superseded by innodb_read_io_threads and innodb_write_io_threads."
msgstr ""
#: lib/utility.php:1267
msgid "Write and flush the InnoDB redo log every N seconds."
msgstr ""
#: lib/utility.php:1268
msgid "Seconds (1-2700); default 1."
msgstr ""
#: lib/utility.php:1273
msgid "Number of I/O threads used for read operations in InnoDB."
msgstr ""
#: lib/utility.php:1274 lib/utility.php:1280
msgid "1-64; default 4."
msgstr ""
#: lib/utility.php:1279
msgid "Number of I/O threads used for write operations in InnoDB."
msgstr ""
#: lib/utility.php:1285
msgid "Number of regions the InnoDB buffer pool is divided into."
msgstr ""
#: lib/utility.php:1286
msgid "1-64; MariaDB removed this in 10.6."
msgstr ""
#: lib/utility.php:1291
msgid ""
"Estimated I/O operations per second available to InnoDB background tasks."
msgstr ""
#: lib/utility.php:1292 lib/utility.php:1298
msgid "Integer; use higher values for SSD/NVMe storage."
msgstr ""
#: lib/utility.php:1297
msgid "Maximum IOPS InnoDB may use when flushing falls behind."
msgstr ""
#: lib/utility.php:1303
msgid "Flush neighbouring dirty pages in the same extent when flushing a page."
msgstr ""
#: lib/utility.php:1304
msgid "0, 1, or 2; use 0 on SSD storage."
msgstr ""
#: lib/utility.php:1309
msgid ""
"Use hardware atomic writes (MariaDB) so the doublewrite buffer can be safely "
"disabled."
msgstr ""
#: lib/utility.php:1310
msgid "ON or OFF; MariaDB only."
msgstr ""
#: lib/utility.php:1314
msgid "Enforce strict snapshot isolation for InnoDB transactions."
msgstr ""
#: lib/utility.php:1315
msgid ""
"ON or OFF; back-ported to MariaDB 10.6.18+, 10.11.8+ and 11.4.2+. Set OFF "
"for the Cacti poller."
msgstr ""
#: lib/utility.php:1434 lib/utility.php:1529
msgid "Removed"
msgstr ""
#: lib/utility.php:1436 lib/utility.php:1528
msgid "Deprecated"
msgstr ""
#: lib/utility.php:1438
msgid "Not applicable to this engine"
msgstr ""
#: lib/utility.php:1440 lib/utility.php:1527
msgid "Supported"
msgstr ""
#: lib/utility.php:1483
#, php-format
msgid "%s Variable Capability Matrix"
msgstr ""
#: lib/utility.php:1483
msgid "Support by engine and version for each Cacti-recommended variable"
msgstr ""
#: lib/utility.php:1512
msgid "Available settings:"
msgstr ""
#: lib/utility.php:1530
msgid "N/A - Not applicable to this engine"
msgstr ""
#: lib/utility.php:1778 lib/utility.php:1814
msgid ""
"If you have SSD disks, set this to 0. Otherwise, do not set this setting."
msgstr ""
#: lib/html_filter.php
msgid "Layouts"
msgstr ""