Select query with offset limit is too much slow
问题 I have read from internet resources that a query will be slow when the offset increases. But in my case I think its too much slow. I am using postgres 9.3 Here is the query ( id is primary key): select * from test_table offset 3900000 limit 100; It returns me data in around 10 seconds . And I think its too much slow. I have around 4 million records in table. Overall size of the database is 23GB . Machine configuration: RAM: 12 GB CPU: 2.30 GHz Core: 10 Few values from postgresql.conf file