[PERFORM] Query performance on ILIKE with AND operator...

2005-10-10 Thread Federico Simonetti (Liveye)
Hello all, I'm encountering a quite strange performance problem. Look at the following two queries and their execution times. The only difference is the first query has OR operator and the second query has AND operator. Any ideas? Thank you in advance, Federico [FIRST QUERY: EXEC TIME 0.015

Re: [PERFORM] Query performance on ILIKE with AND operator...

2005-10-10 Thread Federico Simonetti (Liveye)
Sorry but this does not seem to improve performance, it takes even more time, have a look at these data: explain analyze SELECT * FROM ViewHttp WHERE (vchost || txcontenttype) ilike '%www.%html%' ORDER BY iDStart DESC, iSensorID DESC, iForensicID DESC, iSubID DESC OFFSET 0 LIMIT 201 "LimitÂ