Re: [GENERAL] nagios -- number of postgres connections

2009-06-16 Thread Jeff Frost
cardo.org/check_postgres/check_postgres.pl.html#backends -- Jeff Frost, Owner Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 916-647-6411 FAX: 916-405-4032 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: h

Re: [GENERAL] Restoring a database

2008-10-15 Thread Jeff Frost
restore. Then you simply pass it through psql like so: psql -f /tmp/postgres.backup.`hostname` postgres Hint: the above will require that the CREATE DATABASE and \connect commands for the database you want to restore are still in the file. -- Jeff Frost, Owner <[EMAIL PROTECTED]> Fro

Re: [GENERAL] Restoring a database

2008-10-15 Thread Jeff Frost
Jeff Frost wrote: > Chris Henderson wrote: > >> I backup all my databases by using pg_dumpall - pg_dumpall > >> /tmp/postgres.backup.`hostname`. It should backup four DBs: analyze, >> postgres, template0 and template1 >> I guess this backs up the schemas as

Re: [GENERAL] Fwd: Performance Tuning

2008-11-17 Thread Jeff Frost
f and reload, you can just do it in the session you're in: set work_mem=512000; create index blah blah blah; Doesn't he want to change maintenance_work_mem instead of work_mem for index creation? -- Jeff Frost, Owner <[EMAIL PROTECTED]> Frost Consulting, LLC http://w

Re: [GENERAL] Full backup - pg_dumpall sufficient?

2009-01-29 Thread Jeff Frost
; default_statistics_target --- 100 (1 row) Time: 0.318 ms jefftest=# \q discord:~ $ pg_dumpall --globals|grep default_statistics_target discord:~ $ pg_dump jefftest | grep default_statistics_target discord:~ $ -- Jeff Frost, Owner Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 916-647-6411 FAX: 916-405-4032

md5 doesn't work (Was Re: [GENERAL] Pet Peeves?)

2009-01-29 Thread Jeff Frost
passwords. So I chose md5 but it will not work, seems like a basic thing. So I am forced to use "trust". How on earth does failure of md5 to work force you to use trust? How about crypt or password (password is pretty darn simple to set up). -- Jeff Frost, Owner Frost Consulti

Re: [GENERAL] Full backup - pg_dumpall sufficient?

2009-01-29 Thread Jeff Frost
On Thu, 29 Jan 2009, Tom Lane wrote: Jeff Frost writes: Tom one thing I noticed recently is that pg_dumpall --globals doesn't seem to pick up when you alter the GUCs at the database level and neither does pg_dump. How should you dump to grab that per-database stuff? Regular pg_dumpall

Re: [GENERAL] Full backup - pg_dumpall sufficient?

2009-01-29 Thread Jeff Frost
Jeff Frost wrote: > On Thu, 29 Jan 2009, Tom Lane wrote: > >> Jeff Frost writes: >>> Tom one thing I noticed recently is that pg_dumpall --globals doesn't >>> seem to pick up when you alter the GUCs at the database level and >>> neither does pg_dump. H

Re: [GENERAL] [ADMIN] Problem with large table not using indexes (I think)

2006-12-23 Thread Jeff Frost
hen is the last time you ran ANALYZE? That's what the -z option does. If you're only vacuuming once daily, you should definitely analyze with the -z flag as well. -- Jeff Frost, Owner <[EMAIL PROTECTED]> Frost Consulting, LLC http://www.frostconsultingllc.com/ Phone: 650

Re: [GENERAL] [ADMIN] Problem with large table not using indexes (I think)

2006-12-23 Thread Jeff Frost
eek to complete. Any help would be greatly appreciated. Benjamin, When is the last time you ran ANALYZE? That's what the -z option does. If you're only vacuuming once daily, you should definitely analyze with the -z flag as well. -- Jeff Frost, Owner <[EMAIL PROT

Re: [GENERAL] [ADMIN] OUTER JOIN IS SLOW

2006-12-23 Thread Jeff Frost
http://www.postgresql.org/about/donate <http://www.postgresql.org/about/donate> ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/ab