superman0920 <superman0...@gmail.com> wrote:
 
> i have a table which has 8500000 rows record, i run 30 threads to
> update the record.
> i find the database of processing data speed so slow, per thread
> updating 1000 rows need take 260s
> How to configure the database to make processing speed faster ? 
 
Performance issues are best addressed on the pgsql-performance list,
not pgsql-admin.  Before posting there, please read the following
page so that you can post enough information for people to make
useful suggestions:
 
http://wiki.postgresql.org/wiki/SlowQueryQuestions
 
For perspective, in benchmarks on my own machines I have seen
complex data-modifying transactions running at 3000 transactions per
second, and we have production systems applying millions of complex
transactions per day against tables with hundreds of millions of
rows while serving web applications running tens of millions of
queries.  So, my first thought is to wonder what the differences are
in your environment, and which of them might be causing problems. 
To figure that out, I need to know more about your environment.
 
-Kevin

-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Reply via email to