摘要:
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 all owing 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.
摘要:
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.
摘要:
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.
摘要:
A multisystem log stream of a multisystem environment is compressed. The oldest record needed for each system that can write or delete entries from the multisystem log stream is tracked, and that information is used in compression of the log stream. The block ids associated with those oldest records are maintained within a vector, and when the vector is updated, a determination is made as to whether the entry in the vector that it replaced previously contained the lowest block id in the vector. If so, all the records having block ids lower than the new lowest block id in the vector are deleted.
摘要:
One system of a multisystem environment takes over log entries owned by another system of the environment. When a system owning entries on a primary log stream is inactive (or a sync point manager on the system is inactive), another system of the multisystem environment writes the log entries corresponding to the inactive system to other locations. The entries within the other locations are not owned by any system. Thus, the resource managers associated with those log entries are eligible for restarting on any system of the multisystem environment. However, all resource managers involved in a common set of transactions are to restart on the same system. The other resource managers can restart on another system. When one of the resource managers restarts on a system, the system takes back ownership of the entries associated with the common set of transactions.
摘要:
A multisystem log stream of a multisystem environment is compressed. The oldest record needed for each system that can write or delete entries from the multisystem log stream is tracked, and that information is used in compression of the log stream. The block ids associated with those oldest records are maintained within a vector, and when the vector is updated, a determination is made as to whether the entry in the vector that it replaced previously contained the lowest block id in the vector. If so, all the records having block ids lower than the new lowest block id in the vector are deleted.
摘要:
When a log stream has a determined amount of reusable space, the log stream is compressed in order to free up the reusable space. Compression of the log stream includes rewriting one or more active entries located at one or more positions of the log stream to one or more other locations, either within the same log stream or on another log stream. Thereafter, the rewritten entries are deleted from their previous positions within the log stream. Additionally, one or more logically deleted entries of the log stream is removed from the log stream. The resulting log stream is a compressed log stream.
摘要:
One system of a multisystem environment takes over log entries owned by another system of the environment. When a system owning entries on a primary log stream is inactive (or a sync point manager on the system is inactive), another system of the multisystem environment writes the log entries corresponding to the inactive system to other locations. The entries within the other locations are not owned by any system. Thus, the resource managers associated with those log entries are eligible for restarting on any system of the multisystem environment. However, all resource managers involved in a common set of transactions are to restart on the same system. The other resource managers can restart on another system. When one of the resource managers restarts on a system, the system takes back ownership of the entries associated with the common set of transactions.
摘要:
When a log stream has a determined amount of reusable space, the log stream is compressed in order to free up the reusable space. Compression of the log stream includes rewriting one or more active entries located at one or more positions of the log stream to one or more other locations, either within the same log stream or on another log stream. Thereafter, the rewritten entries are deleted from their previous positions within the log stream. Additionally, one or more logically deleted entries of the log stream is removed from the log stream. The resulting log stream is a compressed log stream.