
23/03/2011, 12:26
|
| | Fecha de Ingreso: junio-2010 Ubicación: Charlotte, NC
Mensajes: 611
Antigüedad: 14 años, 9 meses Puntos: 95 | |
Problema indexando BLOB. Key specification without a key length Tengo el siguiente problema, quiero crear una tabla con la siguiente estructura:
CREATE TABLE timeseries (
id INT AUTO_INCREMENT NOT NULL,
timeserie BLOB NOT NULL,
correlation_index BLOB NOT NULL,
timeserie_date DATE NOT NULL,
PRIMARY KEY(id,correlation_index)
);
Y me dice que correlation_index necesita un index length, y a mi me gustaria saber que tan grande debe ser esta magnitud.
Los datos que voy a almacenar en el campo correlation_index tienen alrededor de 2000 o 3000 caracteres, la longitud de este indice esta relacionada con la longitud del campo o es algo diferente?
Gracias |