Re: random_page_cost for tablespace

From: Laszlo Nagy <gandalf(at)shopzeus(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: random_page_cost for tablespace
Date: 2009-11-09 16:04:04
Message-ID: 4AF83D74.4030503@shopzeus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Robert Haas írta:
> 2009/11/9 Laszlo Nagy <gandalf(at)shopzeus(dot)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! :-)

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2009-11-09 17:04:21 Re: CREATE TABLE slowing down significantly over time
Previous Message Robert Haas 2009-11-09 15:49:35 Re: CREATE TABLE slowing down significantly over time