buddycloud/buddycloud-server-java — pull request #195 by lloydwatkin (2014-07-03 07:52:38+00:00)
Title: Add database indexes

The new get(*)Memberships query was running quite slowly, I've added a couple of basic indexes which make the query 10x faster.

@imaginator Maybe it would be worth trying to find a postgres expert to help optimize our queries now we aren't doing just simple selects?