Re: How to make update rapidly?

From: "Webb Sprague" <webb(dot)sprague(at)gmail(dot)com>
To: hewei <heweiweihe(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to make update rapidly?
Date: 2008-02-20 03:56:03
Message-ID: b11ea23c0802191956w436d9f8en5104edd1906b0c8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Post the table, the query, and the explain output, and then we can help you.

On Feb 19, 2008 7:38 PM, hewei <heweiweihe(at)gmail(dot)com> wrote:
> Hi,Every body;
> I have a table contains 100,000 rows, and has a primary key(int).
> Now ,I need to execute sql command like "update .......... where id=*"(id
> is primary key).
> I expect execute 1200-1600 sqlcommands per second(1200-1600/s).
> In test,when the id increase by degrees in sqlcommands, then I can reach
> the speed(1600/s);
> But in fact , the id in sqlcommands is out of rule, then the speed is
> very slow, just 100/s.
> what can i do? can you help me ?
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hewei 2008-02-20 04:03:20 Re: How to make update rapidly?
Previous Message hewei 2008-02-20 03:38:50 How to make update rapidly?