# 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:** 8

<div class="post-metadata">

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

</div>

```
[ +
   { +
     "Plan": { +
       "Node Type": "Bitmap Heap Scan", +
       "Relation Name": "topic_custom_fields", +
       "Schema": "public", +
       "Alias": "topic_custom_fields", +
       "Startup Cost": 44.78, +
       "Total Cost": 59.23, +
       "Plan Rows": 25, +
       "Plan Width": 22, +
       "Actual Startup Time": 0.127, +
       "Actual Total Time": 0.184, +
       "Actual Rows": 30, +
       "Actual Loops": 1, +
       "Output": ["topic_id", "name", "value"], +
       "Recheck Cond": "(topic_custom_fields.topic_id = ANY ('{756,159,134,1041,958,1037,260,900,1016,1018,773,1015,1034,428,301,998,1005,1006,1008,1012,1010,1007,680,1003,781,886,1002,899,662,1000}'::integer[]))", +
       "Rows Removed by Index Recheck": 0, +
       "Filter": "((topic_custom_fields.name)::text = ANY ('{accepted_answer_post_id,vote_count}'::text[]))", +
       "Rows Removed by Filter": 9, +
       "Exact Heap Blocks": 9, +
       "Lossy Heap Blocks": 0, +
       "Shared Hit Blocks": 69, +
       "Shared Read Blocks": 0, +
       "Shared Dirtied Blocks": 0, +
       "Shared Written Blocks": 0, +
       "Local Hit Blocks": 0, +
       "Local Read Blocks": 0, +
       "Local Dirtied Blocks": 0, +
       "Local Written Blocks": 0, +
       "Temp Read Blocks": 0, +
       "Temp Written Blocks": 0, +
       "Plans": [ +
         { +
           "Node Type": "Bitmap Index Scan", +
           "Parent Relationship": "Outer", 

   "Index Name": "tmpindex", +
       "Startup Cost": 0.00, +
       "Total Cost": 44.78, +
       "Plan Rows": 49, +
       "Plan Width": 0, +
       "Actual Startup Time": 0.102, +
       "Actual Total Time": 0.102, +
       "Actual Rows": 39, +
       "Actual Loops": 1, +
       "Index Cond": "(topic_custom_fields.topic_id = ANY ('{756,159,134,1041,958,1037,260,900,1016,1018,773,1015,1034,428,301,998,1005,1006,1008,1012,1010,1007,680,1003,781,886,1002,899,662,1000}'::integer[]))",+
       "Shared Hit Blocks": 60, +
       "Shared Read Blocks": 0, +
       "Shared Dirtied Blocks": 0, +
       "Shared Written Blocks": 0, +
       "Local Hit Blocks": 0, +
       "Local Read Blocks": 0, +
       "Local Dirtied Blocks": 0, +
       "Local Written Blocks": 0, +
       "Temp Read Blocks": 0, +
       "Temp Written Blocks": 0 +
     } +
   ] +
 }, +

                        +
   "Plans": [ +
     { +
       "Node Type": "Bitmap Index Scan", +
       "Parent Relationship": "Outer", +
       "Index Name": "tmpindex", +
       "Startup Cost": 0.00, +
       "Total Cost": 44.78, +
       "Plan Rows": 49, +
       "Plan Width": 0, +
       "Actual Startup Time": 0.102, +
       "Actual Total Time": 0.102, +
       "Actual Rows": 39, +
       "Actual Loops": 1, +
       "Index Cond": "(topic_custom_fields.topic_id = ANY ('{756,159,134,1041,958,1037,260,900,1016,1018,773,1015,1034,428,301,998,1005,1006,1008,1012,1010,1007,680,1003,781,886,1002,899,662,1000}'::integer[]))",+
       "Shared Hit Blocks": 60, +
       "Shared Read Blocks": 0, +
       "Shared Dirtied Blocks": 0, +
       "Shared Written Blocks": 0, +
       "Local Hit Blocks": 0, +
       "Local Read Blocks": 0, +
       "Local Dirtied Blocks": 0, +
       "Local Written Blocks": 0, +
       "Temp Read Blocks": 0, +
       "Temp Written Blocks": 0 +
     } +
   ] +
 }, +
 "Planning Time": 0.369, +
 "Triggers": [ +
 ], +
 "Execution Time": 0.254 +

```

} +  
]  
(1 row)

(END)

After

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

Executing action: latest — 134.50 ms (-20ms)

---

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