On Fri, May 12, 2006 at 12:48:52PM -0200, andremachado wrote: > Hello, > continuing the saga, > http://archives.postgresql.org/pgsql-performance/2006-04/msg00558.php , > my coleague created a test database with fake data (see below). > > The above archived message contains the the timings of firebird and postgresql. > The weird problem are the 2 queries that firebird executes in less than 2 > seconds and postgresql took almost half hour to complete at 100% cpu. How about posting EXPLAIN ANALYZE for those two queries, as well as the queries themselves? -- Jim C. Nasby, Sr. Engineering Consultant jnasby@xxxxxxxxxxxxx Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461