Database system with transaction control block index

    公开(公告)号:US09824134B2

    公开(公告)日:2017-11-21

    申请号:US14553494

    申请日:2014-11-25

    IPC分类号: G06F17/30 G06F15/16

    CPC分类号: G06F17/30592 G06F17/30353

    摘要: A plurality of transactions is handled in a database. Each transaction includes a plurality of operations on at least one record in the database with at least two of the transactions being handled concurrently. Thereafter, a temporary timestamp is assigned to each record. The temporary timestamp are based, at least in part, on the corresponding transaction. Further, a final timestamp is assigned to each record with a commit operation. It can later be determined, using a visibility function and based on the assigned temporary timestamps and final timestamps, which of the records are visible in a consistent view for a first transaction. Based on such determination, access can be provided to those records determined to be visible to be accessed to the first transaction.

    Delegation of Database Post-Commit Processing
    3.
    发明申请
    Delegation of Database Post-Commit Processing 有权
    数据库后处理处理委托

    公开(公告)号:US20160147862A1

    公开(公告)日:2016-05-26

    申请号:US14553535

    申请日:2014-11-25

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30348

    摘要: A plurality of transactions are handled in a database. Each transaction comprises a plurality of operations on at least one record in the database with at least two of the transactions being handled concurrently. Thereafter, a temporary timestamp is assigned to each record that is based, at least in part, on the corresponding transaction. A first transaction among the plurality of transactions is subsequently committed. Afterwards, re-stamping of at least one commit timestamp modified by the first transaction is delegated. Related apparatus, systems, techniques and articles are also described.

    摘要翻译: 在数据库中处理多个事务。 每个事务包括对数据库中的至少一个记录的多个操作,其中至少两个事务被同时处理。 此后,至少部分基于对应的事务将每个记录分配临时时间戳。 随后提交了多个交易中的第一笔交易。 之后,委派对由第一个事务修改的至少一个提交时间戳的重新戳记。 还描述了相关设备,系统,技术和物品。

    Set-Orientated Visibility State Retrieval Scheme
    6.
    发明申请
    Set-Orientated Visibility State Retrieval Scheme 有权
    面向可视性状态检索方案

    公开(公告)号:US20160147834A1

    公开(公告)日:2016-05-26

    申请号:US14553226

    申请日:2014-11-25

    IPC分类号: G06F17/30

    摘要: Disclosed herein are system, method, and computer program product embodiments for determining row visibility states. An embodiment operates by initializing a result bitmap for rows based on visible row state values of row state bitmaps corresponding to the rows, wherein values of the result bitmap indicate whether the row are visible or not visible; determining one or more rows whose corresponding visible row state values indicate that the one or more rows are not visible; and determining whether to update the result bitmap to indicate that the one or more rows are visible based on one or more versioned row state values, wherein the one or more versioned row state values indicate whether the corresponding rows are not visible or possibly visible.

    摘要翻译: 这里公开了用于确定行可见性状态的系统,方法和计算机程序产品实施例。 实施例通过基于与行对应的行状态位图的可见行状态值来初始化行的结果位图来进行操作,其中结果位图的值指示该行是可见还是不可见; 确定其对应的可见行状态值指示所述一行或多行不可见的一行或多行; 以及基于一个或多个版本化的行状态值来确定是否更新所述结果位图以指示所述一行或多行是可见的,其中所述一个或多个版本化行状态值指示相应行是否不可见或可见。

    Database System With Transaction Control Block Index
    8.
    发明申请
    Database System With Transaction Control Block Index 有权
    具有事务控制块索引的数据库系统

    公开(公告)号:US20160147861A1

    公开(公告)日:2016-05-26

    申请号:US14553494

    申请日:2014-11-25

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30592 G06F17/30353

    摘要: A plurality of transactions is handled in a database. Each transaction includes a plurality of operations on at least one record in the database with at least two of the transactions being handled concurrently. Thereafter, a temporary timestamp is assigned to each record. The temporary timestamp are based, at least in part, on the corresponding transaction. Further, a final timestamp is assigned to each record with a commit operation. It can later be determined, using a visibility function and based on the assigned temporary timestamps and final timestamps, which of the records are visible in a consistent view for a first transaction. Based on such determination, access can be provided to those records determined to be visible to be accessed to the first transaction.

    摘要翻译: 在数据库中处理多个事务。 每个事务包括在数据库中的至少一个记录上的多个操作,其中至少两个事务被同时处理。 此后,将临时时间戳分配给每个记录。 临时时间戳至少部分地基于相应的事务。 此外,通过提交操作将最终时间戳分配给每个记录。 稍后可以使用可见性功能并基于分配的临时时间戳和最终时间戳来确定哪个记录在第一个事务的一致视图中可见。 基于这样的确定,可以向确定为可见以被访问到第一交易的那些记录提供访问。

    Garbage collection of multi-version concurrency control (MVCC) data blocks

    公开(公告)号:US09665609B2

    公开(公告)日:2017-05-30

    申请号:US14553901

    申请日:2014-11-25

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30348

    摘要: Disclosed herein are system, method, and computer program product embodiments for performing garbage collection in a database management system with a multi-version concurrency control. An embodiment operate by qualifying a multi-version concurrency control (MVCC) block for garbage collection, where the MVCC block includes multiple cells, each cell corresponding to a row of a table that was acted on by a transaction. Determining that the MVCC block can be garbage collected based on MVCC information in the MVCC block, where the MVCC information includes information that determines whether changes made to rows in the multiple cells are visible in a database management system. Based on the determining, garbage collecting the MVCC block.