I have a model with over 6 millions object and anytime I am accessing the object page in my admin page its load very slow it even runs to time out sometimes and also the same thing to my view so I would like to get help if there is any recommendations method I can use for the issue. The project is hosted in AWS elastic beanstalk.
The database configuration is attached to the Post
Thanks in advance
Database configuration The database object
I have increased the database resources but still the same.
From db.t2.medium To db.t3.medium
One of the initial and must have practice would be to use pagination in your API that gets admin-page data from your model that contain large number of records