Mar 12, 2015 - US 2015/0074041 A1. 300. /. RECONCILING DATA RECORDS DURING A SELECT DATA QUERY OPERATION. 3'? HDD. STABLE DATA.
US 20150074041A1
(19)
United States
(12) Patent Application Publication (10) Pub. No.: US 2015/0074041 A1 (43) Pub. Date:
Bhattacharjee et al. (54)
DEFERRING DATA RECORD CHANGES USING QUERY REWRITING
Mar. 12, 2015
Publication Classi?cation
(51) (71) Applicant: International Business Machines
Corporation, Armonk, NY (US)
Int. Cl. G06F 1 7/3 0
(2006.01)
(52) US. Cl. CPC .............................. .. G06F 17/30448 (2013.01)
(72)
Inventors: Bishwaranj an Bhattacharj ee, Yorktown
______________________________ ,, 707/607
Heights, NY (US); Mustafa Canim, Ossing, NY (US); Mohammad S.
(57) ABSTRACT Staging data record changes from a faster storage medium to
Hamedani, White Plains, NY (Us); Kenneth A_ Ross, New York, NY (Us)
a slower storage medium using data query rewriting is pro vided. In response to receiving a data query corresponding to
.
_
.
.
.
a particular data record, it is determined whether the data
(73) ASSlgnee' Icngjrgglggzlg?lslgll?jsgqgfglsnfs P
’
query is one of a transactional data query or an analytical data
’
query. In response to determining that the data query is a
transactional data query, the transactional data query is
(21) APP1~ NO-3 14/036,780
rewritten to apply transactional delta changes to the particular
(22)
Filed;
response to determining that the data query is an analytical data query, the analytical data query is rewritten to select and
(63)
Related U's' Apphcatlon Data Continuation of application No. 14/020,076, ?led on
data record stored on the storage-class memory with the par ticular data record stored on a persistent data storage device of
Sep. 6, 2013.
the computer.
data record on a storage-class memory of a computer. In
Sq), 25, 2013 .
DATA
SYSTEM
.
reconcile each data record corresponding to the particular
STORAGE-CLASS MEMORY
DEVICES
100
—
118\
108\
PERSISTENT STORAGE
120
USER-GENERATED
USER-GENERATED
130
—
DATABASE SCHEMA
DATABASE SCHEMA
—
122
DELTA CHANGE
STABLE
132
—
DATA STORE
DATA STORE
—
124
TABLE
TABLE
—
136
DATA RECORDS
E
DATA RECORDS
104
106
PROSEISTSOR
MEMORY
\
\
126
FLAGS
1 28 PRE-DEFINED RELATIONAL f 138
1 02
t
COMMUNICATIONS FABRIC
| COMMUNICATIONS UNIT |\112 | INPUT/OUTPUT UNIT R114
COMPUTER PROGRAM PRODUCT COMPUTER-READABLE MEDIA
144/
140/1 PROGRAM CODE | 146/I COMPUTER-READABLE STORAGE MEDIA | E 148A COMPUTER-READABLE SIGNAL MEDIA |
DISPLAY
116
Patent Application Publication
Mar. 12, 2015 Sheet 1 0f 12
US 2015/0074041 A1
Patent Application Publication
Mar. 12, 2015 Sheet 2 0f 12
US 2015/0074041 A1
2/00 DEFERRED UPDATES USING QUERY REWRITING
214\ TRANSACTIONAL
ANALYTICAL
/216
DATA QUERY
DATA QUERY
V
V
218
QUERY REWRITING PROCESS)
COMPUTER SYSTEM
@ REWRITTEN 220 \ TRANSACTIONAL
DATA QUERY
REWRITI'EN ANALYTICAL
/ 222
DATA QUERY
20 4
/ RECORD DATABASE V
STABLE DATA ST0RE '
208\
‘
'
'
‘
'
‘
""""‘
'
.
E;
.
.
..
.;.
SSD
1'
206
'Q'Q'Q‘
§§§