Five ways to paginate in Postgres, from the basic to the exotic

Thu 27 July 2017

link Five ways to paginate in Postgres, from the basic to the exotic

It may surprise you that pagination, pervasive as it is in web applications, is easy to implement inefficiently. In this article we’ll examine several methods of server-side pagination and discuss their tradeoffs when implemented in PostgreSQL. This article will help you identify which technique is appropriate for your situation, including some you may not have seen before which rely on physical clustering and the database stats collector.

social