Re: [GENERAL] [EXPLAIN] Nested loops

2009-01-09 Thread Victor Nawothnig
Could you provide the output of EXPLAIN ANALYZE with your query? On Fri, Jan 9, 2009 at 7:06 PM, Reg Me Please wrote: > Hi. > > For an INNER JOINed query, EXPLAIN says that a "nested loop" is responsible > for the big part of the time needed to run. > > The 2 tables JOINed are: > > T1: multi-mill

[GENERAL] get the array value?

2008-12-25 Thread Victor Nawothnig
names ( record_id INTEGER REFERENCES records, position INTEGER NOT NULL, name TEXT NOT NULL, UNIQUE (record_id, position) ); This way you can easily search by doing something like SELECT position FROM names WHERE name = 'TEST'; Regards, Victor Nawothnig -- Sent via pgsql-general m