Assignments | Course Home | PostgreSQL | Schedule & Lecture Notes | Submit

Saint Louis University

Computer Science 371
Databases

Michael Goldwasser

Fall 2005

Dept. of Math & Computer Science


TIGER database evaluation plans

If we want to know what evaluation plan is being used by Postgres for a given query, we can ask. Specifically, we put the keyword EXPLAIN explain immediately before a query, and in this case it explains the query evaluation plan it will use if performing that query. (note that the actual query is not performed, thereby letting us see the plan even when a query is taking too long).

We will look at several examples taken from our last homework. Namely, we examine the different plans used for evaluating a possible query for questions A and E, when using any of the three distinct schemas.

Handouts:


Michael Goldwasser
CSCI 371, Fall 2005
Last modified: Friday, 02 December 2005
Assignments | Course Home | PostgreSQL | Schedule & Lecture Notes | Submit