Sorry to be getting in here late. Have you tried CLUSTER? If it is using an index scan, and it is slow, cluster often helps, especially when there are several duplicate matches, as there is with LIKE. Let me know how that works. > A brute-force answer would be to remove the url_url index ;-) > dunno if that would slow down other queries, however. > > regards, tom lane > -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
- [HACKERS] How to get around LIKE inefficiencies? The Hermit Hacker
- Re: [HACKERS] How to get around LIKE inefficiencies... Tom Lane
- Re: [HACKERS] How to get around LIKE inefficien... Bruce Momjian
- Re: [HACKERS] How to get around LIKE ineffi... Tom Lane
- Re: [HACKERS] How to get around LIKE in... Philip Warner
- Re: [HACKERS] How to get around LI... Bruce Momjian
- Re: [HACKERS] How to get around LIKE in... Bruce Momjian
- Re: [HACKERS] How to get around LIKE inefficien... Philip Warner
- Re: [HACKERS] How to get around LIKE ineffi... Tom Lane
- Re: [HACKERS] How to get around LIKE in... Philip Warner
- Re: [HACKERS] How to get around LI... The Hermit Hacker
- Re: [HACKERS] How to get aroun... Tom Lane
- Re: [HACKERS] How to get a... The Hermit Hacker