发明名称 Method and apparatus for parallel processing in a database 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 structured query language (SQL) statement. A Query Coordinator (802) assumes control of the processing of an entire query and can execute serial row sources (804, 806). Additional threads of control, Query Servers, execute parallel operators. Parallel operators are called data flow operators (DFOs). A DFO is represented as 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 invention uses states and a count of the slaves that have reached these states to perform its scheduling tasks. <IMAGE>
申请公布号 GB2297180(A) 申请公布日期 1996.07.24
申请号 GB19960005418 申请日期 1994.09.09
申请人 * ORACLE CORPORATION 发明人 GARY * HALLMARK;DANIEL * LEARY
分类号 G06F9/46;(IPC1-7):G06F17/30;G06F9/45 主分类号 G06F9/46
代理机构 代理人
主权项
地址