发明名称 Method and apparatus for efficiently processing queries in a streaming transaction processing system
摘要 To efficiently process a parameterized query against a relational database in a streaming transaction processing system, the transaction stream is treated as a sequence of multi-record "chunks" and a single "quasi-batch" query is executed for each chunk. A specific table in the database holds the parameter values obtained from each transaction and the parameters are bound to the rest of the query by using a database join. Another embodiment uses a framework that automates the technique by accepting the parameterized query, identifying inputs and outputs, reading the stream for the parameter values and building the parameter table, converting the parameterized query into an equivalent query that contains a join against the parameter table, performing the equivalent query and inserting the resulting query values into the stream.
申请公布号 US7310638(B1) 申请公布日期 2007.12.18
申请号 US20040959737 申请日期 2004.10.06
申请人 METRA TECH 发明人 BLAIR DAVID A.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址
您可能感兴趣的专利