Directed Queries

Directed queries encapsulate information that the optimizer can use to create a query plan. Directed queries can serve the following goals:

Directed Query Components

A directed query pairs two components:

Tip: You can also use most optimizer hints directly in vsql. For information about these and other hints, see Hints in the SQL Reference Manual.

Vertica provides two methods for creating directed queries:

For a description of both methods, see Creating Directed Queries.

In This Section