+ Reply to Thread
Results 1 to 4 of 4

Thread: indexes

  1. #1

    Default indexes

    There are several things you can do to help performance:
    1. Reorganize the file using the KEYFILE(*FILE) parameter if the physical file is indexed.
    2. For sequential access, use the SEQUENTIAL(*YES nnn) parameter of the OVRDBF command. The higher the number(nnn) the better up to about 512k characters.
    3. Create a vector index using SQL. The access times will surprise you.
    Dave

  2. #2

    Default indexes

    Dave, Thanks for your post, you've given me something to research on. I just want to understand this, once the index LTRindex was created for file LTRdtap, and if the file has never been reorganized, would this be why I see 0 for the i/o count for LTRindex when viewing the job. Since the LTRindex is listed with open files, it is not being used?? Diane

  3. #3

    Default indexes

    Our system has a file with over 8 million records, we are having a performance issue on this file - (sometimes).... In testing I have created an index over this large file, although when I watch the performance on the job, I notice the i/o count reads: LRTdtap (physical file-key on code only ) - I/O count...4057 LRTindex (index over cust# & code) I/O count....0 What I need to know is, if the open files list my index, but the I/O count shows 0, is the job actually using the index LRTindex? Should I not expect to see an i/o count of something more than 0 if it is truly in use by the job. Diane

  4. #4

    Default indexes

    How is the file being opened (input, update, etc.)? Dave

+ Reply to Thread

Similar Threads

  1. keyed data queues vs user indexes.
    By Guest.Visitor in forum General
    Replies: 2
    Last Post: 02-16-2007, 07:57 AM
  2. Multi-member SQL indexes
    By howsys in forum General
    Replies: 1
    Last Post: 02-08-2007, 02:27 PM
  3. Monitor and Suggested Indexes
    By bibarnes@yahoo.com in forum SQL
    Replies: 1
    Last Post: 01-04-2007, 05:28 PM
  4. Too many indexes when linking from as400 to access
    By Guest.Visitor in forum Microsoft
    Replies: 1
    Last Post: 01-13-2004, 09:00 AM

Posting Permissions

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