|
HSCALE - MySQL Partitioning
|
HSCALE - Horizontal Scaling for MySQLHSCALE is a plugin written for MySQL Proxy which allows you to transparently split up tables into multiple tables called partitions. In later versions you will be able to put each partition on a different MySQL server. Read the news and related blog entries. Find more information on MySQL Proxy and HSCALE and the reasons why here: Presentation Slides: Introduction to HSCALE
Application Based Partitioning / "Sharding"Application based partitioning means that your split up your data logically and rewrite your application to select the right piece of data (i.e. partition) at any given time. More on application based partitioning. Read some more about what could be done with HSCALE. HSCALE helps in application based partitioning. Using the MySQL Proxy it sits between your application and the database server. Whenever an sql statement is sent to the server HSCALE analyzes it to find out whether a partitioned table is used. It then tries to find out which partition the sql statement should go to. What About Partitioning Inside MySQL 5.1 and Higher?Partitioning provided by the MySQL server is a whole different thing. In the most simply way: It manages how your data is stored internally. You still have a 1,5 billion row table with almost all the disadvantages: you cannot alter the table easily and you cannot put different partitions on different MySQL servers. |