From: Laszlo Nagy <gandalf@shopzeus.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: random_page_cost for tablespace
Date: Mon, 09 Nov 2009 17:04:04 +0100
Message-ID: <4AF83D74.4030503@shopzeus.com> (raw)
In-Reply-To: <603c8f070911090548g40d42a1erdbe262c545612739@mail.gmail.com>
References: <4AF81207.4050008@shopzeus.com>
<603c8f070911090548g40d42a1erdbe262c545612739@mail.gmail.com>
Robert Haas írta:
> 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.
>
That will be a very nice feature. Thank you! :-)
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: gandalf@shopzeus.com, robertmhaas@gmail.com
Subject: Re: random_page_cost for tablespace
In-Reply-To: <4AF83D74.4030503@shopzeus.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