473,396 Members | 2,093 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Memory and bufferpool issues

Hello,

I have a client running db2 udb 7.2 workgroup , FP10a on a Windows 200
server with 4GB of memory.
The database is 25GB big, but from that maybe 50% is current data. My issue
is that we are noticing that DB2 is only using about 100-150mb of RAM on the
server. This is a productrion machine with 50-75 of transactions a minute
on the database. Now flaming me about using W2k as the OS, we have running
similar testes on SUSE 9 with 4GB of RAM as well with the same results.

Here is the Kicker! ON the old database server with only 1GB of RAM, the OS
(Win2K or Linux) would use 600MB (and up) of RAM for the database.

WHAT IS GOING ON?

I have read about the theoretical 1.75gb (WINDOWS) or 1GB (LINUX) memory
restrictions for DB2. Is that the answer? Does DB2 7.2 run better on a
machine with less ram? I find that hard to believe....but if you DB2 genie
out there say that is the case...then i guess that is the case!

Any help would be greatly welcomed! Or at least guidance towards a possible
solution. Has anyone else come into such a problem? IS ESTORE the answer?

More info....

4GB RAM
2 XEON Hyperthread CPUs
Pleanty of HD space
WIN2k and SUSE9 tested.

One more thing, I have ran the configuration wizard and have even tried
manualy setting the settings to values that would seem appropriate, either
nothing happens or the RAM will shoot up to 1GB, however the CPU's shoot to
100% too (sounds like paging).

TIA everyone who helps

Chris
Nov 12 '05 #1
4 3649
"Yoyoma" <me@you.com> wrote in message
news:bk**********************@wagner.videotron.net ...
Hello,

I have a client running db2 udb 7.2 workgroup , FP10a on a Windows 200
server with 4GB of memory.
The database is 25GB big, but from that maybe 50% is current data. My issue is that we are noticing that DB2 is only using about 100-150mb of RAM on the server. This is a productrion machine with 50-75 of transactions a minute
on the database. Now flaming me about using W2k as the OS, we have running similar testes on SUSE 9 with 4GB of RAM as well with the same results.

Here is the Kicker! ON the old database server with only 1GB of RAM, the OS (Win2K or Linux) would use 600MB (and up) of RAM for the database.

WHAT IS GOING ON?

I have read about the theoretical 1.75gb (WINDOWS) or 1GB (LINUX) memory
restrictions for DB2. Is that the answer? Does DB2 7.2 run better on a
machine with less ram? I find that hard to believe....but if you DB2 genie out there say that is the case...then i guess that is the case!

Any help would be greatly welcomed! Or at least guidance towards a possible solution. Has anyone else come into such a problem? IS ESTORE the answer?
More info....

4GB RAM
2 XEON Hyperthread CPUs
Pleanty of HD space
WIN2k and SUSE9 tested.

One more thing, I have ran the configuration wizard and have even tried
manualy setting the settings to values that would seem appropriate, either
nothing happens or the RAM will shoot up to 1GB, however the CPU's shoot to 100% too (sounds like paging).

TIA everyone who helps

Chris

The main user of memory is the buffer pool(s). You said that you used the
configuration wizard but didn't say what the buffer pool size is.

As you noted, DB2 has memory limits on 32 bit operating systems, but that
does not mean that a system with less memory will have memory allocated for
DB2 (except on a percentage basis). Also, how much real memory is free
(available) before DB2 is started?

BTW, FP11 is now available.
Nov 12 '05 #2

"Mark A" <ma@switchboard.net> wrote in message
news:F0****************@news.uswest.net...
"Yoyoma" <me@you.com> wrote in message
news:bk**********************@wagner.videotron.net ...
Hello,

I have a client running db2 udb 7.2 workgroup , FP10a on a Windows 200
server with 4GB of memory.
The database is 25GB big, but from that maybe 50% is current data. My issue
is that we are noticing that DB2 is only using about 100-150mb of RAM on

