Hi,
running DB2 v9 FP2 on Linux/Intel I have executed command: "free -m" to get data about physical memory in mega bytes.
Code:
total used free shared buffers cached
Mem: 5067 2010 3057 0 25 1591
-/+ buffers/cache: 393 4674
Swap: 2055 0 2055
The above command shows there is 3057 MB free memory. I have tried to create 524,288 of 4 kB pages to assign 2 GB of memory to bufferpool:
Code:
DB2 ALTER BUFFERPOOL IBMDEFAULTBP SIZE 524288
I got warring:
Code:
SQL20189W The buffer pool opeartion (CREATE/ALTER) will not take effect until
the next database startup due to insufficient memory. SQLSTATE=01657
Any idea why I get this warning if there is enough free memory?
BTW, I could create buffer pool with 128,000 x 4 kB pages = 500 MB. Creating bigger bufferpool always returns above warning.
Regards,
Grofaty