Book Contents

Book Index

Next Topic

Home

Prepare a Sample Query Script

Prepare an SQL script file containing a series of queries (SELECT statements) that represent, as accurately as possible, your actual database workload. These queries are used by the Database Designer to create projections.

Make sure that each query ends with a semicolon.

How Many Queries

Provide as many sample queries as possible (up to 30,000). The Database Designer requires a reasonably accurate representation of your query workload in to produce an optimal physical schema design.

Types of Queries

Make sure to include your most frequently executed, resource-intensive, and time-critical queries.

Where to Get Queries

As source material, you can use: