On Fri, 22 Feb 2008, Kynn Jones wrote: > Hi. I'm trying to optimize...> > (Q1) SELECT a1.word, a2.word > FROM T a1 JOIN T a2 USING ( zipk ) > WHERE a1.type = <int1> > AND a2.type = <int2>;Okay, try this: Create an index on T(type, zipk), and then CLUSTER on that index...
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных