Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Python
C
Latest commit
02d1854
Apr 22, 2015
Permalink
| Failed to load latest commit information. | |||
|
|
drift_lib |
|
|
|
|
github/wiki/images |
|
|
|
|
io_throttle |
|
|
|
|
old/mysql-patches |
|
|
|
|
parser_lib |
|
|
|
|
permissions_lib |
|
|
|
|
pylib |
|
|
|
|
willie_lib |
|
|
|
|
COPYING |
|
|
|
|
README |
|
|
|
|
aggregate.py |
|
|
|
|
extract_slow_queries.py |
|
|
|
|
generate_checksums.py |
|
|
|
|
lint.py |
|
|
|
|
permissions-example.py |
|
|
|
|
permissions.py |
|
|
|
|
replication_heartbeat.py |
|
|
|
|
sql.py |
|
|
|
|
sql_batch.py |
|
|
|
|
tablify.py |
|
|
|
|
trickle_file_runner.py |
|
|
|
|
validate.py |
|
|
|
|
willie.py |
|
|
README
Various tools for managing, maintaining, and improving the performance of MySQL databases, originally written by Google.
Libraries:
* pylib/db.py: Easily execute queries in parallel on a sharded database
* Depends on MySQLdb. Most tools here depend on it.
* permissions_lib/: Manage MySQL permissions in a Python-based format
* Depends on tlslite.
* parser_lib/: Parse SQL and apply rules based on the parsed output
* Depends on pyparsing.
Binaries:
* sql.py: Interactive shell for pylib/db.py
* permissions.py: Tool for pushing permissions to servers using permissions_lib/
* validate.py: Tool for validating SQL using parser_lib/