2014-08-28 11:50 GMT+03:00 gmb <gmbou...@gmail.com>: > It seems as if the planner is not using the PRIMARY KEY as index which was > my assumption. >
Can you send `EXPLAIN (analyze, buffers)` for your query instead? It'll show exactly what's going on. -- Victor Y. Yegorov