pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MirrorX <mirrorx@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: index usage for min() vs. "order by asc limit 1"
Date: Fri, 18 Nov 2011 06:16:39 -0800 (PST)
Message-ID: <1321625799413-5004410.post@n5.nabble.com> (raw)
In-Reply-To: <1F701652-23B3-4350-84D8-809254B6C6B0@silentmedia.com>
References: <F954C233-D0D3-40F8-9486-E403B1DEE8B5@silentmedia.com>
	<56E9C0EA-4647-4D2E-92A7-A1EADCABE160@blighty.com>
	<1F701652-23B3-4350-84D8-809254B6C6B0@silentmedia.com>

can you run an analyze command first and then post here the results of:
select * FROM pg_stats WHERE tablename = 'delayed_jobs'; 
?

--
View this message in context: http://postgresql.1045698.n5.nabble.com/index-usage-for-min-vs-order-by-asc-limit-1-tp5002928p500441...
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.



view thread (4+ messages)

Message-ID: <1321625799413-5004410.post@n5.nabble.com>
Permalink:  ../1321625799413-5004410.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1321625799413-5004410.post@n5.nabble.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: mirrorx@gmail.com
  Subject: Re: index usage for min() vs. "order by asc limit 1"
  In-Reply-To: <1321625799413-5004410.post@n5.nabble.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