[ADMIN] Warm backup

2000-09-11 Thread Neil Toronto
Is there a way to do a "warm" backup on a postgres database? (That would be rolling transactions from one database into a duplicate of it on another machine.) I'd like some kind of live backup on the database with no data loss. Thanks, Neil

RE: [ADMIN] [7.0.2] rotating log files ...

2000-08-28 Thread Neil Toronto
The process still has an open file handle, and will continue to do so even after you move it. So, if your file is /var/log/messages, and you do a mv /var/log/messages /var/log/messages.old or something (I know that's stupid, but this is an example), the process will continue to write to /var/log/

RE: [ADMIN] pg_log

2000-08-09 Thread Neil Toronto
Never mind. Out of disk space. And the database is fine. Whew! -Original Message- From: Neil Toronto [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 9:49 AM To: [EMAIL PROTECTED] Subject: [ADMIN] pg_log Okay, this is weird. I've got a server-side program that op

[ADMIN] pg_log

2000-08-09 Thread Neil Toronto
Okay, this is weird. I've got a server-side program that opens a backend connection to a postgres 6.5.2 database that came with Red Hat 6.1. It issues the following statements: BEGIN; DECLARE qbdbportal CURSOR FOR SELECT next_number from counter WHERE name = 'local'; FETCH ALL IN qbdbportal; CL

[ADMIN] Cache lookup?

2000-08-02 Thread Neil Toronto
I've installed postgres 6.5.2 on Red Hat Linux 6.1 (kernel 2.2.12). Whenever I try a "\d" in psql, I get the following error: ERROR: cache lookup for userid 101 failed User 101 is postgres. This doesn't happen when I install postgres from the RPM's. I can't find this anywhere, and looking at

[ADMIN] Clustering (not indexes)

2000-07-14 Thread Neil Toronto
Has anyone clustered a Postgres database server - e.g. made it run on two seperate machines? (The ideal solution would be a high-availability cluster, where one machine could take the load of both of the other went down.) Any ideas? Thanks, Neil

RE: [ADMIN] vacuum

2000-07-13 Thread Neil Toronto
Maybe a good measure of how often the database needs to be vacuumed is how often the administrators currently vacuum it? For instance, if it's being vacuumed less than once a day, it may be perfectly acceptable to vacuum it once early in the morning when nobody is using it - assuming nobody uses

RE: [ADMIN] Startup Failure (stop failure ?)

2000-07-10 Thread Neil Toronto
That usually happens when a process is in "uninterruptible sleep." ps shows its status as D, and you can't kill it in any way. Uninterruptible sleep generally happens when a hardware driver is waiting on I/O from some hardware device. It's uninterruptible because the I/O is happening in kernel

RE: [ADMIN] Firewall setup

2000-07-06 Thread Neil Toronto
r Galbavy [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 06, 2000 9:19 AM To: Neil Toronto; [EMAIL PROTECTED] Subject: Re: [ADMIN] Firewall setup > Voila! You have yourself an ultra-secure site, as long as you properly lock > down your firewall (turn off telnet, ftp, etc.). Not trying t

RE: [ADMIN] Firewall setup

2000-07-05 Thread Neil Toronto
On the other hand, you may want to secure things a little bit more. Make yourself an ultra-locked-down firewall (like a Linux firewall doing nothing but IP masquerade - very nice) that disallows all incoming packets from its routable IP, except for those destined for port 80. Forward every conne