Re: random_page_cost for tablespace

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

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.

...Robert

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Dimitri Fontaine 2009-11-09 14:34:13 Re: maintaining a reference to a fetched row
Previous Message Laszlo Nagy 2009-11-09 12:58:47 random_page_cost for tablespace