the
server. This is a productrion machine with 50-75 of transactions a minute on the database. Now flaming me about using W2k as the OS, we have

running
similar testes on SUSE 9 with 4GB of RAM as well with the same results.

Here is the Kicker! ON the old database server with only 1GB of RAM, the OS
(Win2K or Linux) would use 600MB (and up) of RAM for the database.

WHAT IS GOING ON?

I have read about the theoretical 1.75gb (WINDOWS) or 1GB (LINUX) memory
restrictions for DB2. Is that the answer? Does DB2 7.2 run better on a
machine with less ram? I find that hard to believe....but if you DB2 genie
out there say that is the case...then i guess that is the case!

Any help would be greatly welcomed! Or at least guidance towards a

possible
solution. Has anyone else come into such a problem? IS ESTORE the

answer?

More info....

4GB RAM
2 XEON Hyperthread CPUs
Pleanty of HD space
WIN2k and SUSE9 tested.

One more thing, I have ran the configuration wizard and have even tried
manualy setting the settings to values that would seem appropriate,

either nothing happens or the RAM will shoot up to 1GB, however the CPU's shoot

to
100% too (sounds like paging).

TIA everyone who helps

Chris

The main user of memory is the buffer pool(s). You said that you used the
configuration wizard but didn't say what the buffer pool size is.

As you noted, DB2 has memory limits on 32 bit operating systems, but that
does not mean that a system with less memory will have memory allocated

for DB2 (except on a percentage basis). Also, how much real memory is free
(available) before DB2 is started?

BTW, FP11 is now available.

Thanks for the reply,

The buffer pool is set to the maximum alocated size. However it does not
realy allocate that amount of memory. is the limitation per bufferpool? I
mean if I manually create more than 1 bufferpool, can I have two 1.75GB
bufferpools?

I tried FP11 on our test server..didn't fix do anything memory wise.

Chris
Nov 12 '05 #3
"Yoyoma" <me@you.com> wrote in message
news:rh**********************@weber.videotron.net. ..
Thanks for the reply,

The buffer pool is set to the maximum alocated size. However it does not
realy allocate that amount of memory. is the limitation per bufferpool? I mean if I manually create more than 1 bufferpool, can I have two 1.75GB
bufferpools?

I tried FP11 on our test server..didn't fix do anything memory wise.

Chris

I don't know what "maximum allocated size" means. Buffer pools are defined
in a number of pages for a page size. Page size can be 4K, 8K, 16K, or 32K.
To figure out the amount of memory used for the buffer pools, multiply the
number of pages times the pages size. You should not define the buffer pools
(and other DB2 memory needed) higher than the amount of available real
memory for your system (or more than DB2 can address on that OS).

You can stop DB2 and look at the amount of available windows memory to
figure out how much is available for you to allocate to DB2. As I said, be
careful not to exceed the amount of real memory available (do not consider
virtual memory). Also, as you noted, only a portion of the 4GB can be
addressed by DB2.

You "may" be able to define two 1.75 GB bufferpools, but I don't think they
will use real memory and that is not good.

Remember, in addition to buffer pools, DB2 needs memory for other uses, so
take that into account. I would suggest that you use the configuration
wizard to help you with memory allocation.
Nov 12 '05 #4
1.75 GB is the limit on 32-bit AIX. You should be able to use 3 GB for
the bufferpool on Windows (requires Windows Advanced Server I believe
and larger pagers for the DB2 bufferpool and tablespaces - i.e. 8k).

Yoyoma wrote:
"Mark A" <ma@switchboard.net> wrote in message
news:F0****************@news.uswest.net...
"Yoyoma" <me@you.com> wrote in message
news:bk**********************@wagner.videotron.n et...
Hello,

I have a client running db2 udb 7.2 workgroup , FP10a on a Windows 200
server with 4GB of memory.
The database is 25GB big, but from that maybe 50% is current data. My


issue
is that we are noticing that DB2 is only using about 100-150mb of RAM on


