Did you know pagination with offset is very troublesome but easy to avoid? Offset instructs the DBMS skip the first N results of a query. However, the database must still fetch these rows from the disk and bring them in order before it can send the following ones. This is not an implementation problem, it’s the way offset is designed: …the rows in the derived table are first sorted according to th
