Re: postgres 8 performance

From: Pierre-Frédéric Caillaud <lists(at)boutiquenumerique(dot)com>
To: Paramveer(dot)Singh(at)trilogy(dot)com, "pgSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgres 8 performance
Date: 2004-09-07 10:22:39
Message-ID: opsdycf1necq72hf@musicbox
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Add a begin/commit on that so you dont have 10k transactions ?

BEGIN
> ********************
> for (int i=0; i < 10000; i++) {
> s.execute("insert into tab values (" + i + ",'" + i +
> "')") ;
> }
> ****************
COMMIT

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Mair 2004-09-07 10:27:59 Re: postgres 8 performance
Previous Message Paramveer.Singh 2004-09-07 10:12:02 postgres 8 performance