pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Artur Zając <azajac@ang.com.pl>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: 'Robert Haas' <robertmhaas@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Difference between explain analyze and real execution time
Date: Mon, 15 Nov 2010 22:30:32 +0100
Message-ID: <009f01cb850c$55f962e0$01ec28a0$@ang.com.pl> (raw)
In-Reply-To: <7142.1289855035@sss.pgh.pa.us>
References: <000001cb849e$1dce2720$596a7560$@ang.com.pl>
	<AANLkTim=wpohtfWkNx-=22jcagXndrfTwjvogNt9=f0D@mail.gmail.com>
	<009d01cb8505$ce738900$6b5a9b00$@ang.com.pl>
	<7142.1289855035@sss.pgh.pa.us>



> I've changed default_statistics_target to 10000 and I think that is a 
> reason.

> That's certainly going to cost you something, but this seems like a mighty
large slowdown, especially for a non-join query.  What datatype is te.idtr,
anyway?

Integer not null and primary key of t_positions table.

Table t_positions has about 1500000 records, table t_st about 130000
records.


-------------------------------------------
Artur Zajac





view thread (8+ messages)

Message-ID: <009f01cb850c$55f962e0$01ec28a0$@ang.com.pl>
Permalink:  ../009f01cb850c$55f962e0$01ec28a0$@ang.com.pl/
Also on:    postgresql.org/message-id/009f01cb850c$55f962e0$01ec28a0$@ang.com.pl

 · 

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: azajac@ang.com.pl, tgl@sss.pgh.pa.us, robertmhaas@gmail.com
  Subject: Re: Difference between explain analyze and real execution time
  In-Reply-To: <009f01cb850c$55f962e0$01ec28a0$@ang.com.pl>

* 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