Sergey Konoplev <gray.ru@xxxxxxxxx> writes: > Is there a way (or workaround) to make it use i_test_table__created > for frequent and i_test_table__tsvector_1 for sparse words? You would need to update to 8.4 for that --- 8.3 does not have any support for statistics estimation for @@. (Whether 8.4 would get it right is a different question, but at least it has a chance. 8.3 has none.) regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general