pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John A Meinel <john@arbash-meinel.com>
To: Michael Stone <mstone+postgres@mathom.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Select performance vs. mssql
Date: Tue, 24 May 2005 19:38:08 -0500
Message-ID: <4293C8F0.7000909@arbash-meinel.com> (raw)
In-Reply-To: <20050525002039.GA27519@mathom.us>
References: <20050524191328.58243.qmail@web53110.mail.yahoo.com>
	<200505241635.14558.josh@agliodbs.com>
	<20050525002039.GA27519@mathom.us>

Michael Stone wrote:

> On Tue, May 24, 2005 at 04:35:14PM -0700, Josh Berkus wrote:
>
>> Pretty much.  There has been discussion about allowing index-only
>> access to "frozen" tables, i.e. archive partitions.  But it all sort
>> of hinges on someone implementing it and testing ....
>
>
> Is there any way to expose the planner estimate? For some purposes it's
> enough to just give a rough ballpark (e.g., a google-esque "results 1-10
> of approximately 10000000") so a user knows whether its worth even
> starting to page through.
>
> Mike Stone
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

Well, you could always do:

EXPLAIN SELECT ...

And then parse out the rows= in the first line.

John
=:->

Attachments:

  signature.asc (application/pgp-signature, 252B) download

view thread (17+ messages)  latest in thread

Message-ID: <4293C8F0.7000909@arbash-meinel.com>
Permalink:  ../4293C8F0.7000909@arbash-meinel.com/
Also on:    postgresql.org/message-id/4293C8F0.7000909@arbash-meinel.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: john@arbash-meinel.com, mstone+postgres@mathom.us
  Subject: Re: Select performance vs. mssql
  In-Reply-To: <4293C8F0.7000909@arbash-meinel.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