Re: Understanding Execution Plans

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Weichhold <oliver(at)weichhold(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Understanding Execution Plans
Date: 2009-03-22 19:30:32
Message-ID: 16480.1237750232@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Oliver Weichhold <oliver(at)weichhold(dot)com> writes:
> It seems that especially the joins take extremely long on the VPS versus the
> dedicated machine but I'm not sure if that's caused by the the fact that the
> dedicated machine has 8x the amount of RAM and thus can cache much more data
> or because it has more I/O bandwidth due to the exclusive access to the
> harddisk or a combination of both. Any suggestions?

I'd guess that your virtual machine is delivering seriously bad disk
access performance. The relative lack of RAM certainly isn't helping
though; if it had more then the kernel disk buffers could mask the poor
I/O to some extent.

You could perhaps fix the blame more accurately by doing some disk
benchmarking with bonnie or a similar tool.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-03-22 19:36:55 Re: text column constraint, newbie question
Previous Message Tom Lane 2009-03-22 19:19:01 Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?