发明名称 AUTOMATICALLY DETERMINING OPTIMIZATION FREQUENCIES OF QUERIES WITH PARAMETER MARKERS
摘要 A method and system for automatically determining optimization frequencies of queries having one or more parameter markers. Execution plans for a query are generated and each plan is associated with one or more bind value sets. An optimization frequency is selected based on differences between pairs of execution costs where one execution cost of a pair is a cost of executing the query with a bind value set via a first execution plan and the other execution cost of the pair is a cost of optimally executing the query with the bind value set via a second execution plan. The differences are based on maximum selectivity or cardinality distances associated with the bind value sets. If none of the differences exceeds a predefined value, the query is optimized once. If at least one of the differences exceeds the predefined value, the query is reoptimized each time the query is executed.
申请公布号 US2008222092(A1) 申请公布日期 2008.09.11
申请号 US20080125146 申请日期 2008.05.22
申请人 HUESKE FABIAN;MARKL VOLKER GERHARD 发明人 HUESKE FABIAN;MARKL VOLKER GERHARD
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址