|
|
|
|
|
by calpaterson
2284 days ago
|
|
Author here - I'm afraid it is hugely wasteful. The network is really nothing to do with it but instead the fact that you have to make a table read instead of an index read. This seems like a small thing but as I describe it changes the complexity class of the algorithm you have effectively written. |
|
Database performing a table read because additional columns were requested shouldn't change the complexity class if the query was otherwise successfully satisfied using the index.
I searched the article for "complexity class" and, while I found the phrase, it didn't explain much.