pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <robertmhaas@gmail.com>
To: Laszlo Nagy <gandalf@shopzeus.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: random_page_cost for tablespace
Date: Mon, 9 Nov 2009 08:48:55 -0500
Message-ID: <603c8f070911090548g40d42a1erdbe262c545612739@mail.gmail.com> (raw)
In-Reply-To: <4AF81207.4050008@shopzeus.com>
References: <4AF81207.4050008@shopzeus.com>

2009/11/9 Laszlo Nagy <gandalf@shopzeus.com>:
> We have a bigger table with some million rows. Number of index scans is
> high, number of seq reads is low. This table if often joined with
> others... so we want to buy a new SSD drive, create a tablespace on it
> and put this big table on it. Random read speed on SSD is identical to
> seq read. However, I need to tell the optimizer that random_page_cost is
> less for the new tablespace. Is there a way to do it?

I happen to be working on a patch for this exact feature.  However,
even assuming it gets in, that means waiting for 8.5.

...Robert



view thread (3+ messages)  latest in thread

Message-ID: <603c8f070911090548g40d42a1erdbe262c545612739@mail.gmail.com>
Permalink:  ../603c8f070911090548g40d42a1erdbe262c545612739@mail.gmail.com/
Also on:    postgresql.org/message-id/603c8f070911090548g40d42a1erdbe262c545612739@mail.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: robertmhaas@gmail.com, gandalf@shopzeus.com
  Subject: Re: random_page_cost for tablespace
  In-Reply-To: <603c8f070911090548g40d42a1erdbe262c545612739@mail.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