-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.2
-
Component/s: rails-loader
-
Environment:Ubuntu Linux, Ruby On Rails
A query in AddEvent transaction:
SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 76 AND `taggings`.taggable_type = 'Event');
requires indexes on taggable_id and tggable_type to improve its performance. Otherwise, the query needs to scan the whole table all the time.