mirror of
https://github.com/major/MySQLTuner-perl.git
synced 2024-09-20 23:37:10 +00:00
Last updates
This commit is contained in:
parent
fb4ea3fb1d
commit
d46c05da77
3
.gitignore
vendored
3
.gitignore
vendored
@ -16,4 +16,5 @@ test_db/**
|
||||
result*
|
||||
result_*
|
||||
sql/*.sql
|
||||
sql/*.csv
|
||||
sql/*.csv
|
||||
cve.csv
|
11
FEATURES.md
11
FEATURES.md
@ -2,11 +2,7 @@ Features list for option: --feature (dev only)
|
||||
---
|
||||
|
||||
|
||||
* calculations
|
||||
* compare_tuner_version
|
||||
* cpu_cores
|
||||
* cve_recommendations
|
||||
* grep_file_contents
|
||||
* log_file_recommendations
|
||||
* make_recommendations
|
||||
* mariadb_aria
|
||||
@ -17,7 +13,6 @@ Features list for option: --feature (dev only)
|
||||
* mariadb_threadpool
|
||||
* mariadb_tokudb
|
||||
* mariadb_xtradb
|
||||
* merge_hash
|
||||
* mysql_databases
|
||||
* mysql_indexes
|
||||
* mysql_innodb
|
||||
@ -29,14 +24,8 @@ Features list for option: --feature (dev only)
|
||||
* mysql_table_structures
|
||||
* mysql_tables
|
||||
* mysql_triggers
|
||||
* mysql_version_eq
|
||||
* mysql_version_ge
|
||||
* mysql_version_le
|
||||
* mysql_views
|
||||
* os_setup
|
||||
* pretty_uptime
|
||||
* security_recommendations
|
||||
* system_recommendations
|
||||
* update_tuner_version
|
||||
* validate_mysql_version
|
||||
* validate_tuner_version
|
||||
|
22
Makefile
22
Makefile
@ -26,35 +26,41 @@ installdep_debian:
|
||||
tidy:
|
||||
dos2unix ./mysqltuner.pl
|
||||
perltidy -b ./mysqltuner.pl
|
||||
# git add ./mysqltuner.pl
|
||||
# git commit -m "Indenting mysqltuner at $(shell date --iso=seconds)"
|
||||
git add ./mysqltuner.pl
|
||||
git commit -m "Indenting mysqltuner at $(shell date --iso=seconds)"
|
||||
|
||||
generate_usage:
|
||||
pod2markdown mysqltuner.pl >USAGE.md
|
||||
# git add ./USAGE.md
|
||||
# git commit -m "Generate USAGE.md at $(shell date --iso=seconds)"
|
||||
git add ./USAGE.md
|
||||
git commit -m "Generate USAGE.md at $(shell date --iso=seconds)"
|
||||
|
||||
generate_cve:
|
||||
perl ./build/updateCVElist.pl
|
||||
# git add ./vulnerabilities.csv
|
||||
# git commit -m "Generate CVE list at $(shell date --iso=seconds)"
|
||||
git add ./vulnerabilities.csv
|
||||
git commit -m "Generate CVE list at $(shell date --iso=seconds)"
|
||||
|
||||
generate_features:
|
||||
perl ./build/genFeatures.sh
|
||||
# git add ./FEATURES.md
|
||||
# git commit -m "Generate FEATURES.md at $(shell date --iso=seconds)"
|
||||
git add ./FEATURES.md
|
||||
git commit -m "Generate FEATURES.md at $(shell date --iso=seconds)"
|
||||
|
||||
increment_sub_version:
|
||||
@echo "Incrementing sub version from $(VERSION) to $(UPDATE_SUB_VERSION)"
|
||||
sed -i "s/$(VERSION)/$(UPDATE_SUB_VERSION)/" mysqltuner.pl *.md
|
||||
git add ./*.md ./mysqltuner.pl
|
||||
git commit -m "Generate $(UPDATE_SUB_VERSION) sub version at $(shell date --iso=seconds)"
|
||||
|
||||
increment_minor_version:
|
||||
@echo "Incrementing minor version from $(VERSION) to $(UPDATE_MINOR_VERSION)"
|
||||
sed -i "s/$(VERSION)/$(UPDATE_MINOR_VERSION)/" mysqltuner.pl *.md
|
||||
git add ./*.md ./mysqltuner.pl
|
||||
git commit -m "Generate $(UPDATE_SUB_VERSION) minor version at $(shell date --iso=seconds)"
|
||||
|
||||
increment_major_version:
|
||||
@echo "Incrementing major version from $(VERSION) to $(UPDATE_MAJOR_VERSION)"
|
||||
sed -i "s/$(VERSION)/$(UPDATE_MAJOR_VERSION)/" mysqltuner.pl *.md
|
||||
git add ./*.md ./mysqltuner.pl
|
||||
git commit -m "Generate $(UPDATE_SUB_VERSION) major version at $(shell date --iso=seconds)"
|
||||
|
||||
push:
|
||||
git push
|
2
USAGE.md
2
USAGE.md
@ -1,6 +1,6 @@
|
||||
# NAME
|
||||
|
||||
MySQLTuner 2.2.7 - MySQL High Performance Tuning Script
|
||||
MySQLTuner 2.2.9 - MySQL High Performance Tuning Script
|
||||
|
||||
# IMPORTANT USAGE GUIDELINES
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env perl
|
||||
# mysqltuner.pl - Version 2.2.8
|
||||
# mysqltuner.pl - Version 2.2.9
|
||||
# High Performance MySQL Tuning Script
|
||||
# Copyright (C) 2015-2023 Jean-Marie Renouard - jmrenouard@gmail.com
|
||||
# Copyright (C) 2006-2023 Major Hayden - major@mhtx.net
|
||||
@ -57,7 +57,7 @@ use Cwd 'abs_path';
|
||||
#use Env;
|
||||
|
||||
# Set up a few variables for use in the script
|
||||
my $tunerversion = "2.2.8";
|
||||
my $tunerversion = "2.2.9";
|
||||
my ( @adjvars, @generalrec );
|
||||
|
||||
# Set defaults
|
||||
@ -7357,7 +7357,7 @@ __END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
MySQLTuner 2.2.8 - MySQL High Performance Tuning Script
|
||||
MySQLTuner 2.2.9 - MySQL High Performance Tuning Script
|
||||
|
||||
=head1 IMPORTANT USAGE GUIDELINES
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user