-
Book Overview & Buying
-
Table Of Contents
Mastering phpMyAdmin 3.3.x for Effective MySQL Management
By :
User-defined partitioning (see http://dev.mysql.com/doc/refman/5.1/en/partitioning.html) is offered in MySQL 5.1. It allows us to "distribute portions of individual tables across a file system according to rules which you can set largely as needed". Using this feature in phpMyAdmin requires knowledge of its syntax because there are many partition types. Also, for each partition type, the number of partitions and the values associated with each partition are too random to be easily represented on a web interface.
Let's examine this feature by creating a table named test with one field. On the table creation panel, if connected to a MySQL 5.1 server, phpMyAdmin shows a PARTITION definition dialog:
![]() |
Here, we enter a PARTITION BY RANGE clause, which will create partitions on the id column.
For a table on which a partition has been defined, the Operations subpage displays a Partition maintenance dialog where we can:
Choose a partition...
Change the font size
Change margin width
Change background colour
