Implementing storage management functions using a data store system
AssigneeInternational Business Machines Corporation
InventorsBalakrishna Raghavendra Iyer, Lin S. Qiao, Aamer Sachedina
Life of this patent
Estimating the term…
Abstract
Techniques are provided for accessing sector data. An embedded storage function is received. One or more data management functions are generated in response to receiving the embedded storage function. The one or more data management functions are invoked to retrieve the sector data from a sector table.
Claims23
A method for accessing sector data, comprising:
- providing an embedded data store manager comprising a relational database management system and that includes a network communications manager component for performing translations, a query management component for processing queries, a storage command component for processing embedded storage functions, a data management component for generating physical Input/output (I/O) commands, and a buffer management component for executing the physical I/O commands;
- creating a sector table for one or more logical sector vectors, wherein the sector table stores multiple consecutive logical sectors within a single record;
- mapping each of the one or more logical sector vectors to a record in the sector table;
- creating one or more containers for one or more physical sector vectors in a table space;
- establishing one or more relationships between the one or more logical sector vectors and the one or more physical sector vectors using the table space;
- creating a table space map to enable mapping between the one or more logical sector vectors and the one or more physical sector vectors;
- mapping a logical I/O command to an embedded storage function;
- and
- under control of the storage command component:
- receiving the embedded storage function, wherein the embedded storage function is issued directly to the storage command component by bypassing the network communications manager component and the query management component;
- generating one or more data management functions in response to receiving the embedded storage function;
- in response to invoking the one or more data management functions to retrieve the sector data from the sector table in which multiple consecutive logical sectors are stored together within a single record, receiving the sector data from the sector table mapping the one or more logical sector vectors to the one or more physical sector vectors using the table space map from the data management component;
- and
- returning a response to a caller that issued the embedded storage function.
An article of manufacture for accessing sector data, wherein the article of manufacture comprises a non-transitory computer readable medium storing code, and wherein the code when executed by a processor of a computer is operable to:
- provide an embedded data store manager comprising a relational database management system and that includes a network communications manager component for performing translations, a query management component for processing queries, a storage command component for processing embedded storage functions, a data management component for generating physical Input/output (I/O) commands, and a buffer management component for executing the physical I/O commands;
- create a sector table for one or more logical sector vectors, wherein the sector table stores multiple consecutive logical sectors within a single record;
- map each of the one or more logical sector vectors to a record in the sector table;
- create one or more containers for one or more physical sector vectors in a table space;
- establish one or more relationships between the one or more logical sector vectors and the one or more physical sector vectors using the table space;
- create a table space map to enable mapping between the one or more logical sector vectors and the one or more physical sector vectors;
- map a logical I/O command to an embedded storage function;
- and
- under control of the storage command component,
- receive the embedded storage function, wherein the embedded storage function is issued directly to the storage command component by bypassing the network communications manager component and the query management component;
- generate one or more data management functions in response to receiving the embedded storage function;
- in response to invoking the one or more data management functions to retrieve the sector data from the sector table in which multiple consecutive logical sectors are stored together within a single record, receive the sector data from the sector table by mapping the one or more logical sector vectors to the one physical sector vectors using the table space map from the data management component;
- and
- return a response to a caller that issued the embedded storage function.
A computer system for accessing sector data, comprising:
- a processor;
- storage coupled to the processor, wherein the storage stores code, and wherein the processor executes the code to perform operations, wherein the operations comprise:
- providing an embedded data store manager comprising a relational database management system and that includes a network communications manager component for performing translations, a query management component for processing queries, a storage command component for processing embedded storage functions, a data management component for generating physical Input/output (I/O) commands, and a buffer management component for executing the physical I/O commands;
- creating a sector table for one or more logical sector vectors, wherein the sector table stores multiple consecutive logical sectors within a single record;
- mapping each of the one or more logical sector vectors to a record in the sector table;
- creating one or more containers for one or more physical sector vectors in a table space;
- establishing one or more relationships between the one or more logical sector vectors and the one or more physical sector vectors using the table space;
- creating a table space map to enable mapping between the one or more logical sector vectors and the one or more physical sector vectors;
- mapping a logical I/O command to an embedded storage function;
- and
- wherein the storage command component causes operations, wherein the operations comprise:
- receiving the embedded storage function, wherein the embedded storage function is issued directly to the storage command component by bypassing the network communications manager component and the query management component;
- generating one or more data management functions in response to receiving the embedded storage function;
- in response to invoking the one or more data management functions to retrieve the sector data from the sector table in which multiple consecutive logical sectors are stored together within a single record, retrieving the sector data from the sector table by mapping the one or more logical sector vectors to the one or more physical sector vectors using the table space map from the data management component;
- and
- returning a response to a caller that issued the embedded storage function.
Dependencies are inferred from the claim text.