Closed (fixed)
Project:
User Badges
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2007 at 07:06 UTC
Updated:
4 Dec 2008 at 18:31 UTC
Optimize queries (add indices).
Comments
Comment #1
btmash commentedBecause I felt the badges having these optimizations are essential if you have a lot of badges, I'll paste the optimizations I felt were useful to me while creating the 6.x update. Someone who knows how to create indexes in pgsql would be of help here ^_^:
Note the tables are also converted to utf8 (basically applies to user_badges_badges and user_badges_user but ran through all in case of future updates).
Comment #2
btmash commentedI added some more keys (though to the 6.x version - I'll post the schema so it can be seen clearly.
Comment #3
nunoveloso commented