1

I go through some of the blog post and found i can improve my lookup speed using index, and also in some discussion i found that database usually apply auto indexing to the id or pk of the table without running any manual command.

I am currently on two projects which has two different dbs

Postgres and MySQL

any other suggestion for improving the lookup speed for both the dbs will appreciated.

Deepanshu Mehta
  • 227
  • 2
  • 5
  • 3
    Primary keys (and unique constraints) are indexed automatically in mostly all databases... Other than that have a look at this [question](https://stackoverflow.com/q/66486363/14991864) to see what is automatically indexed by Django. – Abdul Aziz Barkat Jul 17 '21 at 07:40

0 Answers0