首页> 外国专利> Evaluation strategy for execution of SQL queries involving recursion and table queues

Evaluation strategy for execution of SQL queries involving recursion and table queues

机译:执行涉及递归和表队列的SQL查询的评估策略

摘要

The present invention provides an evaluation strategy for the execution of SQL queries involving recursion and table queues in a relational database management system. The table queue is established for the query in the memory of the computer, and tuples are generated by tuple-producing operators in the query for storage into the table queue. As operators of the query read the stored tuples from the table queue, a first end-of-file condition, termed a Temporary End-Of-File, occurs when all of the tuples currently stored in the table queue have been retrieved and control is returned to the operator reading from the table queue. A retry request for additional tuples is generated by the operator through the table queue to the tuple-producing operators. If the tuple-producing operators can generate additional tuples, then these additional tuples are stored into the table queue and control is returned to the operator reading from the table queue in response to the retry request. If the tuple-producing operators cannot generate the additional tuples, then a second end-of-file condition, termed a Permanent End-Of-File, occurs and control is returned to the operator reading from the table queue.
机译:本发明提供了一种用于在关系数据库管理系统中执行涉及递归和表队列的SQL查询的评估策略。表队列是在计算机内存中为查询建立的,元组由查询中的元组生成运算符生成,并存储到表队列中。当查询的运算符从表队列中读取存储的元组时,当当前存储在表队列中的所有元组都已被检索并进行控制时,就会发生称为文件临时结束的第一个文件结束条件。返回给操作员从表队列中读取。操作员通过表队列向生成元组的操作员生成对其他元组的重试请求。如果产生元组的运算符可以生成其他元组,则将这些其他元组存储到表队列中,并响应于重试请求,将控制权返回给运算符,并从表队列中读取。如果产生元组的运算符无法生成其他元组,则发生第二个文件结束条件,称为永久文件结束,并且控制权返回给从表队列读取的运算符。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号