|
|
|
|
|
by anyfoo
1288 days ago
|
|
Ugly. This makes me seriously wonder whether they just did not put an index in, and unfathomably many hours have been wasted on useless full table scans for something that would have been fixed with a handful of CREATE INDEX statements? Though that's a lot of conjecture, and the real answer is probably more complex. But your examples do make me wonder... |
|
Thinking about it now, it had to have read out the entire database multiple times.
Oh yeah, these reports weren't processed on the server, either. The network link on the terminal I used would be pegged at the max rate the server could read from the disk. I never really figured out what that's about.
I guess it's trying to stream large chunks of the DB to the terminal and running the query locally? No clue.