Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/11/2009, 08:07
quimfv
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Sabadell
Mensajes: 4.897
Antigüedad: 16 años, 1 mes
Puntos: 574
Respuesta: dificil sobre particioando de tablas

A la pregunta de hacer depender las particiones de un campo parece que si

Manual de mysql
Cita:
When partitioning by KEY or LINEAR KEY, you can use a DATE, TIME, or DATETIME column as the partitioning column without performing any modification of the column value. For example, this table creation statement is perfectly valid in MySQL:

CREATE TABLE members (
firstname VARCHAR(25) NOT NULL,
lastname VARCHAR(25) NOT NULL,
username VARCHAR(16) NOT NULL,
email VARCHAR(35),
joined DATE NOT NULL
)
PARTITION BY KEY(joined)
PARTITIONS 6;

En cuanto a reparticionar 18.3. Partition Management creo que tambien...

Ojo con estas cosas que cada motor se lo monta como quiere!!!!

Quim