Indexed Subfiles and QTP
Chris Sharman
Chris.Sharman@ccagroup.co.uk
Fri, 12 Jan 2001 12:41:22 +0000
>Bear in mind however that sequential access, on an indexed file, still means
>reading the file in primary key order (using RMS anyway). This by it's
>nature incurs overhead not associated with reading a true sequential file.
>I like (and am interested) Allison's test as well. It would be interesting
>to see if an indexed subfile has better or worse performance than an indexed
>file created through the dictionary. I'd still bet that a true sequential
>file will blow away your best, most optimized index file, even on a pure
>sequential read...
In RMS, a well organised index file (ie one with no bucket splits) read
sequentially would provide performance virtually identical to sequential, as
data is stored in primary key order, and sequential reads can read only the
data buckets, completely ignoring all index buckets.
PHD CREATE creates a very poorly tuned RMS indexed file. I've not checked out
indexed subfiles, but I've no reason to imagine they'd be any better.
For populating large indexed files, I would normally write a sequential file,
then use the standard VMS tools (CONVERT, ANALYZE/RMS, EDIT/FDL) to convert &
tune it. Even if you could create a file with well-chosen bucket sizes etc, any
index not populated in order would still potentially finish up with bucket
splits & in need of a VMS convert. We re-tune & convert any files that need it
every Sunday, via an automated procedure.
It's a good thing to do to your Powerhouse dictionary too (it's just another
indexed file, heavily used).
Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk http://www.ccagroup.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
-----------------------------------------------------------------------
Any views expressed in this message are those of the sender and not
necessarily those of CCA Group. The unauthorized use, disclosure,
copying or alteration of this message is forbidden. The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed. Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.