Adaptive relational database access
First Claim
Patent Images
1. A machine-implemented method comprising:
- receiving a first alteration request to mark a selected column in a database table as an unused column, wherein the first alteration request includes a write value;
updating a database control table indicating that the selected column is unused and storing the write value in the database control table;
receiving a write request corresponding to the selected column, wherein the write request includes write data and identifies one or more rows to write in the database table;
in response to the selected column existing in the database table, writing the previously stored write value to the selected column of the one or more rows, wherein the write data included in the write request is not written to the selected column of the one or more rows;
in response to the selected column not existing in the database table, inhibiting writing of any data to the selected column of the one or more rows;
in response to receiving a second alteration request to mark the selected column in the database table as a used column;
updating the database control table indicating that that the selected column is used;
in response to receiving a read request to read a first set of one or more rows, retrieving a data stored in the selected column from the database table at the first set of rows; and
in response to receiving a second write request to write a provided data to a second set of one or more rows, writing the provided data to the selected column in the database table at the second set of rows.
0 Assignments
0 Petitions
Accused Products
Abstract
An approach is provided that receives an alteration request to mark a selected column in a database table as an unused column. A database control table is then updated to indicate that the selected column is unused. After the database control table is updated, when a read request is received for the selected column, the same data is returned for the selected column for each row being read and this data is not stored in the database table.
11 Citations
6 Claims
-
1. A machine-implemented method comprising:
-
receiving a first alteration request to mark a selected column in a database table as an unused column, wherein the first alteration request includes a write value; updating a database control table indicating that the selected column is unused and storing the write value in the database control table; receiving a write request corresponding to the selected column, wherein the write request includes write data and identifies one or more rows to write in the database table; in response to the selected column existing in the database table, writing the previously stored write value to the selected column of the one or more rows, wherein the write data included in the write request is not written to the selected column of the one or more rows; in response to the selected column not existing in the database table, inhibiting writing of any data to the selected column of the one or more rows; in response to receiving a second alteration request to mark the selected column in the database table as a used column; updating the database control table indicating that that the selected column is used; in response to receiving a read request to read a first set of one or more rows, retrieving a data stored in the selected column from the database table at the first set of rows; and in response to receiving a second write request to write a provided data to a second set of one or more rows, writing the provided data to the selected column in the database table at the second set of rows. - View Dependent Claims (2)
-
-
3. An information handling system comprising:
-
one or more processors; a memory accessible by at least one of the processors; a nonvolatile storage medium accessible by at least one of the processors; a database management system including a set of instructions stored in the memory and executed by at least one of the processors in order to perform actions of; receiving a first alteration request to mark a selected column in a database table as an unused column, wherein the first alteration request includes a write value; updating a database control table indicating that the selected column is unused and storing the write value in the database control table; receiving a write request corresponding to the selected column, wherein the write request includes write data and identifies one or more rows to write in the database table; in response to the selected column existing in the database table, writing the previously stored write value to the selected column of the one or more rows, wherein the write data included in the write request is not written to the selected column of the one or more rows; in response to the selected column not existing in the database table, inhibiting writing of any data to the selected column of the one or more rows; in response to receiving a second alteration request to mark the selected column in the database table as a used column; updating the database control table indicating that that the selected column is used; in response to receiving a read request to read a first set of one or more rows, retrieving a data stored in the selected column from the database table at the first set of rows; and in response to receiving a second write request to write a provided data to a second set of one or more rows, writing the provided data to the selected column in the database table at the second set of rows. - View Dependent Claims (4)
-
-
5. A computer program product comprising:
-
a non-transitory computer readable storage medium; first program instructions to receive a first alteration request to mark a selected column in a database table as an unused column, wherein the first alteration request includes a write value; second program instructions to update a database control table indicating that the selected column is unused and to store the write value in the database control table; third program instructions to receive a write request corresponding to the selected column, wherein the write request includes write data and identifies one or more rows to write in the database table; fourth program instructions to write the previously stored write value to the selected column of the one or more rows, wherein the write data included in the write request is not written to the selected column of the one or more rows, in response to the selected column existing in the database table; fifth program instructions to inhibit writing of any data to the selected column of the one or more rows in response to the selected column not existing in the database table; sixth program instructions to receive a second alteration request to mark the selected column in the database table as a used column; seventh program instructions to update the database control table indicating that the selected column is used; after the database control table is updated to indicate that the selected column is used; eighth program instructions to receive a read request to read a first set of one or more rows; ninth program instructions to retrieve a data stored in the selected column from the database table at the first set of rows; tenth program instructions to receive a subsequent write request to write a provided data to a second set of one or more rows; eleventh program instructions to write the provided data to the selected column in the database table at the second set of rows; and wherein the first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth, and eleventh program instructions are stored on the non-transitory computer readable storage medium. - View Dependent Claims (6)
-
Specification