Re: Query sometimes takes down server

From: "marcin mank" <marcin(dot)mank(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Query sometimes takes down server
Date: 2009-01-16 02:18:00
Message-ID: b1b9fac60901151818t43cd690cob79198b12b8649f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I have a dynamically built query that will periodically(2 times a day and becoming more frequent) make my server totally unresponsive.

does this query involve more than geqo_threshold (default 12) tables?
If so, this most probably is geqo (genetic query optimizer) kicking
in. Try to fiddle with some geqo parameters (raising geqo_effort is
the first choice).

Greetings
Marcin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dhaval Shah 2009-01-16 02:18:12 Question regarding Postgres + OpenSSL + FIPs
Previous Message Ivan Sergio Borgonovo 2009-01-16 01:49:25 HTML email (was: Re: Vacuum and Reindex hangs)