Quantcast
Channel: www.oaktable.net - bugs
Viewing all articles
Browse latest Browse all 64

first_rows(10)

$
0
0

No, not the 10th posting about first_rows() this week – whatever it may seem like – just an example that happens to use the “calculate costs for fetching the first 10 rows” optimizer strategy and does it badly. I think it’s a bug, but it’s certainly a defect that is a poster case for the inherent risk of using anything other than all_rows optimisation.  Here’s some code to build a couple of sample tables:

read more


Viewing all articles
Browse latest Browse all 64

Trending Articles