Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2008
    Posts
    136

    Unanswered: index reverse scan

    Hi ,
    Can anyone tell me how index reverse scan actually work with example?
    Regards
    Pawan Kumar

  2. #2
    Join Date
    Dec 2007
    Location
    Richmond, VA
    Posts
    1,328
    Provided Answers: 5
    It, basically, means that DB2 knows you have column_x in this index sorted as ASCENDING, so when you ask for max(column_x) it starts at the end of the tree, instead of the beginning of the tree. It can, also, allow you to avoid a sort if you have ORDER BY column_x DESC, if that index is used by the access path.
    Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •