JOQRS: Parallel Query Optimization

The goal of the project is to develop techniques for the optimization of SQL queries for parallel machines.

The project is so named since we view query optimization as consisting of two phases, JOQR (Join Ordering and Query Rewrite) followed by Scheduling . The JOQR phase transforms a query to minimize total cost. The Scheduling phase extracts parallelism and schedules machine resources to minimize response time.

Since parallel execution requires communicating data across processors, our focus is on developing algorithms that incorporate the trade-off between benefitting from parallelism and paying for communication.

Participants: Chandra Chekuri (Stanford), Susanne Englert (Tandem), Ray Glasstone (Tandem), Waqar Hasan (Stanford and HP), Rajeev Motwani (Stanford), Gio Wiederhold (Stanford)

Support: Financial support for the project is provided by Hewlett-Packard Company. Tandem Computers has provided access to a K1000 System and NonStop SQL/MP.

For more information contact Waqar Hasan (hasan@cs.stanford.edu).

Communication sure puts a dent in your speed !

Publications: