3 ms·
Aw, just when it was getting good, it cuts off for the next episode, where the table has an index. This episode only covers what happens with no index. It gets
by Animats 11y ago
Aw, just when it was getting good, it cuts off for the next episode, where the table has an index. This episode only covers what happens with no index.
It gets really interesting when the query involves multiple tables and indices, and the query optimizer has a choice of strategies. You don't really get the benefits of a full SQL query engine until you ask it to do something hard.
- softblush 11y agoThis was already blogged elsewhere last year. Part 1) http://patshaughnessy.net/2014/10/13/following-a-select-statement-through-postgres-internals http://patshaughnessy.net/2014/10/13/following-a-select-stat... and Part 2) http://patshaughnessy.net/2014/11/11/discovering-the-computer-science-behind-postgres-indexes http://patshaughnessy.net/2014/11/11/discovering-the-compute...