Discussion:
Enscribe File and Slack space
(too old to reply)
wilso...@gmail.com
2023-06-29 19:56:36 UTC
Permalink
Hi All -

I am curious if anyone can shed some light on how slack space works on a key sequenced Enscribe file. I looked in the manuals and see small references, but not a great explanation.

If slack is removed from a file using something like FUP RELOAD, that appears to reduce the file size. (Smaller files are typically a good thing.)

However, does this also mean that the subsequent writes to that file will now need to allocate blocks of space prior to inserting a record? If so, I would assume this would decrease the disk I/O efficiency?

Thanks for any insights!
Randall
2023-06-30 18:44:33 UTC
Permalink
Post by ***@gmail.com
Hi All -
I am curious if anyone can shed some light on how slack space works on a key sequenced Enscribe file. I looked in the manuals and see small references, but not a great explanation.
If slack is removed from a file using something like FUP RELOAD, that appears to reduce the file size. (Smaller files are typically a good thing.)
However, does this also mean that the subsequent writes to that file will now need to allocate blocks of space prior to inserting a record? If so, I would assume this would decrease the disk I/O efficiency?
Thanks for any insights!
Slack is configured when the file is created or altered. It comes in two forms: DSLACK (record space) and ISLACK (index space). By default, FILE_WRITEX_ respects these values and leaves slack in the file for future insert efficiency at the cost of space. RELOAD removes the slack so subsequent inserts can be more expensive by causing new items to move or reorganize existing bytes to provide space for the inserts.
--Randall
wilso...@gmail.com
2023-07-11 17:44:30 UTC
Permalink
Thanks! I think that confirms what I was expecting.
Post by Randall
Post by ***@gmail.com
Hi All -
I am curious if anyone can shed some light on how slack space works on a key sequenced Enscribe file. I looked in the manuals and see small references, but not a great explanation.
If slack is removed from a file using something like FUP RELOAD, that appears to reduce the file size. (Smaller files are typically a good thing.)
However, does this also mean that the subsequent writes to that file will now need to allocate blocks of space prior to inserting a record? If so, I would assume this would decrease the disk I/O efficiency?
Thanks for any insights!
Slack is configured when the file is created or altered. It comes in two forms: DSLACK (record space) and ISLACK (index space). By default, FILE_WRITEX_ respects these values and leaves slack in the file for future insert efficiency at the cost of space. RELOAD removes the slack so subsequent inserts can be more expensive by causing new items to move or reorganize existing bytes to provide space for the inserts.
--Randall
Loading...