Request time - vote_count

I am not sure what exactly is going on here but something is not right about you pg

for us:

SELECT "topic_custom_fields"."topic_id", "topic_custom_fields"."name", "topic_custom_fields"."value" FROM "topic_custom_fields" 
WHERE (topic_id in (67247,66522,26363,67265,67134,67239,67080,67262,67227,67261,67176,33889,54096,17247,66793,67256,67160,66808,30473,67207,67174,46818,35903,67191,67250,67232,65387,67249,55208,15102)) AND 
(name in ('assigned_to_id','accepted_answer_post_id','vote_count'));  

This takes 0.7ms

I recommend you backup your database and restore, it will force a full rebuild of all indexes and such.

1 Mi Piace