pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bryan Murphy <bmurphy1976@gmail.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Help Me Understand Why I'm Getting a Bad Query Plan
Date: Wed, 25 Mar 2009 23:28:17 -0400
Message-ID: <12624.1238038097@sss.pgh.pa.us> (raw)
In-Reply-To: <7fd310d10903252019p22352555lc346b7532edf075c@mail.gmail.com>
References: <7fd310d10903231203r1bd37b8cn8baeadae83253f44@mail.gmail.com>
	<7fd310d10903241521v1cbf5d7aueca653e03ed98649@mail.gmail.com>
	<b1b9fac60903242004p5fe8b68fwd6f1ada767766b21@mail.gmail.com>
	<7fd310d10903242047t1a7b7daw1d61c3de7f20b7c6@mail.gmail.com>
	<49CAA85C.8080402@agliodbs.com>
	<7fd310d10903251514x1dd522f3o8d13a9218a6eda6c@mail.gmail.com>
	<11650.1238033714@sss.pgh.pa.us>
	<7fd310d10903252019p22352555lc346b7532edf075c@mail.gmail.com>

Bryan Murphy <bmurphy1976@gmail.com> writes:
> What I did was change seq_page_cost back to 1.0 and then changed
> random_page_cost to 0.5

[ squint... ]  It makes no physical sense for random_page_cost to be
less than seq_page_cost.  Please set them the same.

			regards, tom lane



view thread (14+ messages)  latest in thread

Message-ID: <12624.1238038097@sss.pgh.pa.us>
Permalink:  ../12624.1238038097@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12624.1238038097@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, bmurphy1976@gmail.com, josh@agliodbs.com
  Subject: Re: Help Me Understand Why I'm Getting a Bad Query Plan
  In-Reply-To: <12624.1238038097@sss.pgh.pa.us>

* 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