Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2009
    Location
    USA
    Posts
    53

    Unanswered: index after inplace reorg

    Will db2 be able to use the index if I don't reorg it following an inplace reorg?

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    If you couldn't use the index, then an inplace reorg would be useless.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  3. #3
    Join Date
    Jul 2009
    Location
    USA
    Posts
    53
    DB2 documentation about inplace reorg:
    Indexes are maintained, not rebuilt, so subsequent index reorganization might be required


    might be required -> how do I tell if index reorg is required or not?

  4. #4
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    What they mean by "might be required" is that the indexes may be disorganized enough that they might perform better if reorg'ed. They are not suggesting that the indexes cannot be used by a query just because you did not reorg them.

    This is in contrast to a offline reorg on a table, where the indexes are automatically reorg'ed (actually they are just rebuilt). So they are just trying to warn you that an inplace table reorg does not reorg the indexes.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Posting Permissions

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