I have a state machine (workflow) implemented on a table a couple of million 
records and growing.
I have crated an index on the "state" field. The possible states are very few 
(5 to 10). Obviously selectivity index is terrible. As I can optimize the query?
thank

Tengo una máquina de estados (workflow) implementado sobre una tabla de un par 
de millones de registros, y creciendo.
Tengo creado un indice sobre el campo "estado". Los estados posibles son muy 
pocos ( de 5 a 10 ). Obviamente la selectividad del indice es pésima. Como 
puedo optimizar la consulta?
Gracias

Reply via email to