Re: [PATCHES] Reduce heap tuple header size
От | Curt Sampson |
---|---|
Тема | Re: [PATCHES] Reduce heap tuple header size |
Дата | |
Msg-id | Pine.NEB.4.43.0207011145400.408-100000@angelic.cynic.net обсуждение исходный текст |
Ответ на | Re: [PATCHES] Reduce heap tuple header size (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: [PATCHES] Reduce heap tuple header size
|
Список | pgsql-hackers |
On Fri, 28 Jun 2002, Bruce Momjian wrote: > OK, we need to vote on this patch. It reduces the tuple header by 4 > bytes (11% decrease). > > If we apply it, we will not be able to easily use pg_upgrade for 7.3 > because the on-disk table format will change. > > Votes are: > > 1) Apply it now > 2) Wait until August and see if any other table format changes are made. > 3) Delay patch until we have other table format changes. I would tend to say "apply it now" so that we can get more testing of it. It would also be good to see how else we could save space in the header, e.g., by not having an empty OID field when a table is created without OIDs. (That would double the space savings.) I tend to use ID cross reference tables quite a lot, and these tend to have a lot of rows in them. (E.g., group table has group ID; user table has user-id; a group-id + user-id table determines which users are in which groups. In one project a couple of years ago, such a table was 85 million rows.) These types of tables are typically 8 bytes of data and 40 or so bytes of overhead. Ouch! cjs -- Curt Sampson <cjs@cynic.net> +81 90 7737 2974 http://www.netbsd.org Don't you know, in this new Dark Age, we're alllight. --XTC
В списке pgsql-hackers по дате отправления: