Description:
The TransactionBufferMemory parameter is used to control the size of the
c_theAttributeBufferPool buffer pool in DBTC. The requested size of buffer memory is
divided by the buffer size to determine how many elements the buffer should have.
Currently the calculation divides the supplied byte size by the buffer size in words.
This means that 4 times as many buffers are allocated as requested. For the default
value of 1MB, this results in the allocation of ~4MB of buffers.
How to repeat:
Examine code / could adjust parameter and attempt to observe effect on NDBD memory
footprint.
Suggested fix:
Modify calculation to divide by bytesize and evaluate whether it is then necessary to
increase the default to allocate more buffers. Inform users so that they can re-evaluate
their settings, if they are non default.