System and method to optimize database access by synchronizing state based on data access patterns
    1.
    发明申请
    System and method to optimize database access by synchronizing state based on data access patterns 审中-公开
    通过基于数据访问模式同步状态来优化数据库访问的系统和方法

    公开(公告)号:US20060230019A1

    公开(公告)日:2006-10-12

    申请号:US11102325

    申请日:2005-04-08

    IPC分类号: G06F17/30

    摘要: A method, apparatus, and computer program product in a data processing system for avoiding excessive database round trips. A list of a database object fields affected by queries is compiled by analyzing instructions in a database query language. A list of database object fields affected by queries is also compiled by analyzing database object relationships. Using the combined list of affected database object fields, when a find operation is invoked, a determination is made as to whether the affected database object fields have been modified. Next, if the affected database object fields have been modified, database updates are generated for the affected database objects containing the affected database object fields. After that, the database updates are executed after all affected database object fields have been processed. Finally, the queries are submitted.

    摘要翻译: 数据处理系统中的方法,装置和计算机程序产品,用于避免过多的数据库往返。 通过分析数据库查询语言中的指令来编译受查询影响的数据库对象字段的列表。 受查询影响的数据库对象字段的列表也通过分析数据库对象关系进行编译。 使用受影响的数据库对象字段的组合列表,当调用查找操作时,确定受影响的数据库对象字段是否已被修改。 接下来,如果受影响的数据库对象字段已被修改,则会为包含受影响的数据库对象字段的受影响的数据库对象生成数据库更新。 之后,在处理所有受影响的数据库对象字段之后执行数据库更新。 最后,提交查询。