Closed (won't fix)
Project:
Voting API
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2009 at 21:38 UTC
Updated:
11 Jan 2011 at 16:13 UTC
The votingapi_cache table could use some indexing:
ALTER TABLE votingapi_cache
ADD INDEX votingapicache_group (content_id, content_type, value_type, tag, function);
Comments
Comment #1
damienmckennaThis needs to be compiled into a valid patch.
Comment #2
ferrangil commentedThis looks interesting!!
Did you notice any improvement?
My site has lots of views sorted by voting average and then voting count... most of the queries are querying votingapi_cache... I have around 80.000 rows.
Thanks
Comment #3
eaton commentedSupport for the 5.x branch of VotingAPI has ended with the release of Drupal 7 and the upcoming release of VotingAPI 7.x-2.4.