HP3000-L Archives

October 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jerry Fochtman <[log in to unmask]>
Reply To:
Jerry Fochtman <[log in to unmask]>
Date:
Wed, 6 Oct 1999 06:49:31 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (54 lines)
Boris,

First of all, I would suggest using NMKSAM instead of the older, CM KSAM.
It will perform faster, especially if you are using an NM program.

In terms of loading the file, As Tracy has indicated, if possible, have
the input sorted on the same field which is going to be your KSAM key.
This will help speed-up the loading.  Also, while multiple keys can be
useful, there is a price....  You may also want to specify the ;REUSE
option to space in the file released by deleted entries can be reused
when new entries are added.

The other suggestion I would like to offer is it is actually better to
load the file at the same time it is initially created, vs creating/saving
the file and then loading it.  If it is built/loaded during the same
open, NMKSAM will leave some ventilation space within its structures at
certain iterations.  This will make it easier for NMKSAM to find open
slots and insert additional entries at a later time.  If the file is
simply built/closed and then re-opened to load, NMKSAM will not intentially
provide these openings, leading to the possibility that large, contigious
areas may be fully populated causing longer search times for openings
on subsequent FWRITEs for new entries.  Given this, you don't want to
perform the initial load in multiple phases, but rather, one single
phase.


At 02:42 PM 10/5/1999 -0400, Boris Kortiak wrote:
>As a still newbie to the HP 300, I have a little question.
>
>Let's say I'm going to create a KSAM file of about 160 bytes with about
1,000,000 records.  Is there some preferred way to populate this?  On some
systems I've worked on, one could improve processing speed by closing the
file, WAITing about 10 seconds and then re-OPENing the file after about
100,000 sectors of data were written.  Is there any similar lore for the HP
3000?
>
X-no-Archive:yes

/jf
                              _\\///_
                             (' o-o ')
___________________________ooOo_( )_OOoo____________________________________

                        Wednesday, October 6th

          Today in 1884 - U.S. Naval War College was established
                          at Newport, R.I.

___________________________________Oooo_____________________________________
                            oooO  (    )
                           (    )  )  /
                            \  (   (_/
                             \_)

ATOM RSS1 RSS2