How can I speed up Django Query aggregations on a 10 million row database with 60 features?
How can I speed up Django Query aggregations on a 10 million row database with 60 features? Question: I have a database table in psql which contains of 10,000,000 rows and 60 columns (features). I define a Django Queryset as follows: MyQ=MyDataBase.objects.filter(Name=’Mike’, date=date(2018, 2, 11), Class=’03’) There are only 5 rows that satisfy the above …