Sams Teach Yourself SQL in 24 Hours, Third Edition By Ronald R. Plew, Ryan K. Stephens
Table of Contents
Hour 17. Improving Database Performance
Q&A
Q1:
By following what I have learned about performance, what realistic performance gains, as far as data retrieval time, can I really expect to see?
A1:
Realistically, you could see performance gains from fractions of a second to minutes, hours, or even days.
Q2:
How can I test my SQL statements for performance?
A2:
Each implementation should have a tool or system to check performance. Oracle7 was used to test the SQL statements in this book. Oracle has several tools for use in checking performance. Some of these tools are the EXPLAIN PLAN, TKPROF, and SET commands. Check your particular implementation for tools that are similar to Oracle's.