This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
# mysql-monitor

#### Table of contents

1. [Overview] (#overview)
2. [Usage] (#usage)
3. [Notices] (#notices)
4. [Installation] (#installation)
5. [Development] (#development)

## Overview
This program scan and report all the TINYINT, SMALLINT, MEDIUMINT, INT, BIGINT columns where the highest value is too
close from the highest possible value allowed by the column type.

It handles UNSIGNED and SIGNED cases.

## Usage

usage: [-h] [--username USERNAME] [--password [PASSWORD]]
[--host HOST] [--threshold THRESHOLD]
[--exclude EXCLUDE [EXCLUDE ...]] [--db DB [DB ...]]

optional arguments:
-h, --help show this help message and exit
--username USERNAME, -u USERNAME
MySQL username
--password [PASSWORD], -p [PASSWORD]
MySQL password
--host HOST MySQL host
The alerting threshold (ex: 0.8 means alert when a
column max value is 80% of the max possible value
--exclude EXCLUDE [EXCLUDE ...], -e EXCLUDE [EXCLUDE ...]
Database to exclude separated by a comma
--db DB [DB ...], -d DB [DB ...]
Databases to analyse separated by a comma (default

## Notices
- It could be very slow (especially on heavy loaded servers or servers with a huge databases/tables count.
You surely want to run this tool on a slave instead of a master

- This script disable innodb_stats computing for optimizing performance_schema analysis and enable it at the end


If you interrupt this script (Ctrl+C ...) it is up to you to reactivate it using something like:
set global innodb_stats_on_metadata=1;

## Installation

To install it with a [Python virtualenv]( (recommended):

$> virtualenv myenv
$> source myenv/bin/activate
(myenv) $> pip install mysql-monitor
(myenv) $> mysql-monitor -h

Or on your system, without virtualenv:

$> pip install mysql-monitor
$> mysql-monitor -h

## Development

To start hacking on the project, run:

$> virtualenv myenv
$> source myenv/bin/activate
(myenv) $> pip install -e .
(myenv) $> mysql-monitor -h


0.1.0 (unreleased)

Initial version.
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
monitor-mysql-overflows-1.1.1.tar.gz (5.3 kB) Copy SHA256 Checksum SHA256 Source Mar 26, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting