Re: [INTERFACES] Performance

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Steven Bradley <sbradley(at)llnl(dot)gov>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Performance
Date: 1999-06-24 01:21:15
Message-ID: 3771880B.5109FA39@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Steven Bradley wrote:
>
> I have simplified the problem down to a single (non-indexed) table with
> about a half-dozen columns (int4, timestamp, varchar, etc.) I wrote a
> quick and dirty C program which uses the libpq interface to INSERT records
> into the table in real-time. The best performance I could achieve was on
> the order of 15 inserts per second. What I need is something much closer
> to 100 inserts per second.

Put INSERTs inside BEGIN/END to execute them in single transaction.

Vadim

In response to

  • Performance at 1999-06-23 22:05:09 from Steven Bradley

Browse pgsql-interfaces by date

  From Date Subject
Next Message Thomas Lockhart 1999-06-24 02:02:23 Re: [INTERFACES] Performance
Previous Message John Huttley 1999-06-24 01:09:04 Re: [INTERFACES] C tuples (For V7 please, hackers!)