VARCHAR(50) NOT NULL, nascimento DATE NOT NULL ) ENGINE=InnoDB PARTITION BY RANGE (id) ( PARTITION a VALUES LESS THAN (1000), PARTITION b VALUES LESS THAN (2000), PARTITION z VALUES LESS THAN MAXVALUE ); Wednesday, February 8, 2012
VARCHAR(50) NOT NULL, nascimento DATE NOT NULL, pais INT NOT NULL ) ENGINE=InnoDB PARTITION BY LIST (pais) ( PARTITION america VALUES IN (1,2,3), PARTITION europa VALUES IN (4,5,6), ... ); Wednesday, February 8, 2012
VARCHAR(50) NOT NULL, nascimento DATE NOT NULL, grupo INT NOT NULL ) ENGINE=InnoDB PARTITION BY HASH (grupo) PARTITIONS 4; INT Wednesday, February 8, 2012
VARCHAR(50) NOT NULL, nascimento DATE NOT NULL, grupo INT NOT NULL ) ENGINE=InnoDB PARTITION BY HASH (MONTH(nascimento)) PARTITIONS 12; Wednesday, February 8, 2012
VARCHAR(50) NOT NULL, nascimento DATE NOT NULL, grupo INT NOT NULL ) ENGINE=InnoDB PARTITION BY KEY (login) PARTITIONS 4; =D Wednesday, February 8, 2012