>> I did it. It is strange, so your times are significantly slower than I >> have. Have you enabled asserts? > > The table contains 15 million rows with column values randomly > selected from the 1-350 range, with 60% within the 1-50 range, and > asserts are enabled. > Now I repeated tests on litlle bit wide table with 9 milion rows, but without success. Try to disable asserts. I am not sure, but maybe there significantlly change a speed. Pavel -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general