Commit Graph

163 Commits

Author SHA1 Message Date
Ville Skyttä
778cc60885 Work around MySQL bug #59393 wrt. ignore-builtin-innodb. 2011-03-06 13:04:08 +02:00
Ville Skyttä
4df766729c Check engine availability also with SHOW ENGINES.
have_$engine are deprecated and will be removed in MySQL 5.6, and some
of them are either missing in some versions before that or show wrong
values - see e.g. MySQL bugs #47286 and #59393.
2011-03-06 12:59:46 +02:00
Ville Skyttä
a1d7114759 Fix detection of Federated engine availability.
The variable is have_federated_engine, not have_federated.
2011-03-06 12:53:32 +02:00
Ville Skyttä
e8495cea28 List users without passwords as user@host, sorted. 2010-01-25 08:22:52 +08:00
Ville Skyttä
0bd59c3330 List users without passwords as user@host, sorted. 2009-12-24 23:29:45 +02:00
rackerhacker
b2dfc8789a Bumped version number to 1.1.1 2009-09-17 23:26:12 +00:00
rackerhacker
f0f9f3f325 Added AIX 5L support (patch from Baptiste M. via the blog)
Adjusted the version number (should have been done for the 1.1.0 tagged release)
2009-09-17 23:24:33 +00:00
rackerhacker
32cf710293 Added in a check for users without passwords and check for slaves running with read_only disabled (patch from Isart Montane) 2009-09-17 23:13:22 +00:00
rackerhacker
9d002146d5 Forgot to change the old assembla svn note in the script over to github. :| 2009-09-17 22:42:53 +00:00
rackerhacker
41594a5581 Added the GPLv3 license along with the script. 2009-09-16 03:33:28 +00:00
rackerhacker
22aa240de8 Expanded README 2009-09-16 02:12:48 +00:00
rackerhacker
25a5f310ae Test commit. 2009-09-16 01:43:21 +00:00
major
ee9ba96d21 Added README file for github prettyness. 2009-09-16 01:36:40 +00:00
major
e29c3d342c Version bump to 1.1.0
Added git tag 'v1.1.0
2009-09-16 01:00:56 +00:00
Major Hayden
fff47e9a6f Fixed a Solaris awk bug, found a more reliable way to get the home directory, and fixed a syntactical error. (Thanks to Adam Stein) 2009-05-28 02:16:16 +00:00
Major Hayden
e425897b41 Fixed an issue where the percentage of keys pulled from memory would not exist if no keys have been read since the server started. (Thanks to Simon Greenaway) 2009-05-28 01:54:39 +00:00
Major Hayden
c4bb3c0d26 A warning is now provided if if the query_cache_size goes over 128M. (Thanks to Tim Soderstrom) 2009-05-28 01:50:29 +00:00
Major Hayden
e419c79356 Fixed an issue where null storage engines appeared when querying INFORMATION_SCHEMA. 2009-05-28 01:23:55 +00:00
Major Hayden
a2bb3ab149 Fixed an issue where MEMORY tables would appear in the fragmented table list, which caused some confusion. (Thanks to Gary Barrueto) 2009-05-28 00:57:31 +00:00
Major Hayden
62e42e3c25 When counting index size for MyISAM tables, the INFORMATION_SCHEMA query included all engines. (Thanks to Tom Krouper) 2009-05-28 00:40:43 +00:00
Major Hayden
a462d4d01d Version bump to 1.0.0
Small spelling correction
Contributors list updated
2008-12-01 23:37:24 +00:00
Major Hayden
c0ab5bc196 Version bump to 1.0.0-rc1
Fixed memory calculation problem in NetBSD where the amount of memory overflowed a 32-bit integer.  Used "sysctl -n hw.physmem64" rather than "sysctl -n hw.physmem" in those situations. (Thanks to Dave Burgess)
Fixed an issue where the script would suggest adding skip-isam to the MySQL configuration in 4.0.x, but the directive wasn't available until 4.1.1. (Thanks to Ryan Novosielski)
Fixed an issue with MySQL 5.1 where table_open_cache needed to be adjusted, rather than open_cache. (Thanks to Michael Scheidell and Blair Christensen)
Adjusted some misleading wording when MySQL's memory usage is very high relative to the amount of physical memory installed. Increased threshold to 90%. (Thanks to Hans du Plooy)
Fixed an issue where MySQL logins failed when a socket was specified but a .my.cnf file was also present. (Thanks to Victor Trac)
Added full support for Solaris. (Big thanks to Bill Bradford)
2008-11-02 18:25:55 +00:00
Major Hayden
e328934a19 Fixed an issue with NULL storage engines appearing on some servers. 2008-09-08 20:40:22 +00:00
Major Hayden
c8c2dd9518 Bumped version to 0.9.9
Added --socket option to use an alternative socket (thanks Mark!)
Added OpenBSD memory checking support (thanks Giovanni!)
Added counts to report lines to provide additional detail
Fixed error where disabling BDB was recommended even when BDB tables were present (thanks Greg!)
Fixed an issue with big integers (> 2^32) from key calculations (thanks Aubin!)
Fixed an error on Solaris machines (thanks Bill!)
Fixed an issue where the key buffer calculation caused errors when no indexes were present
Added Giovanni Bechis, Greg Eden, Aubin Galinotti, Mark Imbriaco and Bill Bradford to the contributors list
2008-09-08 01:16:39 +00:00
Major Hayden
e475bfa48b Version bump to 0.9.8
Added new options to help output
Made version checking off by default, enabled by --checkversion option
2008-07-21 16:19:50 +00:00
Major Hayden
ec4180839a Version bump to 0.9.5
Support is now available for remote servers
Can force the script to assume that a certain amount of memory is present (thanks Jason!)
Usernames and passwords can now be passed on the command line
Added Jason Gill to the contributors list
2008-07-13 03:18:20 +00:00
Major Hayden
af3b70578f Version bump to 0.9.1
Added checks for fragmented tables
Fixed login routine to allow zero-length passwords without re-prompting for the password repeatedly
Added workaround for wget 1.11 timestamping bug
Fixed a math error in the temporary table calculations
Fixed an error that occurred when the status variable Open_files returned zero
Added table cache change in preparation for MySQL 6.x
Thanks to Ville Skytta, Trent Hornibrook and Luuk Vosslamber for the bug reports and feature requests!
2008-06-19 02:33:54 +00:00
Major Hayden
7a154d635e Fixed an issue with table_cache in MySQL 6.x (it's now table_open_cache in MySQL 6.x) 2008-04-08 21:43:05 +00:00
Major Hayden
59eaf76f47 Version bump to 0.9.0
Fixed a bug where NULL may appear when enumerating tables on MySQL 5
MySQLTuner now checks for updates and allows the checks to be disabled
2008-04-06 15:17:10 +00:00
Major Hayden
6311b077cd Version bump to 0.8.9
Added an option to skip the enumeration/sizing of tables (--skipsize), which should help on servers with lots of tables
Changed the table enumeration/sizing method for MySQL 5 to use information_schema (increased performance drastically)
Adjusted the query_cache_limit recommendation to include the currently set value, rather than 1M each time
Changed the wording for tmp_table_size/max_heap_table_size to make it less confusing
2008-04-05 16:34:57 +00:00
Major Hayden
dc73ed5328 Version bump.
Added Shawn Ashlee to contributors.
2008-02-27 03:13:03 +00:00
Major Hayden
734a8a4a2f Added lines between sections to increase readability.
Corrected a bug where storage engine statuses were still in color even with --nocolor.
Excluded information_schema tables from calculations (they were showing up as usual MEMORY tables).
2008-02-27 03:07:15 +00:00
Major Hayden
2f2235fabc Bumped to version 0.8.5
Fixed copy/paste bug with OK/!!/-- output (Thanks to Nils!)
Fixed a data length calculation bug in MySQL 4.0.x
Fixed a key buffer calculation bug in MySQL 4.0.x
Added in a notification for situations when no recommendations are available
Added Nils Breunese to the contributors list
2008-02-11 17:53:26 +00:00
Major Hayden
5e8c2311fa Corrected the total key buffer calculation when symlinks are used
Went to traditional versioning scheme starting at 0.8.0
2008-02-01 00:55:34 +00:00
Major Hayden
9edfd8fb0f Version bump 2008-01-16 03:57:51 +00:00
Major Hayden
218a41df8a Removing a minor left over comment 2008-01-16 03:54:19 +00:00
Major Hayden
e693649bf9 Fixed a bug in MySQL 3.23 where the storage engine checks had problems
Adjusted some of the Perl code to be more compact, organized, and factored
2008-01-16 03:39:36 +00:00
Major Hayden
9ccae41ead Fix for the bugfix in r24. 2008-01-15 01:38:47 +00:00
Major Hayden
c56383201c Version bump and tab fix 2008-01-15 01:30:51 +00:00
Major Hayden
d63d6fc23a Fixed two bugs relating to the database crawler when database names contained a hyphen. (Thanks to Mike
Jackson)
2008-01-15 01:24:25 +00:00
Major Hayden
aee3d61131 Added lots of InnoDB support
Flipped spaces to tabs
Added more storage engine checks
Adjusted output display
2008-01-14 00:57:46 +00:00
Major Hayden
bc69094412 * Added innodb_log_file_size checks
* Added 32-bit/64-bit checks and warnings (maximum memory > 2GB = bad)
* Fixed temporary table recommendation bug (would never recommend increase)
* Fixed thread cache recommendations/warnings
* Merged increase/decrease variable recommendations into one category
2007-12-01 22:04:00 +00:00
Major Hayden
34b5cba861 * Changed indexing calculations so that all tables are not opened in MySQL 5 (thanks Jon!)
* Adjusted some of the commented lines at the top of the script
2007-12-01 20:31:15 +00:00
Major Hayden
33928700a3 * Added NetBSD support (thanks to Dave Burgess)
* Switched username/password prompts to STDERR so they won't appear in printouts
2007-11-06 23:20:09 +00:00
Major Hayden
d98fa91a3d * Adjusted infoprint to use asterisks (cosmetic)
* Per-thread/global buffer counts are now displayed
* Key buffer increases are only recommended if the buffer is smaller than total indexes and key buffer hit rate is < 95%
* Dropped max_seeks_for_key checks
* Temporary table size increases are not recommended over 256M
* Aborted connection calculation and recommendation adjustments
2007-10-16 01:45:09 +00:00
Major Hayden
b267fc7636 Very small bugfix for MySQL 3.23 on line 408 2007-10-07 14:54:20 +00:00
Major Hayden
b3fd62e953 Added aborted connection checks
Added % reads/writes counts
Adjusted recommendations for slow query logging, max seeks per key, and joins without indexes
2007-09-07 00:29:18 +00:00
Major Hayden
44f465ae0a Minor fix if no selects have been run (Thanks Kevin) 2007-08-15 12:30:08 +00:00
Major Hayden
efc984f945 Fixed a dumb logic error with the concurrent_insert check 2007-08-13 22:01:28 +00:00
Major Hayden
04e84a7752 Minor divide by zero error in query cache calculations 2007-08-12 19:11:35 +00:00