Re: Fixed length data types issue
От | Gregory Stark |
---|---|
Тема | Re: Fixed length data types issue |
Дата | |
Msg-id | 87bqpsc5bd.fsf@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: Fixed length data types issue (Gregory Stark <stark@enterprisedb.com>) |
Ответы |
Re: Fixed length data types issue
|
Список | pgsql-hackers |
Gregory Stark <stark@enterprisedb.com> writes: > Martijn van Oosterhout <kleptog@svana.org> writes: > >> So you end up storing the typmod in the Datum itself, which brings you >> right back to varlena. > > Not really since the Datum doesn't actually end up on disk in the case of > pass-by-reference. Just brain storming here. But what happens if we make Datum 2*sizeof(pointer) and stored the typmod and/or attlen in it? Obviously it means the memory use goes up dramatically. But the disk i/o could potentially be reduced dramatically as well. Does it let us do anything else we've been dreaming of but not thought doable? Does it cause any fundamental problems? -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: