Commit Graph

224 Commits

Author SHA1 Message Date
Jean-Marie RENOUARD
7497c4732e Adding information about checks perform by MySQLTuner 2015-08-18 18:37:59 +02:00
Jean-Marie RENOUARD
1e7e9dd372 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2015-08-18 13:48:18 +02:00
Jean-Marie RENOUARD
6d3e66415b issue #98 Fix variable name bug for 32 bits systems 2015-08-18 13:47:18 +02:00
Jean-Marie Renouard
e86ff569a9 Merge pull request #105 from denji/master
Retrieve ariadb tuning information
2015-08-18 12:27:06 +02:00
Jean-Marie RENOUARD
9470d56e6a Issue #103: Innodb buffer pool instances can t be adjust to a value grea value greater than 64 2015-08-18 12:07:43 +02:00
Jean-Marie RENOUARD
99fd9002a8 Issue #104: Change Linux memory and swap grabbing information 2015-08-18 11:41:20 +02:00
Jean-Marie RENOUARD
63fc929fa7 Issue #101 2015-08-17 18:31:14 +02:00
Jean-Marie RENOUARD
4bd54a4f0e Debug print output for memory 2015-08-17 18:17:15 +02:00
Jean-Marie RENOUARD
b10924a682 Slave replication test issue #99 and issue #100 2015-08-17 18:10:10 +02:00
Jean-Marie RENOUARD
9d204179cf Issue #80 2015-07-22 23:28:09 +02:00
Jean-Marie RENOUARD
8adfe144df Advanced code for Issue #80 2015-07-22 22:13:48 +02:00
Jean-Marie RENOUARD
3d0e8579a7 Issue #96 2015-07-22 21:21:11 +02:00
Jean-Marie RENOUARD
67b91966e0 Issue #96 2015-07-20 09:57:04 +02:00
Jean-Marie RENOUARD
6ad5b60ec6 Issue #94 2015-07-20 09:46:48 +02:00
zinga
c8872380fb Quick mod to add Aria storage engine support
Conflicts:
	mysqltuner.pl
