首页> 外国专利> Method and apparatus for implementing parallel operations in a database management system

Method and apparatus for implementing parallel operations in a database management system

机译:在数据库管理系统中实现并行操作的方法和装置

摘要

The present invention implements parallel processing in a Database Management System. The present invention provides the ability to locate transaction and recovery information at one location and eliminates the need for read locks and two-phased commits. The present invention provides the ability to dynamically partition row sources for parallel processing. Parallelism is based on the ability to parallelize a row source, the partitioning requirements of consecutive row sources and the entire row source tree, and any specification in the SQL statement. A Query Coordinator assumes control of the processing of a entire query and can execute serial row sources. Additional threads of control, Query Server, execute a parallel operators. Parallel operators are called data flow operators (DFOs). A DFO is represented as structured query language (SQL) statements and can be executed concurrently by multiple processes, or query slaves. A central scheduling mechanism, a data flow scheduler, controls a parallelized portion of an execution plan, and can become invisible for serial execution. Table queues are used to partition and transport rows between sets of processes. Node linkages provide the ability to divide the plan into independent lists that can each be executed by a set of query slaves. The present invention maintains a bit vector that is used by a subsequent producer to determine whether any rows need to be produced to its consumers. The present uses states and a count of the slaves that have reached these states to perform its scheduling tasks.
机译:本发明在数据库管理系统中实现并行处理。本发明提供了将事务和恢复信息定位在一个位置的能力,并且消除了对读锁和两阶段提交的需求。本发明提供了动态划分行源以进行并行处理的能力。并行性基于并行化行源的能力,连续行源和整个行源树的分区要求以及SQL语句中的任何规范。查询协调器假定控制整个查询的处理,并且可以执行串行行源。控制的其他线程,查询服务器,执行并行运算符。并行运算符称为数据流运算符(DFO)。 DFO表示为结构化查询语言(SQL)语句,并且可以由多个进程或查询从站并发执行。中央调度机制(数据流调度器)控制执行计划的并行化部分,并且对于串行执行而言可能不可见。表队列用于在进程集之间分区和传输行。节点链接提供了将计划划分为独立列表的功能,每个列表可以由一组查询从设备执行。本发明维护一个位向量,该位向量被随后的生产者用来确定是否需要向其消费者生产任何行。本发明使用状态和已经达到这些状态的从站的数量来执行其调度任务。

著录项

  • 公开/公告号USRE42664E

    专利类型

  • 公开/公告日2011-08-30

    原文格式PDF

  • 申请/专利权人 GARY HALLMARK;DANIEL LEARY;

    申请/专利号US20010757399

  • 发明设计人 GARY HALLMARK;DANIEL LEARY;

    申请日2001-01-05

  • 分类号G06F17/00;G06F15/16;

  • 国家 US

  • 入库时间 2022-08-21 18:08:46

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号