IP Library › Granted Patent US 9,619,509
Granted Patent B2
US 9,619,509 · App. 14/302,461 · Granted Apr 11, 2017

Database auditing for bulk operations

Inventor: James D. Spyker (Toronto, CA)
Assignee: International Business Machines Corporation
G06F17/3038G06F17/30339G06F17/30368G06F17/30377
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 9,619,509
App. No.
14/302,461
Granted
Apr 11, 2017
Kind
B2
Abstract

A method facilitates auditing of database transactions by maintaining logical consistency between a source database table and a shadow database table. A bulk command is received that specifies edits to a plurality of rows in the source database table. The bulk command is executed on the source database table. The shadow database table is queried to obtain an indication of the plurality of rows edited by the bulk command. The indication is stored as part of an audit trail for the source database table.

Claims (13)

1. A system for facilitating auditing of database transactions, the system comprising:

a replication module configured to maintain logical consistency between a source database table and a shadow database table;

a database management module configured to

receive a bulk command that specifies edits to a plurality of rows in the source database table, wherein the bulk command specifies a partition-level operation for the source database table;

execute the bulk command on the source database table;

a row level tracking module configured to

query the shadow database table to obtain an indication of the plurality of rows edited by the bulk command; and

store the indication as part of an audit trail for the source database table.

2. The system of claim 1 , wherein the database management module is configured to perform the bulk command using hardware and wherein the row level tracking module is configured to query the shadow table in parallel using different hardware.

3. The system of claim 1 , wherein the partition-level operation includes at least one operation from the group consisting of a truncate and a delete.

4. The system of claim 1 , wherein the database management module is further configured to query the shadow table based upon ranges of values in columns that correspond to a partition of the source database table.

5. The system of claim 1 , wherein bulk command specifies a plurality of rows from the source database table independent based upon a value in a column field.

6. The system of claim 1 , wherein the bulk command specifies a plurality of rows from the source database table based upon a value in a column field.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 12, 2014
From: SPYKER, JAMES D.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 033084/0236 →
Continuity (2)
Continuation 14041454 · Sep 30, 2013
Related Publication 20150095287A1 · Apr 2, 2015