Re: [PERFORM] increasing query time after analyze

2014-02-12 Thread Pavel Stehule
2014-02-12 9:58 GMT+01:00 Katharina Koobs : > explain.depesz.com/s/HuZ fast query is fast due intesive use a hashjoins but you can see Hash Left Join (cost=9343.05..41162.99 rows=6889 width=1350) (actual time=211.767..23519.296 rows=639137 loops=1) a estimation is out. Is strange so after AN

[PERFORM] increasing query time after analyze

2014-02-12 Thread Katharina Koobs
Hi, We have still problems with our query time. After restoring the database the query time is about one minute. After an analyze the query time is about 70 minutes. We could discover one table which cause the problem. After analyzing this table the query time increases. We have made an explain p

Re: [PERFORM] increasing query time after analyze

2014-02-05 Thread Claudio Freire
On Wed, Feb 5, 2014 at 8:50 AM, Katharina Koobs wrote: > Hi, > > > > We have a PostgreSQL DB, version 9.3 on a Suse Linux system. > > We ran the update from postgresql 8.4 to 9.3. > > After importing the database the query time of one sql query is about 30 > sec. > > After ANALYZE the DB the query

Re: [PERFORM] increasing query time after analyze

2014-02-05 Thread Pavel Stehule
Hello 2014-02-05 Katharina Koobs : > Hi, > > > > We have a PostgreSQL DB, version 9.3 on a Suse Linux system. > > We ran the update from postgresql 8.4 to 9.3. > > After importing the database the query time of one sql query is about 30 > sec. > > After ANALYZE the DB the query time of this sql

[PERFORM] increasing query time after analyze

2014-02-05 Thread Katharina Koobs
Hi, We have a PostgreSQL DB, version 9.3 on a Suse Linux system. We ran the update from postgresql 8.4 to 9.3. After importing the database the query time of one sql query is about 30 sec. After ANALYZE the DB the query time of this sql query is about 45 minutes. We can see that after analyzing t