BE and INDEXED-REPOSITION
 
Forums / SmartComponent Library - Developer Forum / BE and INDEXED-REPOSITION

BE and INDEXED-REPOSITION

2 posts, 1 answered
  1. Patrik Wikström
    Patrik Wikström avatar
    68 posts
    Registered:
    15 Oct 2018
    01 Jun 2023
    Link to this post
    Should we use INDEXED-REPOSITION in BE queries? Can't even remember why we chose to always use it? Is it of any use in BE queries really?
  2. Mike Fechner
    Mike Fechner avatar
    319 posts
    Registered:
    14 Sep 2016
    Answered
    01 Jun 2023 in reply to Patrik Wikström
    Link to this post
    GUI applications use batching by ROWID (restart-rowid). INDEXED-REPOSITON is expected to make that faster.

    Web applications _typically_ use ROW-NUM based batching/paging where I don't expect that INDEXED-REPOSITION provides benefits. 

    You may have additional use cases .... 
2 posts, 1 answered