Re: Query precompilation? - Mailing list pgsql-hackers

From Gunnar R|nning
Subject Re: Query precompilation?
Date
Msg-id x6g0h0rtqz.fsf@thor.candleweb.no
Whole thread Raw
In response to Query precompilation?  (Steffen Emil Thorkildsen <steffent@ifi.uio.no>)
List pgsql-hackers
Steffen Emil Thorkildsen <steffent@ifi.uio.no> writes:

> me. Are there ways to precompile a sqlquery or do other tricks to get the
> *fastest* insertion-rate, since the data-queue is growing faster than
> 200/sec... I don't care about integrity etc!
> 
> I'm using PostgreSQL 7.0.3, RH 6.2 Linux 2.2.4, and the pq library with
> gcc.
> 

Apart from the COPY mentioned by Tom Lane, you should also fo through the
obvious checklist: use -F to disable fsync, drop indexes(if possible), use
several connections(could help if you have multiprossessor system)


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: 'postgres -Q' in test/bench
Next
From: Peter Eisentraut
Date:
Subject: Re: Re[3]: Re: [PATCHES] A patch for xlog.c