Re: number of tables limited over time (not simultaneous)?

From: Richard Huxton <dev(at)archonet(dot)com>
To: dave crane <lists(at)slipt(dot)net>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: number of tables limited over time (not simultaneous)?
Date: 2007-02-21 09:36:03
Message-ID: 45DC1283.5050807@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

dave crane wrote:
> We've settled upon a method for gathering raw statistics from widely
> scattered data centers of creating one sequence per-event, per minute.

> Aside from security concerns, did we miss something? Should I be
> worried we're going through ~60,000 sequences per day?

Well, you'll want to make sure you're vacuuming the system tables
regularly. And you might want to make sure your code can retry creating
the sequences once OIDs wrap around.

Not sure I'd have thought of doing things this way - I'd probably have
totalled figures outside the database and then summarised them once a
minute.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2007-02-21 09:50:37 Re: Odd behaviour of timestamptz
Previous Message Richard Huxton 2007-02-21 09:31:40 Re: REVOKE ALL