pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rainer Mager <rmager@vgkk.com>
To: pgsql-admin@postgresql.org
Subject: A few misc. questions.
Date: Fri, 26 May 2000 08:45:47 +0900
Message-ID: <NEBBJBCAFMMNIHGDLFKGGEALCCAA.rmager@vgkk.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10005251721570.30801-100000@cofradia.corp.mex>

Hi all,

	I have a few miscellaneous questions. If anyone has any ideas I'd
appreciate hearing them.


1. What happens when the primary key index runs out. That is, if we use an
INT(4) for a key and we create and delete enough to reach that number then
what happens?


2. Does anyone one know a standard SQL method (that works with Postgres) to
retrieve the primary key of a newly INSERTed record? We've found one way but
it will not work with order databases since it relies on reading data from
the sequence tables.


3. Does anyone know of any way to perform a database backup/synchronization
that somehow does its work when the database is otherwise not busy? Which is
preferred, backing up the PG files or doing some sort of sync?


4. Does anyone have any advice on how often to run VACUUM? Any rules of
thumb, etc?


Thanks,

--Rainer




view thread (4+ messages)  latest in thread

Message-ID: <NEBBJBCAFMMNIHGDLFKGGEALCCAA.rmager@vgkk.com>
Permalink:  ../NEBBJBCAFMMNIHGDLFKGGEALCCAA.rmager@vgkk.com/
Also on:    postgresql.org/message-id/NEBBJBCAFMMNIHGDLFKGGEALCCAA.rmager@vgkk.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: rmager@vgkk.com
  Subject: Re: A few misc. questions.
  In-Reply-To: <NEBBJBCAFMMNIHGDLFKGGEALCCAA.rmager@vgkk.com>
  References: <Pine.LNX.4.10.10005251721570.30801-100000@cofradia.corp.mex> <NEBBJBCAFMMNIHGDLFKGGEALCCAA.rmager@vgkk.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