Skip to main content

mysql spliting/sharding tools

Project description

What is this?

Mysql query will become slow when table contains millions of rows. A simple way of solving this probolem is spliting the big table into small ones. We use some method to decide which table each row should be moved into. A widely used method is “modulus”, e.g. group rows by [ID mod 100]. This tool will help you to do this job easily.

Features

  • Move records from one table to another(or other) table(s) according to user specified rules.

  • Dynamically create new tables during moving.

  • Move records between different mysql servers.

  • Check data integrity of the new tables.

  • For records who have been moved to new tables, remove them from source table.

  • Using it as a python module which means dynamically changing the behavior.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymysql_split_tool-0.5.2-py2.py3-none-any.whl (9.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pymysql_split_tool-0.5.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pymysql_split_tool-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f91d70dc73b2f7a8744f0b6af8495ef293ab75761c1f182b6a6c6b3cbd4c670
MD5 3095d3dd417a6435668456400be3c917
BLAKE2b-256 6de33d0781c44482700962231ebd3cef144a9f9d885101127774e31828aebecb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page