From: Andrzej Zawadzki <zawadaa@wp.pl>
To: Craig Ringer <ringerc@ringerc.id.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Strange behavior after upgrade from 9.0 to 9.2
Date: Mon, 08 Oct 2012 13:40:31 +0200
Message-ID: <5072BBAF.5050200@wp.pl> (raw)
In-Reply-To: <5072A7B3.8090001@ringerc.id.au>
References: <50728C3E.9050904@wp.pl>
<5072A7B3.8090001@ringerc.id.au>
On 08.10.2012 12:15, Craig Ringer wrote:
> On 10/08/2012 04:18 PM, Andrzej Zawadzki wrote:
>> Hi!
>>
>> After upgrade (dump/restore/analyze) query (below) after some time is
>> killed by kernel.
>
> What's `shared_buffers`? `work_mem`?
shared_buffers = 64MB
work_mem = 48MB
effective_cache_size = 512MB
Nothing changed. Config is pretty much similar.
I noticed the correctness: when table
verification_waiting_credit
does not contain any record of user_id = 'value' then query execute very
fast.
>
> https://wiki.postgresql.org/wiki/Server_Configuration
>
> https://wiki.postgresql.org/wiki/Slow_Query_QuestionsI understand but server is the same - KVM image.
Postgresql engine is different.
Table kredyty is big - contains ~3M records.
verification_waiting_credit is small - ~40 records.
Do you need schemas? I don't know if I can post here... :-(
--
Andrzej Zawadzki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: zawadaa@wp.pl, ringerc@ringerc.id.au
Subject: Re: Strange behavior after upgrade from 9.0 to 9.2
In-Reply-To: <5072BBAF.5050200@wp.pl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox