Low Level Record Length Question ...
Ben Duncan
bns
Tue Sep 13 12:12:52 PDT 2005
Record sizes ranges, I've seen some in the same file that have about 128 bytes,
then some that top out at 1MB+ !!!
Keep in mind, this is going to be a "ASCII/TEXT" based variable field,
variable length record type system. So there is no "real" definitions
of a "default" record size. Hence, the reasoning on using a "BLOCK"
method for accessing the file.
Roger Oberholtzer wrote:
> I would stick to a fixed size. Makes recovery much easier. Disk space is
> cheap. If you mmap the file, then just keep in mind process memory
> limits. Not that that is only a fixed record size issue.
>
> What is the typical record size?
>
--
Ben Duncan - VersAccounting Software LLC 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
More information about the Linux-users
mailing list