Commit graph

402 commits

Author SHA1 Message Date
root
8f33b55fea #242 initiliaze $data_free to 0 if not defined or is empty 2016-08-30 13:34:52 +02:00
root
dbbe785e01 #231 #235 bug fix regarding way CVE are selected. 2016-08-29 17:10:26 +02:00
root
736fc24c47 increment version 2016-08-26 11:02:15 +02:00
root
11ccfccc1c #235 #231 review way to select version
bug fix in calculate greater and lower version
2016-08-26 10:40:58 +02:00
root
8e8345dac3 Update vulnerabilities list
issue #237: Test skip_name_resolve is set before using it
Adding information message  when skip_name_resolve is missing
2016-08-25 16:33:58 +02:00
Peter 'Pessoft' Kolínek
70455de4ba Fix SQL string concatenation in capitalization during password test 2016-08-24 00:21:18 +02:00
root
ef1f96625a #231 change label for CVE reports 2016-08-10 13:40:58 +02:00
root
24f1c722d3 Don t display advice for tcp slot if /proc/sys/sunrpc file doesn t exist #230 2016-08-10 11:48:41 +02:00
root
2aac89e89c Don t display advice for tcp slot if /proc/sys/sunrpc file doesn t exist #30 2016-08-10 11:47:36 +02:00
root
6300c3a2c7 Adjust request for table without primary key #229 2016-08-10 11:44:22 +02:00
root
97587f6d2f Adding a lot of things in JSON structure 2016-08-09 16:04:13 +02:00
root
b3005038d3 Removing some warnings and errors messages when sysctl doesnt get any value 2016-08-09 13:38:47 +02:00
root
da1819d66b Bug fix for exec fail 2016-08-09 10:15:49 +02:00
root
b42b97f96f #227 Stopping MySQL tuner when SELECT VERSION doesnt return any value. This indicates that user doent get enough privileges 2016-08-08 17:40:53 +02:00
Grzegorz Adam Kowalski
a9f9e69201 Don't exit after positive latest version check 2016-07-13 12:58:30 +02:00
root
51993aa2c8 wsrep_osu_method error #224 2016-07-04 08:41:16 +02:00
root
5af540cab0 #223 removing version estension for Ubuntu version - V2 2016-06-23 21:30:22 +02:00
root
4ea5c09d44 #223 removing version estension for Ubuntu version 2016-06-23 21:28:26 +02:00
root
0b8dfd9f66 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-06-16 11:07:38 +02:00
root
638e843d49 Removing strange code blocks :) 2016-06-16 11:07:32 +02:00
Louis Sautier
e450074254
Reword a message 2016-06-16 10:33:03 +02:00
mhasbini
d148093634 no need to return, just exit 2016-06-11 16:36:59 +00:00
mhasbini
2db1483123 switch version check with mysql_setup 2016-06-11 16:19:55 +00:00
root
cf75be4c84 Tokudb detection fix #218 2016-06-10 10:27:55 +02:00
root
16c94a51ba uninitialized value in script #218 2016-06-10 10:24:40 +02:00
root
0b534333b2 Update vulnerabilities list
Update mysql tuner version
Update internals documentation
2016-06-10 10:18:21 +02:00
Kevin Houdebert
b479d9aede Fix typo for OPTIMIZE 2016-06-03 15:54:52 +02:00
root
5bcddc77b8 #213 changing badprint to print in order to display error message when JSON module is not loaded 2016-06-03 11:03:52 +02:00
jfcoz
b0848e5cc5 add skip-name-resolve recommandation 2016-06-03 08:33:02 +02:00
jfcoz
2a8cf5fea6 add innodb when innodb_file_per_table is ON
display OPTIMIZE requests for tables of more than 100mb with more thant 10% fragmentation

    Run OPTIMIZE TABLE to defragment tables for better performance
      OPTIMZE TABLE testdb.price; -- can free 496 MB
      OPTIMZE TABLE testdb.mail; -- can free 5704 MB
      OPTIMZE TABLE testdb.basket; -- can free 20 MB
    Total freed space after theses OPTIMIZE TABLE : 6220 Mb
