发明名称 OPTIMIZED COLLECTION OF JUST-IN-TIME STATISTICS FOR DATABASE QUERY OPTIMIZATION
摘要 A system and method are provided for updating database statistics for use in generating query execution plans. A first query for a database is received, for example by a compiler, and the compiler accesses statistics associated with the first query for optimizing a query execution plan for the first query. The statistics may be accessed from a first cache. If the statistics retrieved from the first cache are determined to be stale, the system obtains updated statistics and may store them in a temporary cache. The stale statistics in the first cache are marked as invalid. Existing queries using the first cache may continue to use the first cache, while new queries may be provided with updated statistics.
申请公布号 US2009216709(A1) 申请公布日期 2009.08.27
申请号 US20080038054 申请日期 2008.02.27
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CHENG QI;HORNIBROOK JOHN FREDERICK;LAU WING YAN;POPIVANOV IVAN;QIAN XIAOYAN;SNOWBELL MICHAEL JOSHUA;STUY MICHAEL ARTHUR FRANCISCUS;ZUZARTE CALISTO PAUL
分类号 G06F7/06 主分类号 G06F7/06
代理机构 代理人
主权项
地址