Postgresql.conf Settings

Lists: pgsql-performance
From: smiley2211 <smiley2211(at)yahoo(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Postgresql.conf Settings
Date: 2007-11-04 16:28:30
Message-ID: 13575017.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-performance


Hello all,

What are the ideal settings for values in this postgresql.conf file??? I
have tried so many parameter changes but I still can not get the 8.1.4
version to perform as well as the 7.x version...what do others have their
postgrsql.conf file values set to???

Are there any known performance degrades going from 7.x to 8.1 versions???

Thanks...Michelle
--
View this message in context: http://www.nabble.com/Postgresql.conf-Settings-tf4747486.html#a13575017
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.


From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: smiley2211 <smiley2211(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgresql.conf Settings
Date: 2007-11-04 17:37:02
Message-ID: dcc563d10711040937w2a50d74fh26531e1932a81a23@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-performance

On 11/4/07, smiley2211 <smiley2211(at)yahoo(dot)com> wrote:
>
> Hello all,
>
> What are the ideal settings for values in this postgresql.conf file??? I
> have tried so many parameter changes but I still can not get the 8.1.4
> version to perform as well as the 7.x version...what do others have their
> postgrsql.conf file values set to???

Without knowing what query you're trying to run it's hard to say.

Can you post the explain analyze output for the query in both 7.x and 8.1?

> Are there any known performance degrades going from 7.x to 8.1 versions???

The only one I know of is if you try to do something like:

select * from table1 t1 left join table2 t2 on (t1.id=t2.id) where t2.id is null


From: smiley2211 <smiley2211(at)yahoo(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgresql.conf Settings
Date: 2007-11-04 18:30:28
Message-ID: 13576252.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-performance


Scott,

Thanks for responding...I've posted all that information before and tried
all the suggestions but the query is still taking over 1 hour to complete
:(...I just wanted to possible hear what others have say 'effective cache',
'shared_buffers' etc set to...

Thanks...Marsha

Scott Marlowe-2 wrote:
>
> On 11/4/07, smiley2211 <smiley2211(at)yahoo(dot)com> wrote:
>>
>> Hello all,
>>
>> What are the ideal settings for values in this postgresql.conf file??? I
>> have tried so many parameter changes but I still can not get the 8.1.4
>> version to perform as well as the 7.x version...what do others have their
>> postgrsql.conf file values set to???
>
> Without knowing what query you're trying to run it's hard to say.
>
> Can you post the explain analyze output for the query in both 7.x and 8.1?
>
>> Are there any known performance degrades going from 7.x to 8.1
>> versions???
>
> The only one I know of is if you try to do something like:
>
> select * from table1 t1 left join table2 t2 on (t1.id=t2.id) where t2.id
> is null
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate
>
>

--
View this message in context: http://www.nabble.com/Postgresql.conf-Settings-tf4747486.html#a13576252
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.


From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: smiley2211 <smiley2211(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgresql.conf Settings
Date: 2007-11-04 19:30:12
Message-ID: 472E1DC4.6090600@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-performance

smiley2211 wrote:
> What are the ideal settings for values in this postgresql.conf file??? I
> have tried so many parameter changes but I still can not get the 8.1.4
> version to perform as well as the 7.x version...what do others have their
> postgrsql.conf file values set to???
>
> Are there any known performance degrades going from 7.x to 8.1 versions???

Before spending any more time on tuning, upgrade at the very least to
the latest 8.1.X version. Or since you're upgrading anyway, why not
upgrade to latest 8.2.X version while you're at it. There's been plenty
of planner changes between those releases.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com