untoldone / bloomapi

Create APIs out of public datasources
https://www.bloomapi.com/documentation/public-data
MIT License
89 stars 29 forks source link

Investigate Postgres perf when jumping to a page far from the beginning (e.g. offset 4000) #28

Closed untoldone closed 10 years ago

untoldone commented 11 years ago

There are a few potential ways to ensure higher perf of queries that would otherwise have large offsets (such as creating a related column to query on so offsets are smaller). Currently doing a search that looks up a common last name such as 'MILLER' with a large offset results in very poor performance (order of 10 seconds in some cases in production). This should be investigated and potentially fixed somehow.

untoldone commented 10 years ago

wont fix for now