1

I am wondering if Django admin can handle a huge amount of records.

Say I have a 2 million users, how the pagination will be handled for example? Will it be dead slow because every time all the records will be counted to be provided to the offset?

Note: I plan to use PostgreSQL.

Thanks.

azio
  • 575
  • 1
  • 6
  • 12

1 Answers1

6

count is fast and admin pagination for objects is limited to 100 records per page. Sorting on 2 million records could take some time though, but with 2 million users you can afford some ram to put some indexes on these fields ;)

to be serious: this is no problem at all as long as your database can handle it.

Jay
  • 2,519
  • 5
  • 25
  • 42
  • 2
    To add this is more of a database design and infrastructure limitation than it is Django as it is just a display and interaction layer between the user and the data. – sean Oct 31 '12 at 23:17