pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: andremachado <andremachado@techforce.com.br>
Cc: pgsql-performance@postgresql.org
Subject: Re: firebird X postgresql 8.1.2 windows, performance comparison
Date: Tue, 14 Mar 2006 15:10:51 -0600
Message-ID: <20060314211050.GU45250@pervasive.com> (raw)
In-Reply-To: <20060314120200.M31128@techforce.com.br>
References: <20060314120200.M31128@techforce.com.br>

On Tue, Mar 14, 2006 at 09:02:49AM -0300, andremachado wrote:
> Hello,
> Attached is a file containing the problematic queries cited yesterday, with
> "explain", "\di" and "show all" outputs.
> The first one finished in almost 4 hours. Firebird for windows finished in 1m30s.
> The second one CRASHED after some hours, without finishing. The error message
> is at the file too.

PANIC: could not open file "pg_xlog/0000000100000018000000E7" (log file
24, segment 231): Invalid argument

IIRC that means you have a data corruption issue.

As for the queries, EXPLAIN ANALYZE would be in order here. It looks
like the first one might benefit from increasing work_memory.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (23+ messages)

Message-ID: <20060314211050.GU45250@pervasive.com>
Permalink:  ../20060314211050.GU45250@pervasive.com/
Also on:    postgresql.org/message-id/20060314211050.GU45250@pervasive.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: jnasby@pervasive.com, andremachado@techforce.com.br
  Subject: Re: firebird X postgresql 8.1.2 windows, performance comparison
  In-Reply-To: <20060314211050.GU45250@pervasive.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