Is that true even if that index is a descending one?
I will try to load up more dummy rows to overflow the work_mem and observe results. Sorry, my question was misleading. I do not want to use "set enable_seqscan = off" I want to be sure that when necessary (record count increases) relevant index(es) will be used. Obviously I still can't read query plan as I did not understand that operation is still in memory. Just for complete information, this is 64bit PostgreSQL 9.6.4 on Windows 10, EDB binaries. Thanks. Ertan Küçükoğlu |