Skip to Main Content
Automated Physical Database Design and Tuning
book

Automated Physical Database Design and Tuning

by Nicolas Bruno
February 2011
Intermediate to advanced content levelIntermediate to advanced
253 pages
8h 4m
English
CRC Press
Content preview from Automated Physical Database Design and Tuning
48 Automated Physical Database Design and Tuning
SELECT n name, SUM(l extendedprice*(1-l discount)) AS revenue
FROM customers, orders, lineitem, supplier, nation, region
WHERE c custkey = o custkey
AND o orderkey = l orderkey
AND l suppkey = s suppkey
AND c nationkey = s nationkey
AND s nationkey = n nationkey
AND n regionkey = r regionkey
AND r name = ’AMERICA’
AND o orderdate BETWEEN ’1997-01-01’ AND dateadd(YY, 1, ’1997-01-01’)
GROUP BY n name
ORDER BY revenue DESC
FIGURE 3.1 A synthetic query of moderate complexity.
such narrow indexes to seek the relevant tuples, followed by RID lookups to
the primary index and a final filter for the remaining predicates, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Is Database Design, Anyway?

What Is Database Design, Anyway?

C.J. Date
Physical Database Design

Physical Database Design

Sam S. Lightstone, Toby J. Teorey, Tom Nadeau

Publisher Resources

ISBN: 9781439815670