Commit graph

1191 commits

Author SHA1 Message Date
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
Major Hayden
c6498519a5 Tremendous overhaul of massive proportions.
Thanks to suggestions from Mike Jackson, BK Box, Bryan Tholen, and Shawn Ashlee.
MySQLTuner's new home is now at: http://rackerhacker.com/mysqltuner/
The big feature changes will be documented there.
2007-08-12 18:51:10 +00:00
Major Hayden
63faf9e7dc Adjusted key_buffer_size logic checks.\nChanged max_connections wording.\nAdded max_seeks_for_key check. 2007-08-03 02:27:37 +00:00
Major Hayden
6ca1761b3f Added explanations for key max_connections and fixed a Plesk bug when you run the script as a non-root user 2007-08-03 01:55:56 +00:00
Major Hayden
433c0b8749 Fixed bug with 'explainonly' argument. 2007-06-06 15:57:19 +00:00
Major Hayden
beaeaf26e8 Added option to disable colors.
Explanation option is disabled by default.
2007-06-06 15:31:48 +00:00
Major Hayden
a4f7c5bbe0 Completed long explanation portion for slow query log section.
Created 'explainonly' command line argument for long explanations only.
Adjusted memory usage long explanation.
2007-06-06 15:14:06 +00:00
Major Hayden
be69a0063a Initial verbose explain output configuration (there you go Mike!) 2007-06-04 16:31:29 +00:00
Major Hayden
4589601af0 Massive changes... output filtering, usage information, and temporary table corrections with regards to max memory calculations 2007-06-01 03:26:26 +00:00
Major Hayden
89044755e1 Changed all prints to use subroutines to allow for exclusions via command line arguments (coming up next) 2007-06-01 01:27:18 +00:00
Major Hayden
f76e2746a4 Script now requires MySQL 4.1 or higher (4.0 is EOL, and support for that is lame...) 2007-06-01 01:19:01 +00:00
Major Hayden
270bb7364f Corrected memory calculation issue in OS X / Darwin 2007-06-01 01:13:36 +00:00
Major Hayden
810df8eded Added check to see if MySQL is even installed 2007-06-01 01:03:11 +00:00
Major Hayden
d38d22a80a Initial Import 2007-05-31 03:30:15 +00:00