When you create a DB2 database on UNIX platforms, a default buffer pool called IBMDEFAULTBP is created that is 1000 pages with a 4k pagesize.
Buffer pool must have same pagesize.
Multiplying the two values — number of pages and the pagesize — gives the current size of the heap.
在以上代碼示例中,如果pagenumber值為2,pagesize值為15,則變量prods將包含product表中第16行到30行的產品。
You can also use the ps -Z option to get the pagesize explicitly being used by different tools, as here in Listing 8.
使用sysctlhw . pagesize能獲得硬件頁面大小。
The pagesize is available by the system call getpagesize.
If MAP_FIXED is specified, addr must be a multiple of the pagesize.
You can see that the pagesize is set to 32k instead of the default 4k, which improves the performance in the event insertion process, resulting in a memory assignment of 2500*32k + 625*32k = 100 MB.
在服務器端,使用記錄集的pagesize屬*將搜索結果分割成區塊,以限制在瀏覽器中同時顯示的結果數。