From: | "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in> |
---|---|
To: | Manfred Koizar <mkoi-pg(at)aon(dot)at>, pgsql-hackers(at)postgresql(dot)org, pgsql-general <pgsql-general(at)postgresql(dot)org>, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Large databases, performance |
Date: | 2002-10-09 08:07:13 |
Message-ID: | 3DA43109.23106.1978CDFD@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-performance pgsql-sql |
On 9 Oct 2002 at 10:00, Manfred Koizar wrote:
> On Mon, 07 Oct 2002 15:07:29 +0530, "Shridhar Daithankar"
> <shridhar_daithankar(at)persistent(dot)co(dot)in> wrote:
> >Only worry is database size. Postgresql is 111GB v/s 87 GB for mysql.
>
> Shridhar,
>
> here is an implementation of a set of user types: char3, char4,
> char10. Put the attached files into a new directory contrib/fixchar,
> make, make install, and run fixchar.sql through psql. Then create
> your table as
> CREATE TABLE tbl (
> type int,
> esn char10,
> min char10,
> datetime timestamp,
> opc0 char3,
> ...
> rest char4,
> field0 int,
> field1 char4,
> ...
> )
>
> This should save 76 bytes per heap tuple and 12 bytes per index tuple,
> giving a database size of ~ 76 GB. I'd be very interested how this
> affects performance.
>
> Code has been tested for v7.2, it crashes on v7.3 beta 1. If this is
> a problem, let me know.
Thank you very much for this. I would certainly give it a try. Please be
patient as next test is scheuled on monday.
Bye
Shridhar
--
love, n.: When it's growing, you don't mind watering it with a few tears.
From | Date | Subject | |
---|---|---|---|
Next Message | Shridhar Daithankar | 2002-10-09 08:25:28 | Re: Large databases, performance |
Previous Message | Manfred Koizar | 2002-10-09 08:00:03 | Re: Large databases, performance |
From | Date | Subject | |
---|---|---|---|
Next Message | Shridhar Daithankar | 2002-10-09 08:25:28 | Re: Large databases, performance |
Previous Message | Manfred Koizar | 2002-10-09 08:00:03 | Re: Large databases, performance |
From | Date | Subject | |
---|---|---|---|
Next Message | Shridhar Daithankar | 2002-10-09 08:25:28 | Re: Large databases, performance |
Previous Message | Manfred Koizar | 2002-10-09 08:00:03 | Re: Large databases, performance |
From | Date | Subject | |
---|---|---|---|
Next Message | Shridhar Daithankar | 2002-10-09 08:25:28 | Re: Large databases, performance |
Previous Message | Manfred Koizar | 2002-10-09 08:00:03 | Re: Large databases, performance |