Search Postgresql Archives

Re: Reducing memory usage of insert into select operations?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Francisco Reyes" <lists@xxxxxxxxxxxxxxxx> writes:
> What is the overhead for each AfterTriggerEvent?

On a 64-bit machine it looks like they'd cost you about 80 bytes
each :-(.  A good deal of that is palloc overhead --- I wonder if
we should get rid of the separate-palloc-for-each-event design?

> When does the memory usage for those AfterTriggerEvents gets released? At
> commit?

Whenever the check is done; you'd have to read the rules about deferred
constraints ...

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux