Re: [ADMIN] dbsize & pg_dump

2006-04-26 Thread Jim C. Nasby
On Tue, Apr 25, 2006 at 04:47:53PM -0500, Jason Minion wrote: > Usually a dump is significantly smaller than a live database due to > space taken up by indexes and discarded tuples from MVCC. If it's > significantly smaller you may also want to take a look at your vacuuming > procedure. Between ex

Re: [ADMIN] dbsize & pg_dump

2006-04-25 Thread Jason Minion
PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mcelroy, tim Sent: Tuesday, April 25, 2006 4:06 PM To: 'pgsql-admin@postgresql.org' Subject: Re: [ADMIN] dbsize & pg_dump Please disregard this question. I'm using pg_dump -F

Re: [ADMIN] dbsize & pg_dump

2006-04-25 Thread mcelroy, tim
x27;pgsql-admin@postgresql.org' Subject: [ADMIN] dbsize & pg_dump   Good afternoon, Probably an easy question but why are the file sizes differ so much between these two tools? For example:  A backup using pg_dump of our largest DB creates a file 384MB in size Using the following

[ADMIN] dbsize & pg_dump

2006-04-25 Thread mcelroy, tim
Title: dbsize & pg_dump Good afternoon, Probably an easy question but why are the file sizes differ so much between these two tools? For example:  A backup using pg_dump of our largest DB creates a file 384MB in size Using the following SQL code utilizing dbsize I get the following: FIX

Re: [ADMIN] dbsize

2002-12-30 Thread Andreas Schmitz
Hi, > Hm. I cannot see anything wrong with the source code for database_size. > I notice though that it depends on vsnprintf, which is known to be buggy > in some releases of Solaris. Did you use the patch suggested in the > last entry of doc/FAQ_Solaris? > I can't find any infos about patches

Re: [ADMIN] dbsize

2002-12-27 Thread Tom Lane
Andreas Schmitz <[EMAIL PROTECTED]> writes: > I don't know if dbsize a part of the admin business here. I couln't find any > contact infos in the README or the source. I have a 7.3 on solaris 8. When I > try to execute "SELECT database_size('newsdb');" I get the following error > message: > ERR

Re: [ADMIN] dbsize

2002-12-27 Thread Campano, Troy
ECTED]] Sent: Friday, December 27, 2002 9:37 AM To: [EMAIL PROTECTED] Subject: [ADMIN] dbsize Hello *, I don't know if dbsize a part of the admin business here. I couln't find any contact infos in the README or the source. I have a 7.3 on solaris 8. When I try to execute "SELECT d

[ADMIN] dbsize

2002-12-27 Thread Andreas Schmitz
Hello *, I don't know if dbsize a part of the admin business here. I couln't find any contact infos in the README or the source. I have a 7.3 on solaris 8. When I try to execute "SELECT database_size('newsdb');" I get the following error message: ERROR: MemoryContextAlloc: invalid request si