2015-07-16 19:40:58 +03:00
Jean-Marie RENOUARD
78680600cb Start solving issue #80 2015-07-16 17:14:42 +02:00
Jean-Marie RENOUARD
60ab76b80d adding debug message for normal client 2015-07-15 18:21:51 +02:00
Jean-Marie RENOUARD
2584a3192a PR #39 and PR #50 2015-07-15 16:58:18 +02:00
Jean-Marie RENOUARD
1bb1489141 Change shebang 2015-07-15 15:58:20 +02:00
Jean-Marie RENOUARD
1bb24f0228 Issue #90 2015-07-15 11:09:51 +02:00
Jean-Marie RENOUARD
9c74f465e1 Merge remote branch 'upstream/master' 2015-07-15 11:06:23 +02:00
Jean-Marie RENOUARD
3bc179fa2d last changes 2015-07-15 11:06:21 +02:00
Joe Ashcraft
5b3c2478eb correct spelling 2015-07-13 10:37:20 -05:00
Jean-Marie RENOUARD
5d7f28b8ba Removing Data::Dumper dependency and increment version number 2015-07-13 17:08:40 +02:00
Jean-Marie RENOUARD
2a80802764 Adding check for percentage used buffer pool 2015-07-13 16:58:24 +02:00
Jean-Marie RENOUARD
505922b1bb Fix #83 efficiency calculations values for write/read innodb buffer 2015-07-13 16:18:25 +02:00
Jean-Marie RENOUARD
f597b26b7c port all request on select_one and select_array subroutines 2015-07-13 16:00:11 +02:00
Jean-Marie RENOUARD
457766e090 adding replication tests for detecting master and slave stop status 2015-07-13 15:54:44 +02:00
Jean-Marie RENOUARD
251323fcba issues/76 2015-07-10 15:35:18 +02:00
root
43f3fa21e9 Add man page on RPM packaging
fix a dependencies issue with mysql
2015-07-02 22:06:43 +02:00
root
70687a62be Adding metrics on worst selectivity index and unused indexes
--idxstat option is needed to activate this features
2015-07-02 16:42:53 +02:00
root
43fd15f00d Adding options --idxstat and selectivity index request 2015-07-02 12:16:02 +02:00
root
044f7c52c6 Adding information about Max and Reached memory for MySQL process. 2015-07-02 00:19:28 +02:00
root
ea93fe3116 Adding read/write innodb buffer efficiency indicators. 2015-07-01 21:07:58 +02:00
root
731fe6908d Adding preconisations on binlog cache and Aborted connections 2015-07-01 16:27:57 +02:00
root
4121ed73fd Bug fixes with POD documnetation 2015-07-01 13:39:16 +02:00
root
6b1b44bd52 Bug fixes with POD documnetation
Adding USAGE.md documentation from POD documentation
2015-07-01 13:33:57 +02:00
root
59ae681265 Adding POD documnetation 2015-07-01 12:31:40 +02:00
root
55886e0f66 Reorder buffers info display for innodb 2015-07-01 11:14:55 +02:00
root
4b03677724 Merged with upstream 2015-06-19 14:02:23 +02:00
root
a862f3607a Issue #79: incorrect mesage 2015-06-19 10:52:06 +02:00
root
3b183ab148 Adding option --dbstat to display database information 2015-06-19 10:39:35 +02:00
root
6c3197eb89 build system with basic password file embedded. 2015-06-18 23:40:12 +02:00
root
5739dfd230 Adding database information 2015-06-18 22:02:55 +02:00
root
3b1d4fd1fb Adding debug options, Adding Databases size info" 2015-06-18 21:48:03 +02:00
Major Hayden
4a5a4a3d66 Switch 'Go' to just 'G' 2015-06-18 10:58:14 -05:00
root
9d619be2e2 create a dedicated sub for innodb 2015-06-18 10:56:47 +02:00
root
0e66f16b05 if .mylogin.cnf is set not SECURITY WARNING 2015-06-18 10:12:23 +02:00
root
d0a811dac6 Issue #75 on collations 2015-06-17 23:58:47 +02:00
root
ba2ea1f0f3 merged version 2015-06-17 23:28:50 +02:00
Jean-Marie RENOUARD
61ba60e1ee Fix for innodb buffer pool instances when buffer pool is lower than 1Go 2015-06-17 18:03:44 +02:00
Jean-Marie RENOUARD
bf922481b7 activate nocollor when reportfile is set 2015-06-17 17:50:06 +02:00
Jean-Marie RENOUARD
512cb3de1d activate nocollor when reportfile is set 2015-06-17 17:46:52 +02:00
root
0736ef7c56 adding --reportfile for file output result 2015-06-16 23:38:17 +02:00
Christian Loos
1f27eb393e fix fetching memory values on non-english Linux systems 2015-06-16 14:26:08 +02:00
Christian Loos
0b07468e43 move innodb_buffer_pool_instances output after innodb_buffer_pool_size 2015-06-16 13:34:41 +02:00
Christian Loos
1e7fe0d394 update innodb_buffer_pool_instances output
* make the output more consistent with the other InnoDB outputs
* calculate a value for 'Variables to adjust'
2015-06-16 13:21:58 +02:00
Christian Loos
9d50475025 don't mention innodb_buffer_pool_size again
innodb_buffer_pool_size is reported previously, so no need to do this
here again
2015-06-16 12:24:42 +02:00
Christian Loos
f2f2bdcf57 don't mention MySQL version again
The MySQL version is mentioned previously, so no need to do this here
again.
Also the version mentioned was wrong as innodb_buffer_pool_instances was
introduced in 5.5.4:
http://dev.mysql.com/doc/refman/5.5/en/innodb-parameters.html#sysvar_innodb_buffer_pool_instances
2015-06-16 12:19:38 +02:00
Jean-Marie RENOUARD
e231e21d1e Adding advice for buffer_pool_size_instances variables for 5.6.6+ mysql version 2015-06-15 16:22:51 +02:00
Jean-Marie RENOUARD
c8043c2965 Warning message for lagging slave 2015-06-15 15:34:29 +02:00
Jean-Marie RENOUARD
7d51d2f69e adding --passwordfile option 2015-06-15 15:23:05 +02:00
Jean-Marie RENOUARD
50d7718c07 some debug output cleanup. 2015-06-15 09:47:24 +02:00
Jean-Marie RENOUARD
e919e904ba Adding extra security test for password based on password list 2015-06-12 16:09:59 +02:00
Rene Schmidt
836bed3891 added option mysqlcmd so you can give a custom mysql command to mysqltuner.pl 2015-04-16 16:58:48 +02:00
Nick Ostrovsky
33c85281e9 Update mysqltuner.pl 2014-12-29 21:15:13 +07:00
Major Hayden
4f472521d7 Version 1.4.0 2014-12-04 09:56:31 -06:00
Cole Turner
3b12ccb773 Added name to contributor list. 2014-12-04 10:52:28 -05:00
Cole Turner
5f1e12f11d Adding check for autoincrement keys
Not familiar with Perl, please double check.
2014-12-04 02:14:02 -05:00
Erik Ljungstrom
604900d536 Fixed reporting for temporary tables created on disk. Created_tmp_disk_tables is a subset of Created_tmp_tables 2014-12-02 12:58:57 +00:00
Joe Horn
dee239f243 Update mysqltuner.pl
* information_schema.ENGINES doesn't exist before MySQL 5.1
* table cache var. depends on MySQL version
2014-11-06 19:43:43 +08:00
Cristi
f5355b4349 added new option
added the "--buffers" option to print all global and thread buffer values for easier tuning
2014-10-23 13:37:11 +03:00
Major Hayden
2c69d953f8 Merge pull request #45 from altblue/master
improve "$arch" variable usage
2014-08-12 07:31:53 -05:00
Baebeca
a5a9455245 Update mysqltuner.pl
minor format fixes
2014-08-10 19:18:16 +02:00
Major Hayden
9341faf56a Correct table_cache_var bug
Fixes #49 by correcting a small error from #48. Sorry, folks!
2014-06-05 20:45:16 -05:00
Aron Rotteveel
ab58b15ef0 Fix for MySQL 5.6 table_open_cache
MySQL 5.6 fails silently when table_cache is used instead of table_open_cache. MySQLTuner should indicate table_open_cache instead of table_cache when printing variable suggestions.
2014-06-05 21:57:30 +02:00
Marius Feraru
8347fafe4e improve "$arch" variable usage
- handle the (default!) undefined case;
- really treat it as a number (cause that's the way it is defined everywhere in "check_architecture", and it is compared to a number too);
- (try to) avoid extra ops by reordering the operations.
2014-03-21 17:38:40 +02:00
zequeitor
7a28b64ecf check query cache verification on mysql >= 5.6.8
Add query cache type verification
MySQL >= 5.6.8 has query_cache_type OFF by default. It will disables the entire cache. 
http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_query_cache_type
2014-03-06 18:22:02 -02:00
Blake Swopes
a07f7a16e3 Shifting InnoDB log waits block up into the have_innodb block.
This should prevent any attempt to access an undefined Innodb_log_waits value.

resolves #42
2014-03-03 14:24:36 -08:00
Major Hayden
dbcb8178ed Version 1.3.0 2014-02-21 19:43:08 -06:00
Major Hayden
216bade70e Merge pull request #18 from meghuizen/patch-1
Add DirectAdmin support.
2014-02-21 19:15:04 -06:00
Major Hayden
35955db67f Merge pull request #19 from DanBUK/master
Swap position of innodb buffer pool size and data size arguments
2014-02-21 19:13:46 -06:00
Major Hayden
e23a798563 Add more flexible engine display support
Fixes #22.
2014-02-21 19:04:45 -06:00
Major Hayden
6c9ed7cdb8 Hide stderr if which svcprop fails
Fixes #29.
2014-02-21 18:44:12 -06:00
Major Hayden
7571672419 Merge branch 'master' of https://github.com/sunfoxcz/MySQLTuner-perl into sunfoxcz-master 2014-02-21 18:40:15 -06:00
Major Hayden
18eed21ecd Cleanup of custom mysqladmin command code
Fixes #30.
2014-02-21 11:32:49 -06:00
Major Hayden
7b0664bbbf Merge branch 'master' of https://github.com/aylazhang/MySQLTuner-perl into aylazhang-master 2014-02-21 11:23:41 -06:00
Major Hayden
37d1703b6f Merge pull request #32 from gibas/add-darwin-arch
Add darwin arch
2014-02-21 11:16:02 -06:00
Major Hayden
bdca23452c Removed version checking routines until I can figure out something different
Somewhat fixes #33. I'll open a new issue to work on a new version checker.
2014-02-21 11:13:34 -06:00
Major Hayden
18b4b8f982 Adding warning about big table caches
This isn't the ideal fix, but at least the warning is there. Many thanks to @ywarnier for pointing this out to me on GitHub. ;)

Fixes #36.
2014-02-21 11:09:59 -06:00
Major Hayden
47e3dd2350 Avoid divide by zero error with key_buffer_size
Fixes #35.
2014-02-21 11:04:38 -06:00
Major Hayden
1ed12ad68c Adds suggestion for innodb_log_buffer_size
Fixes #38
2014-02-21 10:44:43 -06:00
Major Hayden
aba4d3b444 Fixed version parse errors for MariaDB 10.x
MariaDB 10.x still has limited support in MySQLTuner.  Using this script with MariaDB may cause your server to start chasing cars. :)

This fixes #34.
2014-02-21 10:36:26 -06:00
Krzysztof Gibas
fda5bad78d fixed uname execution syntax 2013-05-24 19:43:26 +02:00
Krzysztof Gibas
fffef5c7c2 added Darwin as 64bit architecture, as kaalis pointed out in https://github.com/rackerhacker/MySQLTuner-perl/pull/27#issuecomment-15450764 2013-05-24 19:24:23 +02:00
Krzysztof Gibas
4b95c66d33 added Darwin as 64bit architecture, as kaalis pointed out in https://github.com/rackerhacker/MySQLTuner-perl/pull/27#issuecomment-15450764 2013-05-24 19:11:08 +02:00
aylazh
dbdddf4775 nothing. 2013-03-19 18:09:29 +08:00
aylazhang@gmail.com
8824bb49f1 little modify 2013-03-19 18:05:29 +08:00
zhangyan
2d1b2bd32d add mysqladmin option 2013-03-19 17:56:01 +08:00
foxycode
d07b504f8c Added Solaris SMF and SmartOS/Percona Quickbackup detection to get credentials automatically. 2013-02-12 23:53:51 +01:00