发明名称 Relational database system and method with high availability compliation of SQL programs
摘要 An SQL program executor and an SOL compiler both include options for avoiding recompilations of execution plans whenever the runtime object and the compile time object referenced by an execution plan meet predefined schema similarity criteria. Thus, recompilation is sometimes avoided even though the compile time object has been altered or the run time object is not the same object as the compile time object. To enable late binding, schema information is stored in each execution plan for each object to be accessed by the execution plan. The stored schema information is a subset of the full object schema, and includes information about all the aspects of the objects to be accessed which must remain unchanged in order for the execution plan to be operable. While executing a compiled program, the SQL executor avoids recompilations of execution plans whenever the runtime object and the compile time object referenced by an execution plan meet predefined schema similarity criteria. When a recompilation of an SQL program is required, only the execution plans which do not meet the schema similarity criteria are recompiled if the compiled program has been assigned appropriate runtime parameters. The late binding features of the SQL executor also enable a compiled program to access objects distinct from the objects referenced by the program at compile time. Similarly, the SQL compiler includes the ability to recompile only those execution plans which do not meet the schema similarity criteria and thus are inoperable.
申请公布号 US5717911(A) 申请公布日期 1998.02.10
申请号 US19950377287 申请日期 1995.01.23
申请人 TANDEM COMPUTERS, INC. 发明人 MADRID, LOUISE M.;MEIER, RICHARD A.;PUTZOLU, FRANCO;SHARMA, SUNIL;O'SHEA, THOMAS J.;TROISI, JAMES H.;ZELLER, HANSJORG;GILBERT, GARY M.;MAIER, DONALD S.;DAVIS, ELIZABETH G.;CELIS, PEDRO
分类号 G06F12/00;G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F12/00
代理机构 代理人
主权项
地址