Foros del Web » Programación para mayores de 30 ;) » Bases de Datos General » Mysql »

Problema indexando BLOB. Key specification without a key length

Estas en el tema de Problema indexando BLOB. Key specification without a key length en el foro de Mysql en Foros del Web. 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, ...
  #1 (permalink)  
Antiguo 23/03/2011, 12:26
 
Fecha de Ingreso: junio-2010
Ubicación: Charlotte, NC
Mensajes: 611
Antigüedad: 13 años, 10 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

Etiquetas: blob, key
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 08:18.