pagination and filtering on a very large table in postgresql (keyset pagination?)
I have a scientific database with currently 4,300,000 records. It's a scientific database, and an API is feeding it. In june 2020, I will probably have about 100,000,000 records. This is de layout of the table 'output': ID | sensor_ID | speed | velocity | direction ----------------------------------------------------- 1 | 1 | 10 | 1 | up 2 | 2 | 12 | 2 | up