Patent ID: 9672245
Date: 2017-06-06
CPC Classifications: G06F

Claim:
1. A non-transitory memory storage apparatus, comprising: a flash translation layer (FTL) configured to guarantee atomicity of a transaction for a database management system by utilizing a copy-on-write (CoW) mechanism, wherein the FTL comprises a transaction table generation unit configured to generate a transaction table that manages a transaction, wherein the transaction table comprises, with respect to each page, at least one of a transaction ID identifying a transaction, a logical page position, a physical page position, and information regarding a current state information of a transaction, wherein each entry of the transaction table is configured to be used to provide a page corresponding to each transaction request while maintaining a latest page number and a page number of an old version, which has been most recently committed and recorded, wherein in response to a read request command being entered and an entry in which both the transaction ID and the logical page position are identical exists in the transaction table, the FTL delivers the latest page, and otherwise, the FTL delivers the page of the old version, and wherein the memory storage apparatus is configured to interwork with the database management system and a file system.