Re: Slow query even for small number of rows

2015-10-03 Thread James Schneider
Need more information. What do you consider slow? How many rows are there total in the table? How many rows are you retrieving? It looks like your serializers pull in a lot of cross-table data, so I'm guessing there are numerous queries for each request. Have you examined the SQL queries being

Slow query even for small number of rows

2015-10-03 Thread Yik Surn Chong
Hi guys, I wonder why my query to view the list of scholarships takes quite long to load even though the number of rows is small. Would be great if someone could help me out here. Thanks. Here's my view. > class DualSerializerViewSet(viewsets.ReadOnlyModelViewSet): > queryset =