Re: insert/update tps slow with indices on table > 1M rows - Mailing list pgsql-performance

From James Mansion
Subject Re: insert/update tps slow with indices on table > 1M rows
Date
Msg-id 4846F7F1.1050408@mansionfamily.plus.com
Whole thread Raw
In response to Re: insert/update tps slow with indices on table > 1M rows  (Matthew Wakeling <matthew@flymine.org>)
List pgsql-performance
Matthew Wakeling wrote:
> If you're running a "work queue" architecture, that probably means you
> only have one thread doing all the updates/inserts? It might be worth
> going multi-threaded, and issuing inserts and updates through more
> than one connection. Postgres is designed pretty well to scale
> performance by the number of simultaneous connections.
That would explain a disappointing upper limit on insert rate, but not
any sort of cliff for the rate.  Nor, really, any material slowdown, if
the single thread implies that we're stuck on round trip latency as a
material limiting factor.

James


pgsql-performance by date:

Previous
From: andrew klassen
Date:
Subject: Re: insert/update tps slow with indices on table > 1M rows
Next
From: James Mansion
Date:
Subject: Re: insert/update tps slow with indices on table > 1M rows