From: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
---|---|
To: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Arbitrary tuple size |
Date: | 1999-07-09 01:12:20 |
Message-ID: | 199907090112.KAA00487@ext16.sra.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Going toward >8k tuples would be really good, but I suspect we may
some difficulties with LO stuffs once we implement it. Also it seems
that it's not worth to adapt LOs with newly designed tuples. I think
the design of current LOs are so broken that we need to redesign them.
o it's slow: accessing a LO need a open() that is not cheap. creating
many LOs makes data/base/DBNAME/ directory fat.
o it consumes lots of i-nodes
o it breaks the tuple abstraction: this makes difficult to maintain
the code.
I would propose followings for the new version of LO:
o create a new data type that represents the LO
o when defining the LO data type in a table, it actually points to a
LO "body" in another place where it is physically stored.
o the storage for LO bodies would be a hidden table that contains
several LOs, not single one.
o we can have several tables for the LO bodies. Probably a LO body
table for each corresponding table (where LO data type is defined) is
appropreate.
o it would be nice to place a LO table on a separate
directory/partition from the original table where LO data type is
defined, since a LO body table could become huge.
Comments? Opinions?
---
Tatsuo Ishii
From | Date | Subject | |
---|---|---|---|
Next Message | Vadim Mikheev | 1999-07-09 01:41:31 | Re: [HACKERS] Arbitrary tuple size |
Previous Message | Philip Warner | 1999-07-09 00:55:35 | Saving Optimizer Strategies? |