pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Disk usage in postgresql 8.1.4
3+ messages / 3 participants
[nested] [flat]

* Disk usage in postgresql 8.1.4
@ 2006-08-06 23:42 Geoff Parker <geoffparkernews@yahoo.ca>
  2006-08-07 01:29 ` Re: Disk usage in postgresql 8.1.4 Michael Fuhr <mike@fuhr.org>
  2006-08-08 16:47 ` Re: Disk usage in postgresql 8.1.4 Jim Nasby <jnasby@pervasive.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Geoff Parker @ 2006-08-06 23:42 UTC (permalink / raw)
  To: pgsql-admin

Hi,
 I've got a database with about 155GB of binary data, however when I run the unix utility df, it reports only 60GB of disk space is being used.   I've extracted random samples of data from the database, and it all appears correct, so I presume it's not corrupt.   Can anyone tell me whether there's some sort of disk compression happening with large objects?  
 
 Has anyone else seen this behaviour?
 
 # df
 Filesystem           1K-blocks      Used Available Use% Mounted on
 /dev/mapper/VolGroup01-ATV_PGSQL
                      480678616  59285468 396976076  13% /var/lib/pgsql
 
 This is Postresql version 8.1.4 on a slightly modified version of RHEL 4 (2.6.17 kernel).
 
 Thanks,
 Geoff.
 
 

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Disk usage in postgresql 8.1.4
  2006-08-06 23:42 Disk usage in postgresql 8.1.4 Geoff Parker <geoffparkernews@yahoo.ca>
@ 2006-08-07 01:29 ` Michael Fuhr <mike@fuhr.org>
  1 sibling, 0 replies; 3+ messages in thread

From: Michael Fuhr @ 2006-08-07 01:29 UTC (permalink / raw)
  To: Geoff Parker <geoffparkernews@yahoo.ca>; +Cc: pgsql-admin

On Sun, Aug 06, 2006 at 04:42:47PM -0700, Geoff Parker wrote:
>  I've got a database with about 155GB of binary data, however
> when I run the unix utility df, it reports only 60GB of disk space
> is being used.   I've extracted random samples of data from the
> database, and it all appears correct, so I presume it's not corrupt.
> Can anyone tell me whether there's some sort of disk compression
> happening with large objects?

Large objects are stored in pg_largeobject as chunks of bytea data,
which can be compressed.

-- 
Michael Fuhr



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Disk usage in postgresql 8.1.4
  2006-08-06 23:42 Disk usage in postgresql 8.1.4 Geoff Parker <geoffparkernews@yahoo.ca>
@ 2006-08-08 16:47 ` Jim Nasby <jnasby@pervasive.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Jim Nasby @ 2006-08-08 16:47 UTC (permalink / raw)
  To: Geoff Parker <geoffparkernews@yahoo.ca>; +Cc: pgsql-admin

On Aug 6, 2006, at 6:42 PM, Geoff Parker wrote:
> Hi,
> I've got a database with about 155GB of binary data, however when I  
> run the unix utility df, it reports only 60GB of disk space is  
> being used.   I've extracted random samples of data from the  
> database, and it all appears correct, so I presume it's not  
> corrupt.   Can anyone tell me whether there's some sort of disk  
> compression happening with large objects?
>
> Has anyone else seen this behaviour?
>
> # df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/VolGroup01-ATV_PGSQL
>                      480678616  59285468 396976076  13% /var/lib/pgsql
>
> This is Postresql version 8.1.4 on a slightly modified version of  
> RHEL 4 (2.6.17 kernel).

You sure you're not using tablespaces?
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2006-08-08 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-08-06 23:42 Disk usage in postgresql 8.1.4 Geoff Parker <geoffparkernews@yahoo.ca>
2006-08-07 01:29 ` Michael Fuhr <mike@fuhr.org>
2006-08-08 16:47 ` Jim Nasby <jnasby@pervasive.com>

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