
Chapter 12. Tips to proactively prevent SQL performance problems 413
performed by CQE, while in the second case, an index probe in combination with a table
probe is executed by SQE.
Figure 12-1 Comparing the use of logical and physical files in select statements
12.2.2 Avoid using SELECT * in your select statements
When reading a record with native I/O, all fields and field values are always moved into
memory. If you have tables with a lot of columns and you only need information from a few, a
lot of unnecessary information must be loaded. With SQL, you can select only the columns
that you need to satisfy the data request.
If you specify the required ...