The invention belongs to the technical field of GPU (
Graphics Processing Unit)
processing, and discloses a multi-version
concurrency control method for GPU accelerated
transaction processing. The high
parallel computing capability of the GPU is utilized, and a multi-version data storage scheme is adopted, so that the
transaction processing speed is increased. According to the method and the
system, the transactions are stored, the
concurrency among the transactions is increased, the
concurrency in the transactions is increased, the
atomicity of the transactions is ensured, and large-scale concurrency of the transactions is realized and
resource consumption caused by a high transaction
abortion rate due to conflicts is reduced through a multi-version storage scheme in which
metadata and loads are separated and an in-batch repair technical framework. According to the method,
transaction processing on a GPU end is expanded to a multi-version storage scheme, GPU resources are utilized to the maximum extent through separation of
metadata and load data and an efficient merging access mechanism, and a low
abortion rate is ensured while the concurrency degree during execution is improved by adopting an optimistic
concurrency control scheme and an in-batch repair mechanism. And meanwhile, the overhead of multiple
data transmission is reduced by using light
garbage collection and
data reuse.