Re: Query taking long time

From: Evgeniy Shishkin <itparanoia(at)gmail(dot)com>
To: acanada <acanada(at)cnio(dot)es>
Cc: "pgsql-performance(at)postgresql(dot)org list" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Query taking long time
Date: 2014-03-10 14:45:06
Message-ID: 793A3582-3AAE-477E-8AF3-8DA2C9133E20@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On 07 Mar 2014, at 13:18, acanada <acanada(at)cnio(dot)es> wrote:

> The table entity2document2 has 30GB. In consecutive runs it gets much better... 30ms apron.

So you just benchmarking your hard drives with random iops.

You need more ram and faster disks.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message acanada 2014-03-10 16:30:20 Re: Query taking long time
Previous Message Mohan Krishnan 2014-03-10 08:14:51 Re: How can I get the query planner to use a bitmap index scap instead of an index scan ?