pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Florin Andrei <florin@andrei.myip.org>
To: pgsql-performance@postgresql.org
Subject: Re: fine tuning for logging server
Date: Wed, 30 Mar 2005 18:02:54 -0800
Message-ID: <1112234574.12159.1.camel@stantz.corp.sgi.com> (raw)
In-Reply-To: <1112233809.10313.31.camel@stantz.corp.sgi.com>
References: <1112233809.10313.31.camel@stantz.corp.sgi.com>

On Wed, 2005-03-30 at 17:50 -0800, Florin Andrei wrote:

> Function: Essentially a logging server. There are two applications (like
> syslog) on the same box that are logging to pgsql, each one to its own
> database. There are a few tables in one DB, and exactly one table in the
> other.
> Most of the time, the apps are just doing mindless INSERTs to the DB.
> Every now and then, an admin performs some SELECTs via a PHP interface.

For performance reasons, i was thinking to keep the tables append-only,
and simply rotate them out every so often (daily?) and delete those
tables that are too old. Is that a good idea?

-- 
Florin Andrei

http://florin.myip.org/




view thread (10+ messages)  latest in thread

Message-ID: <1112234574.12159.1.camel@stantz.corp.sgi.com>
Permalink:  ../1112234574.12159.1.camel@stantz.corp.sgi.com/
Also on:    postgresql.org/message-id/1112234574.12159.1.camel@stantz.corp.sgi.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: florin@andrei.myip.org
  Subject: Re: fine tuning for logging server
  In-Reply-To: <1112234574.12159.1.camel@stantz.corp.sgi.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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