pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Stosberg <mark@summersault.com>
To: pgsql-performance@postgresql.org
Subject: Re: explain analyze output: vacuuming made a big difference.
Date: Tue, 06 Feb 2007 09:54:59 -0500
Message-ID: <eqa4sv$1o6h$1@news.hub.org> (raw)
In-Reply-To: <eqa40j$1let$1@news.hub.org>
References: <eq2m5o$8cr$1@sea.gmane.org>
	<20070204051644.GA3754@wolff.to>
	<eq81l5$2na3$1@news.hub.org>
	<b42b73150702051215s6fe341e2re43872ab84abb185@mail.gmail.com>
	<eq8d0b$26cd$1@news.hub.org>
	<20070206054011.GA9604@wolff.to>
	<eqa40j$1let$1@news.hub.org>

Mark Stosberg wrote:
> 
> I'm reading the explain analyze output correctly myself, nearly all of
> the time spent is related to the 'pets' table, but I can't see what to
> about it.

Something about typing that message jarred by brain to think to try:

VACUUM FULL pets;
VACUUM ANALYZE pets;

Now the new cube-based calculation benchmarks reliably faster. The old
lat/lon systems now benchmarks at 250ms, while the the new cube-based
code bechmarks at 100ms,  over a 50% savings!

That's good enough for me.

However, I'm still interested advice on the other points I snuck into my
last message about joining with ints vs varchars and best use of partial
indexes.

   Mark



Message-ID: <eqa4sv$1o6h$1@news.hub.org>
Permalink:  ../eqa4sv$1o6h$1@news.hub.org/
Also on:    postgresql.org/message-id/eqa4sv$1o6h$1@news.hub.org

 · 

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: mark@summersault.com
  Subject: Re: explain analyze output: vacuuming made a big difference.
  In-Reply-To: <eqa4sv$1o6h$1@news.hub.org>

* 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