From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | jeremy(dot)guthrie(at)berbee(dot)com |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Question about space usage: |
Date: | 2004-01-16 19:26:18 |
Message-ID: | 5934.1074281178@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
"Jeremy M. Guthrie" <jeremy(dot)guthrie(at)berbee(dot)com> writes:
> With PostGreSQL V7.3.4, a completely reindexed and vacuumed(not-full) foot
> print was 5.2 gig. Now some of the disk space(probably 10-15 % was waiting
> in the FSM to be used). However, 7.4 comes up at 2.3 gig.
First thought is that your 7.3 DB was suffering from index bloat (I know
you said you reindexed, but did you get everything including system
indexes?). The only material space savings in 7.4 over 7.3 as far as
raw data size goes is Manfred's row header size reduction (8 bytes per
row), which wouldn't account for that kind of difference unless you had
a huge number of very narrow rows ...
> Besides the PostGreSQL change I updated my schema to pull out all OIDs
> and 'set storage external'.
Removing OIDs would save another 4 or 8 bytes per row (depending on what
hardware you're on).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2004-01-16 20:37:49 | Potential Problem with PostgeSQL performance on SuSE Linux 9.0 |
Previous Message | Stephan Szabo | 2004-01-16 18:17:50 | Re: Join optimisation Quandry |