+ Reply to Thread
Results 1 to 4 of 4

Thread: Performance Questions?

  1. #1
    Guest.Visitor Guest

    Default Performance Questions?

    Hi I have performance question 1. If we have a big PF such as 500,000 records and have LF which was using for both online and batch programs. And sometime many program use it at the same time. The PF is very active one. What (and why) should be use for parameter matainance access path between *IMMED and *REBLD? 2. OPNQRY or LF should be use in a picture of performance? TIA.

  2. #2
    Guest.Visitor Guest

    Default Performance Questions?

    IMO - If there is a lot of activity(more that every once in a while) on the file you would want *IMMED. You would not want the access path to be rebuilt every time the member is opened, which I think the *rbld option does. Also if the file is used for any type of input verification you also would want the access path to be updated *immed. If you have unique keys you need to use *IMMED.

  3. #3
    Guest.Visitor Guest

    Default Performance Questions?

    Just 1 LF over the 500,000 record PF? What AS/400 model and OS release/version are you running? That's pretty optimal, I believe. 1) You wouldn't want to use OPNQRYF (or maintain your LF access path other than *IMMED) if you're using that access path for interactive programs. That would definitely impact perceived performance if each user had to wait for the access path to build before they could get to the data. 2) If you keep the number of LF's down, you'll help to keep your I/O performance up there. I've seen shops that have so many LF's, and many are duplicates of ones that already existed. Now that impacts performance, since the system has to maintain all those access paths each time there's a change to the data in the physical file that impacts them. 3) As I understand it, Query Manager will use an existing, handy LF to avoid building its own access path for queries and even OPNQRYF, if it can find it easily enough (another strike against too many useless LF's). This improved performance indirectly, of course, but a bonus of wise LF proliferation. Are you concerned because you're having a specific performance problem, or just a general question?

  4. #4
    Guest.Visitor Guest

    Default Performance Questions?

    If you have a lot of activity on the file including deleting and adding records it would be a good idea to reorg the file on a regular basis.

+ Reply to Thread

Similar Threads

  1. Questions
    By satkams@yahoo.com in forum COBOL
    Replies: 1
    Last Post: 03-05-2005, 10:07 AM
  2. TWO QUESTIONS
    By Guest.Visitor in forum Dev Tools
    Replies: 0
    Last Post: 05-10-2002, 03:28 AM
  3. Some Questions....
    By David Abramowitz in forum IBM i (OS/400, i5/OS)
    Replies: 21
    Last Post: 05-01-2002, 09:12 AM
  4. Performance command questions?
    By Guest.Visitor in forum IBM i (OS/400, i5/OS)
    Replies: 1
    Last Post: 03-28-2002, 06:57 AM
  5. Questions about NetServer performance
    By Guest.Visitor in forum Programming
    Replies: 3
    Last Post: 03-02-2001, 07:34 PM

Posting Permissions

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