From: Laszlo Nagy <gandalf@shopzeus.com>
To: pgsql-performance <pgsql-performance@postgresql.org>
Subject: random_page_cost for tablespace
Date: Mon, 09 Nov 2009 13:58:47 +0100
Message-ID: <4AF81207.4050008@shopzeus.com> (raw)
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
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
Subject: Re: random_page_cost for tablespace
In-Reply-To: <4AF81207.4050008@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