Tail compression of a log stream using a scratch pad of logically deleted entries
AssigneeInternational Business Machines Corporation
InventorsCarl Edward Clark, Steven Jay Greenspan, Hiren Ramlal Shah
Life of this patent
Estimating the term…
Abstract
Managing a log stream of a computer system. An entry of a log stream, desired to be removed from the log stream, but not eligible for removal, is logically deleted. Logical deletion keeps the entry on the log stream and indicates that the entry can be removed from the log stream when it is eligible. When the entry is eligible, it is removed. If a desired entry remains at the tail of the log stream for a given period of time, thus not allowing the removal of one or more undesired entries, the desired entry is rewritten to the head of the log stream and deleted from the tail. Thereafter, other logically deleted entries eligible for deletion are removed from the log stream.
Claims52
A method of managing a log stream of a computer system, said method comprising:
- identifying an entry of said log stream that is not eligible for physical removal from said log stream;
- and
- logically deleting said entry from said log stream, said logically deleting keeping said entry on said log stream and indicating that said entry can be physically removed from said log stream when it is eligible to be physically removed.
A method of managing a log stream of a computer system, said method comprising:
- logically deleting one entry from said log stream when said entry is ineligible for physical removal from said log stream, said logically deleting comprising keeping said entry on said log stream and indicating that said entry can be physically removed from said log stream when it is eligible for physical removal;
- removing another entry from said log stream, said removing causing said one entry to be eligible for physical removal;
- and thereafter
- physically removing said one entry from said log stream.
A method of managing a log stream of a computer system, said method comprising:
- rewriting a first entry of said log stream from one location of said log stream to another location of said log stream, when said first entry is to at least temporarily remain on said log stream;
- and
- deleting said first entry from said one location.
An article of manufacture comprising:
- a computer useable medium having computer readable program code means embodied therein for causing the managing of a log stream of a computer system, the computer readable program code means in said article of manufacture comprising:
- computer readable program code means for causing a computer to effect identifying an entry of said log stream that is not eligible for physical removal from said log stream;
- and
- computer readable program code means for causing a computer to effect logically deleting said entry from said log stream, said logically deleting keeping said entry on said log stream and indicating that said entry can be physically removed from said log stream when it is eligible to be physically removed.
An article of manufacture comprising:
- a computer useable medium having computer readable program code means embodied therein for causing the managing of a log stream of a computer system, the computer readable program code means in said article of manufacture comprising:
- computer readable program code means for causing a computer to effect logically deleting one entry from said log stream when said entry is ineligible for physical removal from said log stream, said logically deleting comprising keeping said entry on said log stream and indicating that said entry can be physically removed from said log stream when it is eligible for physical removal;
- computer readable program code means for causing a computer to effect removing another entry from said log stream, said removing causing said one entry to be eligible for physical removal;
- and
- computer readable program code means for causing a computer to effect physically removing said one entry from said log stream, subsequent to removal of said another entry.
An article of manufacture comprising:
- a computer useable medium having computer readable program code means embodied therein for causing the managing of a log stream of a computer system, the computer readable program code means in said article of manufacture comprising:
- computer readable program code means for causing a computer to effect rewriting a first entry of said log stream from one location of said log stream to another location of said log stream, when said first entry is to at least temporarily remain on said log stream;
- and
- computer readable program code means for causing a computer to effect deleting said first entry from said one location.
Dependencies are inferred from the claim text.