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