IP Library Granted Patent US 7,624,119
Granted Patent B2
US 7,624,119 · App. 10/777,604 · Granted Nov 24, 2009

Low-overhead built-in timestamp column for relational database systems

Assignee: International Business Machines Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,624,119
App. No.
10/777,604
Granted
Nov 24, 2009
Kind
B2
Abstract

A method for providing a timestamp for data in a database system, in which the database system operates in accordance with a database schema. The method includes providing a hidden timestamp column in a table in the database system, in which the hidden timestamp column includes a timestamp value for each row of data in the table. The timestamp value indicates a last time a corresponding row of data in the table was previously modified. The hidden timestamp column does not appear in the database schema by default and exposes the timestamp value for a given row of data in the table only to a query that calls the timestamp column by name.

Claims (7)

1. A computer processor implemented method for providing a timestamp for data in a database system, the database system operating in accordance with a database schema, the computer processor performing the following method steps:

providing a table in the database system, the table including a plurality of rows of data;

providing a hidden timestamp column in the table of the database system, the hidden timestamp column including a timestamp value for each row of data in the table, the timestamp value indicating a last time a corresponding row of data in the table was previously modified, wherein the hidden timestamp column does not appear in the database schema by default and exposes the timestamp value for a given row of data in the table only to a query that calls the timestamp column by name;

receiving a query from an application to obtain a timestamp value from the hidden timestamp column, the query calling the timestamp column by name; and

in response to the query, the hidden timestamp column returning the timestamp value to the application for use by the application,

wherein the application uses the returned timestamp value for controlling a locking scheme associated with recording data updates in the database system.

2. The method of claim 1 , wherein the timestamp value corresponding to a given row of data in the table is automatically updated each time data in the given row has been modified.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 11, 2004
From: CHEN, YAO-CHING STEPHEN; COTNER, CURT L.
To: IBM CORPORATION
Reel/Frame 014987/0973 →
Continuity (1)
Related Publication 20050177590A1 · Aug 11, 2005