pwsacademy / around-the-table

An open source platform that supports tabletop gaming communities, written in Swift.
BSD 2-Clause "Simplified" License
19 stars 4 forks source link

Additional database indices to improve performance #2

Open svanimpe opened 7 years ago

svanimpe commented 7 years ago

The database currently has only _id indices. It could be interesting to do some performance testing to find out which queries and sort operations could benefit from an additional index.

At the moment, database queries don't seem to be a bottleneck but this may become the case when we have more content.