This project has been archived by its maintainers, and is no longer receiving any updates.
InnoDB Optimize
innodb-optimize is a package for automatically calucalating optimized InnoDB configurations, and generating an updated my.cnf file with those values.
Installation
# PyPi Installation
pip install innodb-optimize
# GitHub Installation
pip install git+'https://github.com/Scraps23/innodb_optimize.git'
Usage
Basic Output
The following command will output the generated configuration to STDOUT. This is useful when using this tool in other scripts, such as automating system deployments.
innodb-optimize
Standard Commit Loop
innodb-optimize --commit
Standard Loop
Available Arguments
file: Where the MySQL configuration file is located. Defaults to /etc/mysql/my.cnf.
percent: Determines what percentage of the total memory will be devoted to InnoDB engine usage. Defaults to 75%.
memory: Allows the user to override the total memory amount (i.e. a fixed amount is already pre-allocated which is not easily accounted for in percentages). Only allows for kilobyte unit.
commit: Is required to start the loop which will commit the changes. Without it, the program only outputs the config to standard out to allow for piping/redirecting the output as needed.
Metadata
Release files for innodb-optimize 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| innodb_optimize-0.2.1-py3.8.egg | Legacy Egg format | - | - | Details for innodb_optimize-0.2.1-py3.8.egg |
| innodb_optimize-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for innodb_optimize-0.2.1-py3-none-any.whl |
Total release size: 10.9 kB
Release files / innodb_optimize-0.2.1-py3.8.egg
| Download URL | innodb_optimize-0.2.1-py3.8.egg |
|---|---|
| Size | 5.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
05bcb1cc98f703a96f931525f81aadfcbed8678a26db6b8296c2c5d9b6f0f612
|
|
BLAKE2b-256 checksum How to use checksums |
6844ba642ca4f924ac724e21fed4646834c7a141d021b12d6568fb337cf3afb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/62.0.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Release files / innodb_optimize-0.2.1-py3-none-any.whl
| Download URL | innodb_optimize-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e940d0306fd07cbc93441832527dfaefca2db1f9150562ff69ddbeb0b0e594f
|
|
BLAKE2b-256 checksum How to use checksums |
14d1c03bb8643eb5d6779d245a68e222fcbf917d05f0ca533d78705a96a8c72e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/62.0.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Security for innodb-optimize 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.