Skip to content

Paging with ImmuDB and Gorm #1241

Answered by jeroiraz
tutiplain asked this question in Q&A
Jun 3, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Hi @tutiplain

Just implemented OFFSET capabilities.

It would be great if you could build from the branch of this PR https://github.com/codenotary/immudb/pull/1242

Note: While standard OFFSET is simple it may lead to scalability issues as a scan is done over skipped entries.

Advanced note: In a more scalable pagination method, each query would be solved using the latest index entry read so far, then in the where clause, include a condition based on the indexed columns to reduce rows to be skipped.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@tutiplain
Comment options

@tutiplain
Comment options

@jeroiraz
Comment options

@jeroiraz
Comment options

@tutiplain
Comment options

Answer selected by jeroiraz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants