stack usage in toast_insert_or_update()

Поиск
Список
Период
Сортировка
От Pavan Deolasee
Тема stack usage in toast_insert_or_update()
Дата
Msg-id 2e78013d0701300217v1a303199s5195547f518007c6@mail.gmail.com
обсуждение исходный текст
Ответы Re: stack usage in toast_insert_or_update()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
<br clear="all" />Not sure whether its worth optimizing, but had spotted this while browsing<br />the code a while
back.So thought would post it anyways.<br /><br />The stack usage for toast_insert_or_update() may run into several KBs
since<br />the MaxHeapAttributeNumber is set to a very large value of 1600. The usage<br />could anywhere between 28K
to48K depending on alignment and whether its a<br />32-bit or a 64-bit machine.<br /><br />Is it very common to have so
manyattributes in a table ? If not, would it be worth <br />to allocate only as much space as required ?<br /><br
/>Thanks,<br/>Pavan<br /><br />-- <br /><br />EnterpriseDB     <a
href="http://www.enterprisedb.com">http://www.enterprisedb.com</a>

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ken Johanson
Дата:
Сообщение: V3 protocol; way to return table aliases?
Следующее
От: Gregory Stark
Дата:
Сообщение: Bug? CREATE TABLE AS (... UNION ...)