473,783 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

configuration advisor on buffer pool size

hi, we are using db2 udb v8.1 on windows, i try to use the
configuration advisor to get recommendation on the parameter setting,
at first, i give the target memory for DB2 is 80% of the physical
memory, it gives me a recommendation on bufferpool size, so i accept
the change, later on , i found that i gave too much memory to DB2, so
i change the target lower, but the recommendation doesn't change the
buffer pool size accordingly, why is that? thanks
Nov 12 '05
36 4361
That the buffer pool value 4000000 (4M pages ???) does not change after
you new specs. has me confused.
Is it really 4,000,000 pages??? That really is 16 GB of memory and
you'd absolutely need t run on a 64 bit system for this.

If you set it at 4MB or 1000 pages then it should not change even if you
only claim 40% of memeory on the second run of your advisor.

Torestate, I do not think that the Advisor changes the 80% claim when it
starts for every time it runs. I do not think that there's a paramater
that will remeber you chose 60% one time, 40% another and so on. It
just comes up with 805 each time and lets you reset.
HTH, Pierre.

xixi wrote:
when i use the configuration advisor, the first screen come up with a
slide bar as target memory 80%, then i take it and finish the rest of
the steps, it gives me recommendation on the bufferpool size , e.g.
4000000 (about 2g) , so i accept it. later on the same server(windows
2003) has to hold app server and the database server at the same time,
and also i have two databases being used under same instance, so i
decided to use the configuration advisor change the target memory, the
first screen still come up with 80% target, i slide the bar to use
40%, finish the rest of steps, then i saw the recommendation for the
bufferpool size doen't change , still 4000000, that is why confusing
me. why the new update on the memory is not reflected?


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #11
sorry , it should be 400,000 pages, we do run on a 64bit machine.

i change the memory slide bar to 40% of target, the new bufferpool
size doen't change for recommendation, no matter i start the DB2 or
not, i have to manually do the change for bufferpool size i guess. it
is inconvenient.
Nov 12 '05 #12
sorry , it should be 400,000 pages, we do run on a 64bit machine.

i change the memory slide bar to 40% of target, the new bufferpool
size doen't change for recommendation, no matter i start the DB2 or
not, i have to manually do the change for bufferpool size i guess. it
is inconvenient.
Nov 12 '05 #13
Xixi, it is working as expected but not as you expect.
Changing the slider on the Advisor from 80% to 40% affects not only the
size of buffer pools.

What the % means is that you are reserving 40%(or 80%, 60%, ...) for all
of the DB Global Shared Memory.
This includes the DB Heap, Package Cache, Catalog Cache, Locklist,
SortHeapTrhresh old_Share, and so on.
So for a 400,000 pages buffer pool aggregate, you need a DB Heap of
about 16,000 pages. The rest should total 10,000 pages at the very most
which gives you a Global Shared Memory request of about 430,000 pages,
or a little over 1.75 GB for Global Shared Memory.
If you set aside 20% of memory for the OS and its Services plus the DAS
and the instance, and then 40% for Global Shared Memory, then the
leftover 40% will be used for the coordinator agents of your connections.

From prior docs. in tuning, a rough rule of thumb is to allocate 20%
for OS and stuff, then use 65% of leftover memory for buffer pools in an
OLTP system, Or, 50% for buffer pools in a DSS system, in this case the
last 10% should be given to the sortheaps.

HTH, Pierre.

xixi wrote:
sorry , it should be 400,000 pages, we do run on a 64bit machine.

i change the memory slide bar to 40% of target, the new bufferpool
size doen't change for recommendation, no matter i start the DB2 or
not, i have to manually do the change for bufferpool size i guess. it
is inconvenient.


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #14
Xixi, it is working as expected but not as you expect.
Changing the slider on the Advisor from 80% to 40% affects not only the
size of buffer pools.

What the % means is that you are reserving 40%(or 80%, 60%, ...) for all
of the DB Global Shared Memory.
This includes the DB Heap, Package Cache, Catalog Cache, Locklist,
SortHeapTrhresh old_Share, and so on.
So for a 400,000 pages buffer pool aggregate, you need a DB Heap of
about 16,000 pages. The rest should total 10,000 pages at the very most
which gives you a Global Shared Memory request of about 430,000 pages,
or a little over 1.75 GB for Global Shared Memory.
If you set aside 20% of memory for the OS and its Services plus the DAS
and the instance, and then 40% for Global Shared Memory, then the
leftover 40% will be used for the coordinator agents of your connections.

From prior docs. in tuning, a rough rule of thumb is to allocate 20%
for OS and stuff, then use 65% of leftover memory for buffer pools in an
OLTP system, Or, 50% for buffer pools in a DSS system, in this case the
last 10% should be given to the sortheaps.

HTH, Pierre.

xixi wrote:
sorry , it should be 400,000 pages, we do run on a 64bit machine.

i change the memory slide bar to 40% of target, the new bufferpool
size doen't change for recommendation, no matter i start the DB2 or
not, i have to manually do the change for bufferpool size i guess. it
is inconvenient.


--
Pierre Saint-Jacques - Reply to: sesconsjunk at attglobaljunk dot com
Reconstruct address: Remove the two junk and replace at and dot by
their symbols.
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.

