Hello.

It seems my quite complex query runs 10 times faster on "some_column LIKE '%test_1' " vs "some_column LIKE 'test_1' "
So I just add "%"  to the pattern...

Both query plans use same indexes.



--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

Reply via email to