# US 2003/0233389 A1 · System and method for decoupling space reservation in transactional logs

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0233389 A1
- Document ID: US20030233389A1
- Status: Published application
- Kind: A1
- Application number: 10/175,439
- Filed: 2002-06-18
- Published: 2003-12-18
- Earliest claimed: 2002-06-18
- Assignees: Microsoft Corporation
- Inventors: Dexter Paul Bradshaw; Surendra Verma
- Web page: https://patentgrep.com/patent/US20030233389A1

## CPC

- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- Y10S 707/99953: Recoverability
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

A common logging system (a “virtual logging system”) that presents to one or more log clients the appearance that each log client is interacting with a dedicated logging system. In reality, the virtual logging system is multiplexing virtual log streams, including log records, for each log client into a single transactional log. In particular, the invention is directed at a system and method for decoupling space reservation between a plurality of distributed components and a core component in the virtual logging system.

## Claims

### Claim 1

A transactional logging system comprising:
a transactional log containing storage space associated with a storage unit;
a core component configured to manage the transactional log for a plurality of clients and to allocate a part of the transactional log as common reserved space for use by the clients; and
a plurality of distributed components configured to buffer log records and space reservation from the clients, each distributed component being associated with at least one of the clients, the distributed component being further configured to maintain accounting information for identifying a portion of the common reserved space associated with the client and to communicate the accounting information to the core component.

### Claim 2 (depends on 1)

The transactional logging system of claim 1, wherein the accounting information further comprises an amount of current pre-reserved space and an amount of desired pre-reserved space, and wherein the distributed component is further configured to request the amount of desired pre-reserved space from the core component.

### Claim 3 (depends on 1)

The transactional logging system of claim 1, wherein the accounting information maintained by the distributed component is uniquely known to the distributed component.

### Claim 4 (depends on 1)

The transactional logging system of claim 1, wherein the accounting information is communicated to the core component as piggyback data.

### Claim 5 (depends on 1)

The transactional logging system of claim 1, wherein the core component is further configured to determine an amount of actual pre-reserved space to allocate to the client and to communicate the amount of actual pre-reserved space to the distributed component.

### Claim 6 (depends on 5)

The transactional logging system of claim 5, wherein the amount of actual pre-reserved space is communicated to the distributed component using piggyback data.

### Claim 7 (depends on 1)

The transactional logging system of claim 1, wherein the core component is further configured to append the log records associated with at least one client using the portion of the pre-reserved space that belongs to the client.

### Claim 8 (depends on 1)

The transactional logging system of claim 1, wherein the distributed component is further configured to relinquish reserved space that belongs to the distributed component.

### Claim 9

A computer-implemented method comprising:
receiving log records from one of a plurality of clients for appending to a transactional log;
determining whether a sufficient amount of free space exists in the transactional log to append the log records; and
if not, appending the log records to pre-reserved space associated with the client and updating an amount of pre-reserved space available to the client.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein updating the amount of pre-reserved space available to the client further comprises reducing the amount of pre-reserved space available to the client by an amount used for appending the log records.

### Claim 11 (depends on 9)

The computer-implemented method of claim 9, further comprises communicating the reduced amount of pre-reserved space to the client.

### Claim 12 (depends on 9)

The computer-implemented method of claim 9, further comprising:
receiving request associated with the client to increase the amount of pre-reserved space available to the client;
determining whether to increase the amount of pre-reserved space to the client based at least in part on an amount of free space in the transactional log; and
if so, increasing the amount of pre-reserved space available to the client.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, further comprising communicating the increased amount of pre-reserved space to the client.

### Claim 14 (depends on 12)

The computer-implemented method of claim 12, wherein the request further comprises an indication of a desired amount of pre-reserved space available to the client.

### Claim 15 (depends on 12)

The computer-implemented method of claim 12, wherein the increased amount of pre-reserved space is less than the desired amount of pre-reserved space.

### Claim 16 (depends on 12)

The computer-implemented method of claim 12, wherein the increased amount of pre-reserved space is more than the desired amount of pre-reserved space.

### Claim 17

A method for communicating between a first component and a second component in a transactional logging system, the first component being associated with a client, the method comprising:
issuing to the first component, by the first component, a first message containing an amount of current pre-reserved space and an amount of desired pre-reserved space in a transactional log;
receiving, by the second component, the first message and determining an amount of actual pre-reserved space available to the client in the transactional log; and
issuing, by the second component, a second message identifying the amount of actual pre-reserved space.

### Claim 18 (depends on 17)

The method of claim 17, wherein the first message is sent along with another message sent from the first component to the second component.

### Claim 19 (depends on 18)

The method of claim 18, wherein the first message is a piggyback message on the other message.

### Claim 20 (depends on 17)

The method of claim 17, wherein the second message is sent in conjunction with another message sent from the second component to the first component.

### Claim 21 (depends on 20)

The method of claim 20, wherein the second message is a piggyback message on the other message.

### Claim 22 (depends on 17)

The method of claim 17, wherein the first component and the second component are implemented on different computers.

### Claim 23 (depends on 17)

The method of claim 17, wherein the first message and the second message are issued over a network.

### Claim 24

A computer-readable medium encoded with a data structure comprising:
a first data field containing log records, each log record being associated with one of a plurality of clients; and
a second data field having reserved space, wherein the plurality of clients share the reserved space.

### Claim 25 (depends on 24)

The computer-readable medium of claim 24, wherein the reserved space is associated with at least one of the clients.

### Claim 26

A computer-readable medium encoded with a data structure comprising:
a first data field identifying an amount of pre-reserved space desired by a component of a transactional logging system; and
a second data field identifying an amount of pre-reserved space actually available to the component.

### Claim 27 (depends on 26)

The computer-readable medium of claim 26, further comprising an electronic message issued by the component, the electronic message including the first data field and the second data field.