the
server. This is a productrion machine with 50-75 of transactions a
minute
on the database. Now flaming me about using W2k as the OS, we have


running
similar testes on SUSE 9 with 4GB of RAM as well with the same results.

Here is the Kicker! ON the old database server with only 1GB of RAM,
the
OS
(Win2K or Linux) would use 600MB (and up) of RAM for the database.

WHAT IS GOING ON?

I have read about the theoretical 1.75gb (WINDOWS) or 1GB (LINUX) memory
restrictions for DB2. Is that the answer? Does DB2 7.2 run better on a
machine with less ram? I find that hard to believe....but if you DB2


genie
out there say that is the case...then i guess that is the case!

Any help would be greatly welcomed! Or at least guidance towards a


possible
solution. Has anyone else come into such a problem? IS ESTORE the


answer?
More info....

4GB RAM
2 XEON Hyperthread CPUs
Pleanty of HD space
WIN2k and SUSE9 tested.

One more thing, I have ran the configuration wizard and have even tried
manualy setting the settings to values that would seem appropriate,


either
nothing happens or the RAM will shoot up to 1GB, however the CPU's shoot


to
100% too (sounds like paging).

TIA everyone who helps

Chris


The main user of memory is the buffer pool(s). You said that you used the
configuration wizard but didn't say what the buffer pool size is.

As you noted, DB2 has memory limits on 32 bit operating systems, but that
does not mean that a system with less memory will have memory allocated


for
DB2 (except on a percentage basis). Also, how much real memory is free
(available) before DB2 is started?

BTW, FP11 is now available.


Thanks for the reply,

The buffer pool is set to the maximum alocated size. However it does not
realy allocate that amount of memory. is the limitation per bufferpool? I
mean if I manually create more than 1 bufferpool, can I have two 1.75GB
bufferpools?

I tried FP11 on our test server..didn't fix do anything memory wise.

Chris


Nov 12 '05 #5

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

Similar topics

5
by: Paul Shaw | last post by:
Can anyone explain why an insert might cause multiple logical bufferpool data reads? Here's a situation that has me scratching my head. Table A's data resides in tablespace B Table A's...
13
by: Selma_g | last post by:
Hi, I am wondering if the bufferpools and agent memory canbe shared within a EE UDB instance (running 7.2 AIX 5 now but going to V8.1). Our business model requires us to add about 1-2 db's per...
22
by: xixi | last post by:
hi, we are using db2 udb v8.1 for windows, i have changed the buffer pool size to accommadate better performance, say size 200000, if i have multiple connection to the same database from...
4
by: xixi | last post by:
i have a very serious memory problem, we have db2 udb v8.1 load on a HP titanium machine with 4 G memory, it is 64bit machine, currently on DB2 instance , i have three databases, but only one is...
3
by: sql-db2-dba | last post by:
When I did db2batch to benchmark a query, it performance details came back with this reading ... "High water mark for database heap = 4291373408" Does this mean it would have caused memory...
10
by: Hemant Shah | last post by:
Folks, I am using DB2 UDB 8.1 on RedHat ES 2.1. In order to improve performance of one of our table, I would like to preload some or all of the data into memory when I start DB2. Is there a...
9
by: thomasb | last post by:
Hi! This may seems to be a stupid question but I can't figure out how configuration of more than 4 GB memory on Windows works. dbset db2_awe=1,<number of physical pages>, <number of address...
10
by: p175 | last post by:
Hi folks, I'm after some guidelines on general memory allocations for DB2 8.2.2 ESE on Win2k Server FP4 with 4gb physical memory. Seeing as everything is 32bit and win2k server does not...
15
by: jane | last post by:
We are getting this error during a large large load. 2006-06-03-02.58.31.688266 Instance:sieinst Node:000 PID:1286274(db2agent (SRMW) 0) TID:1 Appid:GAFE423C.P4CE.0671B3070116 database...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.