Adaptive relational database access
First Claim
Patent Images
1. A machine-implemented method comprising:
- receiving an alteration request to mark a selected column in a database table as an unused column;
updating a database control table indicating that the selected column is unused;
after the database control table is updated, returning data not stored in the selected column in response to a read request corresponding to the selected column;
retrieving a write value associated with the alteration request;
storing the write value in the control table;
receiving a write request corresponding to the selected column from a calling routine, wherein the write request includes write data and identifies one or more rows to write to the database table; and
in response to receiving the write request, retrieving the previously stored write value, and 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.
1 Assignment
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.
-
Citations
19 Claims
-
1. A machine-implemented method comprising:
-
receiving an alteration request to mark a selected column in a database table as an unused column; updating a database control table indicating that the selected column is unused; after the database control table is updated, returning data not stored in the selected column in response to a read request corresponding to the selected column; retrieving a write value associated with the alteration request; storing the write value in the control table; receiving a write request corresponding to the selected column from a calling routine, wherein the write request includes write data and identifies one or more rows to write to the database table; and in response to receiving the write request, retrieving the previously stored write value, and 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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. 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 an alteration request to mark a selected column in a database table as an unused column; updating a database control table indicating that the selected column is unused; after the database control table is updated, returning data not stored in the selected column in response to a read request corresponding to the selected column; retrieving a write value associated with the alteration request; storing the write value in the control table; receiving a write request corresponding to the selected column from a calling routine, wherein the write request includes write data and identifies one or more rows to write to the database table; and in response to receiving the write request, retrieving the previously stored write value, and 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. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program product comprising:
-
a computer memory; first program instructions to receive an alteration request to mark a selected column in a database table as an unused column; second program instructions to update a database control table indicating that the selected column is unused; third program instructions to, after the database control table is updated, return data not stored in the selected column in response to a read request corresponding to the selected column; fourth program instructions to retrieve a write value associated with the alteration request; fifth program instructions to store the write value in the control table; sixth program instructions to receive a write request corresponding to the selected column from a calling routine, wherein the write request includes write data and identifies one or more rows to write to the database table; seventh program instructions to, in response to receiving the write request, retrieve the previously stored write value, and 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; and wherein the first, second, third, fourth, fifth, sixth, and seventh program instructions are stored on the computer memory. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification