pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: tv@fuzzy.cz
Cc: Humair Mohammed <humairm@hotmail.com>
Cc: pavel.stehule@gmail.com
Cc: pgsql-performance@postgresql.org
Subject: Re: Query Performance SQL Server vs. Postgresql
Date: Sun, 21 Nov 2010 12:16:01 -0500
Message-ID: <22586.1290359761@sss.pgh.pa.us> (raw)
In-Reply-To: <3ba1d0462bc7df1c3eb5a6d4777ce08a.squirrel@sq.gransy.com>
References: <COL115-W5250BF8BDC50E0A64DABE4A8360@phx.gbl>
	<AANLkTin+MPhrYUzkCZjdAMLhF3KKZCCuvDm0=Npf9jz7@mail.gmail.com>
	<COL115-W3987D9D7DE908C5C47792DA8380@phx.gbl>
	<AANLkTi=yFV69yNZpHzKiZRtZ0X0PtKcpOrMNNkAo+Si6@mail.gmail.com>
	<COL115-W186A7B93051E6907958ED6A8380@phx.gbl>
	<AANLkTinQmaQ5Ui-vQwfqWFtOTCj76NWFBr6VDKMdVUCs@mail.gmail.com>
	<COL115-W6193714B75A26E58EA773AA83C0@phx.gbl>
	<3ba1d0462bc7df1c3eb5a6d4777ce08a.squirrel@sq.gransy.com>

tv@fuzzy.cz writes:
>> Second, I modified the work_mem setting to 2GB (reloaded config) and I see
>> a response time of 38 seconds. Results below from EXPLAIN ANALYZE:

> How did you reload the config? Using 'kill -HUP pid'? That should work
> fine. Have you cheched 'work_mem' after the reload?

> Because the explain plans are exactly the same (structure, estimated
> costs). The really interesting bit is this and it did not change at all

>    Buckets: 1024 Batches: 64  Memory Usage: 650kB

If that didn't change, I'm prepared to bet that the OP didn't actually
manage to change the active value of work_mem.

			regards, tom lane



view thread (28+ messages)  latest in thread

Message-ID: <22586.1290359761@sss.pgh.pa.us>
Permalink:  ../22586.1290359761@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22586.1290359761@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, tv@fuzzy.cz, humairm@hotmail.com, pavel.stehule@gmail.com
  Subject: Re: Query Performance SQL Server vs. Postgresql
  In-Reply-To: <22586.1290359761@sss.pgh.pa.us>

* 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