oltpbench icon indicating copy to clipboard operation
oltpbench copied to clipboard

statements: SELECT * (is evil)

Open grooverdan opened this issue 8 years ago • 0 comments

Select * returns the entire row. In many statements here the entire row isn't needed. By requesting more data than is needed, optimizations where the data can be returned by the index or less data can be returned is lost.

The existing statements should be validated to see which rows are actually needed.

grooverdan avatar Mar 29 '17 02:03 grooverdan