Re: UPDATE slow - Mailing list pgsql-general

From John Smith
Subject Re: UPDATE slow
Date
Msg-id 20030204222819.16855.qmail@web40706.mail.yahoo.com
Whole thread Raw
In response to UPDATE slow  (John Smith <john_smith_45678@yahoo.com>)
Responses Re: UPDATE slow  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-general

Just tried it on Linux - still takes 5-10 seconds. Any speed-up tips? Also tried it on MySQL and the update is nearly instantaneous :(.

John

I have about 11000 rows and this query is much slower than I expected:

update stats set clicks = 123;

stats is basically just: id, clicks; with indexes on each. Right now, the query takes about 10 seconds to execute. It's also on windows 2000/cygwin (if that contributes to slowness). Is it normal for updates like this on that many rows to take a while?



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

pgsql-general by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: [INTERFACES] DBI driver and transactions
Next
From: John Smith
Date:
Subject: Re: UPDATE slow