pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <mladen.gogala@vmsinfo.com>
To: J Sisson <sisson.j@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Postgres 9.0 has a bias against indexes
Date: Thu, 27 Jan 2011 10:57:50 -0500
Message-ID: <4D4195FE.5000506@vmsinfo.com> (raw)
In-Reply-To: <AANLkTi=tGjgSbod36g-2VinN2kz+s5jfGiuR3VbFPTti@mail.gmail.com>
References: <4D419214.8060003@vmsinfo.com>
	<AANLkTi=tGjgSbod36g-2VinN2kz+s5jfGiuR3VbFPTti@mail.gmail.com>

On 1/27/2011 10:51 AM, J Sisson wrote:
> Also, if random_page_cost is set to default (4.0), the planner will
> tend towards sequential scans.
scott=> show random_page_cost;
  random_page_cost
------------------
  1
(1 row)

scott=> show seq_page_cost;
  seq_page_cost
---------------
  2
(1 row)


-- 
Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
www.vmsinfo.com




view thread (24+ messages)  latest in thread

Message-ID: <4D4195FE.5000506@vmsinfo.com>
Permalink:  ../4D4195FE.5000506@vmsinfo.com/
Also on:    postgresql.org/message-id/4D4195FE.5000506@vmsinfo.com

 · 

reply

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: mladen.gogala@vmsinfo.com, sisson.j@gmail.com
  Subject: Re: Postgres 9.0 has a bias against indexes
  In-Reply-To: <4D4195FE.5000506@vmsinfo.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