Method of returning data during insert statement processing
    1.
    发明申请
    Method of returning data during insert statement processing 有权
    插入语句处理期间返回数据的方法

    公开(公告)号:US20050138010A1

    公开(公告)日:2005-06-23

    申请号:US10744633

    申请日:2003-12-22

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30595 G06F17/30463

    摘要: A method for generating an execution plan for updating and retrieving data from a database in a single process includes: receiving a statement by a server to update a database with a first set of data and to retrieve a second set of data from the database; building a first execution plan to update the database with the first set of data; building a second execution plan to retrieve the second set of data from the database; and building a single execution plan including a combination of the first and second execution plans. The single execution plan allows for the updating and retrieval of data with a single crossing of an interface between a client and the database. By performing both functions in this manner, the efficiency of performing such tasks on the database is significantly increased.

    摘要翻译: 一种用于生成用于在单个进程中从数据库更新和检索数据的执行计划的方法包括:由服务器接收用第一组数据更新数据库的语句,并从数据库中检索第二组数据; 构建第一个执行计划,用第一组数据更新数据库; 构建第二个执行计划以从数据库中检索第二组数据; 并构建包括第一和第二执行计划的组合的单个执行计划。 单个执行计划允许通过客户端和数据库之间的接口的单个​​交叉来更新和检索数据。 通过以这种方式执行这两个功能,在数据库上执行这样的任务的效率显着增加。

    METHOD AND SYSTEM FOR CONTROLLING CONCURRENT ACCESS TO DATA IN A DATABASE SYSTEM
    2.
    发明申请
    METHOD AND SYSTEM FOR CONTROLLING CONCURRENT ACCESS TO DATA IN A DATABASE SYSTEM 审中-公开
    用于控制数据库系统中数据访问的方法和系统

    公开(公告)号:US20080010283A1

    公开(公告)日:2008-01-10

    申请号:US11777921

    申请日:2007-07-13

    IPC分类号: G06F17/30

    CPC分类号: G06F16/2343 Y10S707/99938

    摘要: A method and system for controlling concurrency of access to data in a database system is provided. The method includes receiving a lock request for access to data in the database system, in which the lock request is a request for a page lock or a row lock for a corresponding row or page in the database system containing the data. The method further includes identifying a partition in the database system that contains the row or the page in the database system containing the data; associating the lock request with a partition lock on the partition that contains the row or the page in the database system containing the data; and accessing the data using the partition lock.

    摘要翻译: 提供了一种用于控制对数据库系统中数据访问的并发性的方法和系统。 该方法包括接收对数据库系统中的数据的访问的锁定请求,其中锁定请求是对包含数据的数据库系统中的页面锁定或对应的行或页面的行锁的请求。 该方法还包括识别数据库系统中包含包含数据的数据库系统中的行或页面的分区; 将锁定请求与包含包含数据的数据库系统中的行或页面的分区上的分区锁相关联; 并使用分区锁访问数据。