Re: Improve MMO Game Performance - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Improve MMO Game Performance
Date
Msg-id 20121018142359.GC1982@alvh.no-ip.org
Whole thread Raw
In response to Re: Improve MMO Game Performance  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Responses Re: Improve MMO Game Performance  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Re: Improve MMO Game Performance  (Arvind Singh <arvindps@hotmail.com>)
List pgsql-general
Albe Laurenz wrote:
> Arvind Singh wrote:
> > Are there any particular settings or methods available to improve Just
> insert_table operations
>
> The obvious ones:
> - Wrap several of them in a transaction.
> - Increase checkpoint_segments.
> - Set fsync=off and hope you don't crash.

I think it would work to set asynchronous_commit=off for the
transactions that insert moves.  That way, the fsync flushes happen in
the background and are batched.  Raising wal_buffers is probably a good
idea, and keep an eye on how the walwriter is doing.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-general by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: 9.1/9.2 SERIALIZABLE: expected serialization failure between INSERT and SELECT not encountered
Next
From: Chris Angelico
Date:
Subject: Re: 9.1/9.2 SERIALIZABLE: expected serialization failure between INSERT and SELECT not encountered