pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Evgeniy Shishkin <itparanoia@gmail.com>
To: acanada <acanada@cnio.es>
Cc: pgsql-performance@postgresql.org list <pgsql-performance@postgresql.org>
Subject: Re: Query taking long time
Date: Mon, 10 Mar 2014 17:45:06 +0300
Message-ID: <793A3582-3AAE-477E-8AF3-8DA2C9133E20@gmail.com> (raw)
In-Reply-To: <2A6C0749-A91C-4958-914C-847A0259CEC0@cnio.es>
References: <3AE16087-DE09-4EE0-BDF7-F2DFC68CB6CB@cnio.es>
	<FA02E6B1-9C0A-4122-8642-7D497D7DBB42@cnio.es>
	<CAHBAh5v2MoPbsY8mSwV5N9pnPXatDjPT9LWac=sk4MtO1Bf1hA@mail.gmail.com>
	<42CEB1D5-629F-490A-A99B-2E15B60CA6D1@cnio.es>
	<CAHBAh5ubgT8UZ3_5avZDzdWDqB9KR82HoXuYyyGpP9Eu=u1QDQ@mail.gmail.com>
	<964F1009-8714-4B4C-8386-45D3D7A95738@cnio.es>
	<CAHBAh5s8_Q9hnHbNgEhukS1qGuz-Gzc0NZgKfj3B0vZYx6cUWw@mail.gmail.com>
	<6F33D2DE-AC10-4B2F-9C56-BBBC77D28BE0@cnio.es>
	<CAHBAh5s2RY=OhVbhxGTnoANT-LnQeTAgZUP2GaW2mdCP5efWKA@mail.gmail.com>
	<CAEs9oFmLNV-xn0QH+x1LsYhmNmWi-AQm1aB8F5YHMso7x2YWuA@mail.gmail.com>
	<99FD8F29-2E89-4B8B-9C9F-1B2A61139064@cnio.es>
	<7BCDBA11-D581-4B9F-97EC-3F6828F203AA@gmail.com>
	<6A1EC90E-4289-46A3-924A-799C0E158ACC@cnio.es>
	<EEC7C3BA-CDE9-4E28-880E-ECF5B0E9252E@gmail.com>
	<2A6C0749-A91C-4958-914C-847A0259CEC0@cnio.es>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>


On 07 Mar 2014, at 13:18, acanada <acanada@cnio.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.

-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (25+ messages)  latest in thread

Message-ID: <793A3582-3AAE-477E-8AF3-8DA2C9133E20@gmail.com>
Permalink:  ../793A3582-3AAE-477E-8AF3-8DA2C9133E20@gmail.com/
Also on:    postgresql.org/message-id/793A3582-3AAE-477E-8AF3-8DA2C9133E20@gmail.com

 · 

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: itparanoia@gmail.com, acanada@cnio.es
  Subject: Re: Query taking long time
  In-Reply-To: <793A3582-3AAE-477E-8AF3-8DA2C9133E20@gmail.com>

* 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