首页> 外国专利> DATABASE CACHING OF QUERIES AND STORED PROCEDURES USING DATABASE PROVIDED FACILITIES FOR DEPENDENCY ANALYSIS AND DETECTED DATABASE UPDATES FOR INVALIDATION

DATABASE CACHING OF QUERIES AND STORED PROCEDURES USING DATABASE PROVIDED FACILITIES FOR DEPENDENCY ANALYSIS AND DETECTED DATABASE UPDATES FOR INVALIDATION

机译:数据库查询和存储过程的查询,使用数据库提供的功能进行依赖性分析和检测到的数据库更新以进行验证

摘要

Database data is maintained reliably and invalidated based on actual changes to data in the database. Updates or changes to data are detected without parsing queries submitted to the database. The dependencies of a query can be determined by submitting a version of the received query to the database through a native facility provided by the database to analyze how query structures are processed. The caching system can access the results of the facility to determine the tables, rows, or other partitions of data a received query is dependent upon or modifies. An abstracted form of the query can be cached with an indication of the tables, rows, etc. that queries of that structure access or modify. The tables a write or update query modifies can be cached with a time of last modification. When a query is received for which the results are cached, the system can readily determine dependency information for the query, the last time the dependencies were modified, and compare this time with the time indicated for when the cached results were retrieved. By passing versions of write queries to the database, updates to the database can be detected.
机译:根据数据库中数据的实际更改,可靠地维护数据库数据并使其无效。在不解析提交到数据库的查询的情况下,检测到数据的更新或更改。可以通过通过数据库提供的本机工具将接收到的查询的版本提交给数据库以分析查询结构的处理方式来确定查询的依赖性。缓存系统可以访问工具的结果,以确定接收到的查询所依赖或修改的表,行或其他数据分区。可以将查询的抽象形式与表,行等的指示一起缓存,以指示该结构的查询可以访问或修改。写入或更新查询修改的表可以与上次修改时间一起缓存。当接收到针对其缓存了结果的查询时,系统可以轻松确定查询的相关性信息,即上次修改相关性的时间,并将此时间与指示的时间进行比较,以获取缓存的结果。通过将写查询的版本传递到数据库,可以检测到数据库的更新。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号