-
公开(公告)号:US20050160100A1
公开(公告)日:2005-07-21
申请号:US10757787
申请日:2004-01-15
申请人: Joel Eikenhorst , John Santosuosso
发明人: Joel Eikenhorst , John Santosuosso
CPC分类号: G06F17/30477 , Y10S707/99932 , Y10S707/99933 , Y10S707/99934 , Y10S707/99935
摘要: A database engine and optimizer framework includes a decoder to identify and process SQL queries or statements that reference a UDF before they are executed. Once such a statement is detected, the decoder determines if the UDF is capable of being merged into an SQL statement and, if so, performs such a merge. In some embodiments, the decoder may not use a pre-cached version of the UDF but, instead, may include a component that locates and retrieves the latest version of the UDF for use when performing the merge. Also, for UDFs that cannot easily be merged into an SQL statement, the decoder may not merge the UDF into an SQL statement but may allow the optimizer and execution engine to retrieve and execute the UDF in the usual manner.
摘要翻译: 数据库引擎和优化器框架包括一个解码器,用于识别和处理在执行UDF之前引用UDF的SQL查询或语句。 一旦检测到这样的语句,解码器确定UDF是否能够合并到SQL语句中,如果是,则执行这样的合并。 在一些实施例中,解码器可以不使用UDF的预缓存版本,而是可以包括定位和检索执行合并时使用的UDF的最新版本的组件。 此外,对于不能轻易地合并到SQL语句的UDF,解码器可能不会将UDF合并到SQL语句中,但可能允许优化器和执行引擎以通常的方式检索和执行UDF。