pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marcus Engene <mengpg2@engene.se>
Cc: pgsql-performance@postgresql.org
Subject: Re: wildcard makes seq scan on prod db but not in test
Date: Mon, 09 May 2011 14:48:36 -0400
Message-ID: <2757.1304966916@sss.pgh.pa.us> (raw)
In-Reply-To: <4DC82D28.7020105@engene.se>
References: <4DC82D28.7020105@engene.se>

Marcus Engene <mengpg2@engene.se> writes:
> There are about 2M rows on bonddump and 4M rows on bond90.
> bonddump is on a 8MB RAM machine, bond90 is on a 72MB RAM machine.
> The table is analyzed properly both places.

I'll bet one database was initialized in C locale and the other not.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <2757.1304966916@sss.pgh.pa.us>
Permalink:  ../2757.1304966916@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2757.1304966916@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, mengpg2@engene.se
  Subject: Re: wildcard makes seq scan on prod db but not in test
  In-Reply-To: <2757.1304966916@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