# Request time - vote\_count

**URL:** <https://meta.discourse.org/t/request-time-vote-count/67239>\
**Category:** Feature\
**Tags:** topic-voting\
**Created:** [August 1, 2017, 11:46am UTC](https://meta.discourse.org/t/request-time-vote-count/67239 "2017-08-01T11:46:02Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [August 1, 2017, 8:16pm UTC](https://meta.discourse.org/t/request-time-vote-count/67239/11 "2017-08-01T20:16:05Z")

</div>

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

for us:

```plaintext
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.

---

_[View the full topic](https://meta.discourse.org/t/request-time-vote-count/67239)._
