1.

In a _____________ operations do not wait for requests to produce tuples, but instead generate the tuples eagerly.(a) Demand-driven pipeline(b) Producer-driven pipeline(c) Demand pipeline(d) All of the mentionedThis question was addressed to me during an internship interview.This interesting question is from Evaluation of Expressions topic in portion Query Processing Techniques of Database Management

Answer»

Correct answer is (b) Producer-driven pipeline

To explain: Each operation in a producer-driven pipeline is modeled as a SEPARATE PROCESS or thread within the system that TAKES a stream of tuples from its pipelined INPUTS and GENERATES a stream of tuples for its output.



Discussion

No Comment Found

Related InterviewSolutions