473,651 Members | 2,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3668
"Yoyoma" <me@you.com> wrote in message
news:bk******** **************@ wagner.videotro n.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.u swest.net...
"Yoyoma" <me@you.com> wrote in message
news:bk******** **************@ wagner.videotro n.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.u swest.net...
"Yoyoma" <me@you.com> wrote in message
news:bk****** *************** *@wagner.videot ron.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
restrictio ns 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
configurati on 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
4128
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 indexes reside in tablespace C Table A has no long data No other data resides in either of these tablespaces.
13
1850
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 month (one db per customer), and this consume the memory. Some of these dbs are not highly active but once a db is activated, at least the bufferpools are allocated along with the init_pool of agents. Is there a way for bufferpools and agents be...
22
3467
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 application server, will each connection take the memory 800M (200000 x 4k = 800 M), so the memory took will be 800M times number of connections, or the total memory get from bufferpool will be 800M?
4
5196
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 being used, on the same machine, i have an application server running connect to this DB2 server, every day there are around 12 persons has connection through the app server to db server, the database has 9 G data/index, problem is in the morning...
3
3426
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 thrashing at the server? Did I over-allocate resources. We just increased BuffPage to 16384 from its default of 1000. Pagesize of the bufferpool was of course set to -1 so it would use the DBM cfg
10
7790
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 way to do it? Thanks.
9
3503
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 windows> The first parameter is bufferpool id.
10
2783
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 support /3gb switch, we are restricted memory wise for allocating memory to db2syscs.exe to around 1.75gb so I understand, what are the general rules of thumb for assigning memory ?
15
6716
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 utilities DIAG_ERROR Probe:0 Database:SRMW LOADID: 1286274.2006-06-03-02.58.31.581068.0 (4;125) Error loading partition. 0, fffffffffffff43d, Detected in file:
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8697
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
8465
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
7297
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6158
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
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1909
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1587
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.