Request time - vote_count

One possibility may help is covering the index by adding:

create index tmpIndex on topic_custom_fields(topic_id, name, value)

Doe s that make it much faster @Stranik? Remember to drop the index after your experiment.

1 Mi Piace