pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
transaction time and log analysis
2+ messages / 2 participants
[nested] [flat]

* transaction time and log analysis
@ 2010-10-18 21:12  Kasia Tuszynska <ktuszynska@esri.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Kasia Tuszynska @ 2010-10-18 21:12 UTC (permalink / raw)
  To: pgsql-admin

Hi Everybody,
Two questions:

1. Is there anything I could do to in postgresql.conf file to speed up the time it takes postgres to commit a transaction?
2. Is there anything better than pg_fouine to analyze logs?

Thank you,
Sincerely,
Kasia 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: transaction time and log analysis
@ 2010-10-18 23:09  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Kasia Tuszynska <ktuszynska@esri.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2010-10-18 23:09 UTC (permalink / raw)
  To: Kasia Tuszynska <ktuszynska@esri.com>; +Cc: pgsql-admin

Kasia Tuszynska <ktuszynska@esri.com> writes:
> 1. Is there anything I could do to in postgresql.conf file to speed up the time it takes postgres to commit a transaction?

If you want the traditional guarantee that "commit" means "your data is
safely down on persistent storage", there's not much you can do except
buy better storage hardware.  A disk controller card with battery-backed
cache can be a relatively inexpensive solution.  Try the pgsql-performance
archives for more information than you need on that topic.

If you're willing to live with weaker guarantees, consider disabling
synchronous_commit.

> 2. Is there anything better than pg_fouine to analyze logs?

No idea on that one.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-10-18 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-10-18 21:12 transaction time and log analysis Kasia Tuszynska <ktuszynska@esri.com>
2010-10-18 23:09 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox