Re: about multiprocessingmassdata - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: about multiprocessingmassdata
Date
Msg-id 4F7C10280200002500046B89@gw.wicourts.gov
Whole thread Raw
In response to about multiprocessingmassdata  (superman0920 <superman0920@gmail.com>)
List pgsql-admin
superman0920 <superman0920@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

pgsql-admin by date:

Previous
From: Bèrto ëd Sèra
Date:
Subject: Re: check_postgresql.pl for zabbix
Next
From: Matheus de Oliveira
Date:
Subject: Re: check_postgresql.pl for zabbix