From: | Tino Wildenhain <tino(at)wildenhain(dot)de> |
---|---|
To: | Leonardo Francalanci <lfrancalanci(at)simtel(dot)ie> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: space taken by a row & compressed data |
Date: | 2004-08-26 15:13:42 |
Message-ID: | 1093533221.1520.62.camel@Andrea.peacock.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Leonardo,
Am Do, den 26.08.2004 schrieb Leonardo Francalanci um 15:51:
> With mysql I know how much space a row will take, based on the datatype
> of it columns. I also (approximately) know the size of indexes.
> Is there a way to know that in postgresql?
>
> Is there a way to pack (compress) data, as with myisampack for mysql?
in the contrib dir you will find something (dbsize or so)
to check for sizes of objects (at least tables)
Due to the MVCC you happen to have multiple versions
of an updated row at the same time so the numbers arent
very exact all the time.
Large objects such as text columns are stored in compressed
form already.
HTH
Tino Wildenhain
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-08-26 15:27:48 | Re: detecting a dead db not seeming to work |
Previous Message | Jim Wilson | 2004-08-26 15:08:55 | Re: Substring RegExp Extract path |