Nov 12 '05 #15
thanks for your quick reply to my email. i think what i try to say is
at the beginning, i want to give DB2 server 80% of memory (includes
you said global memory, db heap, .....), so it gives me
suggestion on the bufferpool size to 400000 pages, and some other
changes on locklist, package heap too, so i accept the changes, now
the bufferpool size is 400000 pages, but it gives me problem since i
have a application server hold on the same machine, i need to give it
memory too, so i decide i should let DB2 has only 40% of total memory,
give 40% memory to application server,
then i change only give DB2 to 40% of memory, but it gives me some
advice on logfilesize change, package cache size, but no advise on the
bufferpool size, so when i look at by control center, the size is
unchanged , i have to manually do it. shouldn't be advise change from
the advisor after i gives different memory request?
Nov 12 '05 #16
thanks for your quick reply to my email. i think what i try to say is
at the beginning, i want to give DB2 server 80% of memory (includes
you said global memory, db heap, .....), so it gives me
suggestion on the bufferpool size to 400000 pages, and some other
changes on locklist, package heap too, so i accept the changes, now
the bufferpool size is 400000 pages, but it gives me problem since i
have a application server hold on the same machine, i need to give it
memory too, so i decide i should let DB2 has only 40% of total memory,
give 40% memory to application server,
then i change only give DB2 to 40% of memory, but it gives me some
advice on logfilesize change, package cache size, but no advise on the
bufferpool size, so when i look at by control center, the size is
unchanged , i have to manually do it. shouldn't be advise change from
the advisor after i gives different memory request?
Nov 12 '05 #17
"xixi" <da****@yahoo.c om> wrote in message
news:c0******** *************** ***@posting.goo gle.com...
thanks for your quick reply to my email. i think what i try to say is
at the beginning, i want to give DB2 server 80% of memory (includes
you said global memory, db heap, .....), so it gives me
suggestion on the bufferpool size to 400000 pages, and some other
changes on locklist, package heap too, so i accept the changes, now
the bufferpool size is 400000 pages, but it gives me problem since i
have a application server hold on the same machine, i need to give it
memory too, so i decide i should let DB2 has only 40% of total memory,
give 40% memory to application server,
then i change only give DB2 to 40% of memory, but it gives me some
advice on logfilesize change, package cache size, but no advise on the
bufferpool size, so when i look at by control center, the size is
unchanged , i have to manually do it. shouldn't be advise change from
the advisor after i gives different memory request?


Does the DB2 command
AUTOCONFIGURE USING mem_percent 40 APPLY NONE
suggest different sizes?

Regards
Paul Vernon
Business Intelligence, IBM Global Services

Nov 12 '05 #18
"xixi" <da****@yahoo.c om> wrote in message
news:c0******** *************** ***@posting.goo gle.com...
thanks for your quick reply to my email. i think what i try to say is
at the beginning, i want to give DB2 server 80% of memory (includes
you said global memory, db heap, .....), so it gives me
suggestion on the bufferpool size to 400000 pages, and some other
changes on locklist, package heap too, so i accept the changes, now
the bufferpool size is 400000 pages, but it gives me problem since i
have a application server hold on the same machine, i need to give it
memory too, so i decide i should let DB2 has only 40% of total memory,
give 40% memory to application server,
then i change only give DB2 to 40% of memory, but it gives me some
advice on logfilesize change, package cache size, but no advise on the
bufferpool size, so when i look at by control center, the size is
unchanged , i have to manually do it. shouldn't be advise change from
the advisor after i gives different memory request?


Does the DB2 command
AUTOCONFIGURE USING mem_percent 40 APPLY NONE
suggest different sizes?

Regards
Paul Vernon
Business Intelligence, IBM Global Services

Nov 12 '05 #19
one thing i noticed is that i used control center change the
bufferpool size IBMfefaultfb from 437471 to 250000, but the get db cfg
still gives me 437471, so which value DB2 is using? i am confusing
Nov 12 '05 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3898
by: Larry Trutter | last post by:
Environment: Windows 2000 DB2 Version 8 fixpack 4 I am attempting to use DB2 Configuration Advisor. But when I get to the end of that wizard process (sequentially - I went through all the steps and did not skip any)and "Review the performance configuration recommendations" screen displayed the all current values and all new values to be exactly the same every time. For a specific example, I changed the memory usage percentage and the...
0
401
by: xixi | last post by:
hi, we are using db2 udb v8.1 on windows, i try to use the configuration advisor to get recommendation on the parameter setting, at first, i give the target memory for DB2 is 80% of the physical memory, it gives me a recommendation on bufferpool size, so i accept the change, later on , i found that i gave too much memory to DB2, so i change the target lower, but the recommendation doesn't change the buffer pool size accordingly, why is...
3
5420
by: Mark | last post by:
In a DB2 V8.1 performance tuning document from a 3rd party vendor, I found this statement. Can anyone verify this? "DB2 requires 100 bytes of memory for every buffer pool and extended storage page that is allocated to a database for use as a descriptor in the database heap, so the size of the DBHEAP configuration parameter should be considered before creating large buffer pools. For example, a 1 gigabyte buffer pool with a page size of 4...
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.