Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 35601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:15:41+00:00 2026-05-10T14:15:41+00:00

If one wants to paginate results from a data source that supports pagination we

  • 0

If one wants to paginate results from a data source that supports pagination we have to go to a process of:

  1. defining the page size – that is the number of results to show per page;
  2. fetch each page requested by the user using an offset = page number (0 based) * page size
  3. show the results of the fetched page.

All this is works just fine not considering the fact that an operation may affect the backend system that screws up the pagination taking place. I am talking about someone inserting data between page fetches or deleting data.

page_size = 10; get page 0 -> results from 0 to 9; user inserts a record that due to the query being executed goes to page 0 - the one just shown; get page 1 -> results from 10 to 19 - the first results on the page is the result on the old page 0. 

The described behavior can cause confusion to the viewer. Do you know any practical solution to workaround this problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:15:42+00:00Added an answer on May 10, 2026 at 2:15 pm

    There are a few schools of thought o this.

    1. data gets updated let it be
    2. You could implement some sort of caching method that will hold the entire result set (This might not be an option if working with really large Datasets)
    3. You could do a comparison on each page operation and notify the user if the total record count changes

    .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have created a pagination JavaScript class that will automatically paginate comments when
HI all I want to paginate with table i.e in one page have contain
One of my friend wants to have a website which calculates the distance between
I have created custom posts and I want one page in my site to
I'm new to printing with java. First I start to print one page data
Right now I have only one condition in my Projects.paginate Code is below def
Hello every one I want to ask a question that what is simple exec
i have a UITableView where i want one cell(database row) needs to be default,
I want applications to share certain database data. I want one application to retrieve
I have a F# record type and want one of the fields to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.