Re: ERROR: invalid restriction selectivity: 224359728.000000 - Mailing list pgsql-general

From Scott Marlowe
Subject Re: ERROR: invalid restriction selectivity: 224359728.000000
Date
Msg-id dcc563d10711171800q68549b79oddba3b3db3f132a@mail.gmail.com
Whole thread Raw
In response to ERROR: invalid restriction selectivity: 224359728.000000  (xeb@mail.ru)
Responses Re: ERROR: invalid restriction selectivity: 224359728.000000  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: ERROR: invalid restriction selectivity: 224359728.000000  (xeb@mail.ru)
Re: ERROR: invalid restriction selectivity: 224359728.000000  (xeb@mail.ru)
List pgsql-general
On Nov 16, 2007 11:59 AM,  <xeb@mail.ru> wrote:
> Hello!
> Process postmaster completly eat my proccessor for a long time and i see that
> message in logs.
> Does anybody know what does the subj means and why it occures ?

You're giving us WAY too little information to troubleshoot this problem.

What message in the logs?  What does top / vmstat / ps / iostat really
show?  What kind of query is running?  Have you got query logging
turned on for long running queries?  Is this actually affecting the
performance of your machine? Is the process chewing through all your
memory?  If you know what query is causing this, what does explain
analyze of the query look like?

The more info you can provide about the issue, the more we can help.
But first we have to be sure there's a problem.

If you're asking postgresql to sort 1billion rows it is going to eat
up a lot of CPU and there's little you can do about it.

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: regexp_replace() function in new version
Next
From: "Scott Marlowe"
Date:
Subject: Re: md5() sorting