random_page_cost for tablespace

From: Laszlo Nagy <gandalf(at)shopzeus(dot)com>
To: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: random_page_cost for tablespace
Date: 2009-11-09 12:58:47
Message-ID: 4AF81207.4050008@shopzeus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Hi All,

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?

Thanks,

Laszlo

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Haas 2009-11-09 13:48:55 Re: random_page_cost for tablespace
Previous Message Robert Haas 2009-11-09 12:22:02 Re: CREATE TABLE slowing down significantly over time