Browse Prior Art Database

Circular Files for Storing Streams of Data when Disk Space is Constrained

IP.com Disclosure Number: IPCOM000113814D
Original Publication Date: 1994-Oct-01
Included in the Prior Art Database: 2005-Mar-27
Document File: 2 page(s) / 53K

Publishing Venue

IBM

Related People

French, SM: AUTHOR [+2]

Abstract

This article discloses a general-purpose method for storing only the most recent bytes output by a program, effectively limiting the size of trace files and data. The authors wrote a circular file utility based on this method to help capture and analyze large quantities of time-dependent data. This program creates and outputs data to a file, retaining only the most recently transmitted data. No equivalent file type existed on any PC operating system. Many programs generate data directly or indirectly to files, but when the disk (or other media) becomes full, these programs may lose the most recently transmitted portion of the data or fail completely. This method also limits the amount of space on disk that a program could consume.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 66% of the total text.

Circular Files for Storing Streams of Data when Disk Space is Constrained

      This article discloses a general-purpose method for storing
only the most recent bytes output by a program, effectively limiting
the size of trace files and data.  The authors wrote a circular file
utility based on this method to help capture and analyze large
quantities of time-dependent data.  This program creates and outputs
data to a file, retaining only the most recently transmitted data.
No equivalent file type existed on any PC operating system.  Many
programs generate data directly or indirectly to files, but when the
disk (or other media) becomes full, these programs may lose the most
recently transmitted portion of the data or fail completely.  This
method also limits the amount of space on disk that a program could
consume.

      This utility stores the most recent bytes generated by a
program up to a maximum size.  For example, if using a tracing
utility that writes data to standard output, the most important data
is usually the latest data.  But if disk space was exhausted while
running the trace program, only the oldest data would remain on the
disk, resulting in a large, possibly worthless trace.  The disclosed
utility would keep only the most recent bytes, and write them to disk
when the program completes.  This keeps the disk from getting filled
and allows the most recent data to be saved.  Any program that writes
to standard output can use this tool without mo...