2016-06-02 09:40:42 +02:00
Jean-Marie Renouard
7dabf27c91 Merge pull request #210 from smutel/patch-3
Avoid deprecated message from perl
2016-05-20 00:32:24 +02:00
smutel
e14ddff904 Avoid deprecated message from perl
Use of implicit split to @_ is deprecated at /tmp/mysqltuner.pl line 3243 (#1)
    (D deprecated, W syntax) It makes a lot of work for the compiler when you
    clobber a subroutine's argument list, so it's better if you assign the results
    of a split() explicitly to an array (or list).
2016-05-19 17:10:48 +02:00
smutel
1048038e64 Avoid bad syntax error message
Error below when executing the script on RHEL6/OL6:
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
2016-05-19 17:06:12 +02:00
smutel
b2aea7f69d Update mysqltuner.pl 2016-05-19 13:47:46 +02:00
smutel
8e9cc50311 Exclude innodb engine from fragmented tables 2016-05-19 13:44:50 +02:00
Ian Gregory
7c1d5521ed Improve portability when fetching process memory - use ps rather than the proc filesystem 2016-05-10 10:34:30 +01:00
root
a7cd64a4c7 Increment version number 2016-05-09 10:17:14 +02:00
root
959a41b708 #204 updater works fine with curl now 2016-05-04 17:44:05 +02:00
root
f6f66a49ef #196 comment thread_cache_size recommandations 2016-04-29 14:25:16 +02:00
root
bead8a77ef Adding this message for <=5.1 version
No more password checks for MySQL version <=5.1
MySQL version <=5.1 are deprecated and end of support.
2016-04-29 14:19:46 +02:00
root
2e2d945e63 Fix #190 changing typo for recommandations on multiprocessor 2016-04-29 14:01:15 +02:00
root
1727a42b29 Fix #195 single quote enclosed password 2016-04-29 13:46:52 +02:00
jkavalik
92dc77e4cd Fix for #197
Merge GLOBAL status after SESSION - the non-global variables (like Percona from #184) will be present but stats are computed from GLOBAL counters which overwrite the SESSION ones if they exist.
2016-04-29 12:56:24 +02:00
Vadym Chepkov
ae0ab4bcff fixed wsrep_cluster_size handling
garbd node can be configured in galera cluster. wsrep_cluster_size includes the garbd node, but it is not listed in wsrep_cluster_address, since it does not participate in the replication.
2016-04-27 06:42:50 -04:00
Vadym Chepkov
7251a85234 fixed spelling 2016-04-22 11:26:00 -04:00
root
9b3549a92c #184 minor fix xtrabackup is the good alternative 2016-04-21 23:19:36 +02:00
root
c59a852a03 minor addition for sys schema #193 2016-04-21 23:16:35 +02:00
root
560b45894b #184 minor fix due to error message 2016-04-21 09:08:20 +02:00
root
737628dd1b Vulnerabilities list updated
#190 Query cache must be activated in MariaDB 10.1
#184 bug fix on messages
#184 xtrabackup support when wsrep_sst_method is starting by xtrabackup
2016-04-21 09:06:13 +02:00
root
fa1639e418 Tidify code 2016-04-19 16:19:31 +02:00
root
5b55c92ac5 #184: Additional information for galera
Removing dependency to Env module #192
2016-04-19 16:11:35 +02:00
root
a8babd7e69 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-04-19 16:04:13 +02:00
root
b67bba859f adding extra information about wsrep cluster size #184 2016-04-19 16:03:42 +02:00
Sergei A Mamonov
bc2017ba3e change external which to sub which(), little fix for use get_http_cli and get external ip via wget 2016-04-18 17:45:34 +03:00
root
80def03923 #187 enforce control over P_S activation 2016-04-18 11:07:05 +02:00
root
86ad610b6c #189 fix memory calculation when Galera is disabled 2016-04-18 10:59:50 +02:00
Jean-Marie RENOUARD
612eea48fd All version for galera checks #150 2016-04-15 10:17:56 -04:00
Jean-Marie RENOUARD
76a28ab29a Adding typo fixes
Adding check for memory with other process
2016-04-15 06:33:05 -04:00
Jean-Marie RENOUARD
e4a2534349 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-04-15 05:16:06 -04:00
root
66a57af80b #182 using abs value for result 2016-04-14 23:11:18 +02:00
root
ba584c91cc Update version #183 2016-04-14 22:49:21 +02:00
root
0ffe9507b6 #187 #183 removing unitialized variables code
#184 adding merge between show global variables and show global variables
#184 update RPM template'
2016-04-14 22:42:59 +02:00
Ricardo Velhote
eea101019e Detect Ubuntu correctly when checking for OS Release 2016-04-13 14:39:40 +01:00
Jean-Marie RENOUARD
5fd8432bb6 Merge branch 'master' of https://github.com/major/MySQLTuner-perl 2016-04-11 13:05:38 +02:00
Jean-Marie RENOUARD
709da2cc95 ident fix 2016-04-11 12:25:42 +02:00
Jean-Marie RENOUARD
d8a8dd42d3 ident fix 2016-04-11 12:24:49 +02:00
root
845dc030e1 Using a generic sub header function
get_pf_memory return 0 for performance memory if P_F is disabled.
2016-04-11 12:01:01 +02:00
Robert Milasan
8f0c2e6b33 Fix Galera checks, make sure we dont say that Galera is enabled when is not, clean-up typos 2016-04-06 10:33:56 +02:00
Jean-Marie RENOUARDjmrenouard@gmail.com
15854a6c94 #138 for threadpool in mariadb and percona use default values 2016-04-05 12:34:24 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
83010dd32e Bug fix on aria metrics 2016-04-05 12:25:20 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
a5449a0d22 Adding performance_schema.memoty value to max_used_memory and max_peak_memory calculation
There is always MySQL 5.7+ and adaptaive memory usage to handle porperly
2016-04-05 11:40:38 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
97cce402ae Adding get_http_cli for curl or wget detecting in sysstat 2016-04-05 09:49:43 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
974bd03ddf Adding new control for Galera cluster #150 2016-04-05 05:16:52 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
2d483e6b75 Check tables are all innodb table and check all table gets pk #150 2016-04-04 12:32:35 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
3ef98d83c1 Dumping mysql options for galera* #150 2016-04-04 11:30:16 -04:00
Jean-Marie RENOUARDjmrenouard@gmail.com
8203dcd686 Dumping galera options and status #150 2016-04-04 11:23:43 -04:00
Christine
c9cea2cc80 #177 bug with free -h changed to free -mwq 2016-04-04 13:58:52 +02:00
Christine
292cbfedad Adding some sysctl control in sysstat mode 2016-04-04 12:12:09 +02:00
Jean-Marie Renouard
0cdc7f53ca Merge pull request #179 from mrqwer88/fix_mount_output
fix mount point output for linux
2016-03-30 17:19:37 +02:00
root
c74d51e065 system information are only available with --sysstat #165 2016-03-30 17:16:16 +02:00
Sergei A Mamonov
ff796b48bf fix mount point output for linux 2016-03-30 15:59:47 +03:00
Sergei A Mamonov
45c468f324 add fixes to get_os_release for debian 6/7/8 2016-03-30 14:44:30 +03:00
root
d3a2d83d7d Just a simple perltidy to cleanup ident in the code. 2016-03-29 14:22:45 +02:00
Jean-Marie Renouard
8414de8a4d Merge pull request #176 from robertalks/master
Fix is_virtual_machine function return, drop ENV{'HOSTNAME'} for host…
2016-03-29 13:57:57 +02:00
Robert Milasan
cb5a1c528e Fix is_virtual_machine function return, drop ENV{'HOSTNAME'} for hostname cmd, some machines don't have HOSTNAME set 2016-03-29 09:51:48 +02:00
amq
94ee62a6e0 Fix grammar 2016-03-29 01:27:41 +02:00
root
a010416b93 Adding lot of system indicators #165 2016-03-25 16:22:07 +01:00
root
3f8ca6493e Adding disk space and inode control other fs mountpoint #165 2016-03-25 14:32:15 +01:00
root
c9ebae1e26 #166 removing test when plugin is unix_socket or win_socket
Support for bug https://bugs.mysql.com/bug.php?id=80860
2016-03-25 11:57:35 +01:00
DutchProgrammer
031898858b fix for perl 5.10 and 5.8 2016-03-24 23:58:48 +01:00
DutchProgrammer
5faf456d77 fix for perl 5.10 and 5.8 2016-03-24 23:56:45 +01:00
DutchProgrammer
2d4afc2e82 fix for perl 5.10 and 5.8 2016-03-24 23:41:30 +01:00
DutchProgrammer
774dbd8914 fix for perl 5.10 and 5.8 2016-03-24 23:31:52 +01:00
DutchProgrammer
5fb8e3dec7 fix for perl 5.10 and 5.8 2016-03-24 23:23:31 +01:00
DutchProgrammer
6c280de32f Added GetOptions check if fails show help
Added verbose mode
2016-03-24 22:48:07 +01:00
DutchProgrammer
5c9f9952aa added update version functionality 2016-03-24 21:20:48 +01:00
DutchProgrammer
ae9bbe405b added version update functionality 2016-03-24 21:17:34 +01:00
DutchProgrammer
58807c135f inconsistent performance schema info #167 2016-03-24 19:47:59 +01:00
DutchProgrammer
9c87b5266f v1.6.9 2016-03-24 18:36:49 +01:00
DutchProgrammer
0be6ebb626 fix the build fail 2016-03-24 14:25:12 +01:00