Background
UDB 8.2, EEE, Lots of users, runing on AIX with an Switch 2, running
QP, running datastage PX
Here is the behavior we observe. Over time the paging on the AIX box
steadily increases, very rarely there is a slight decrease. Even after
a long period (1 hour+) of relative inactivity it doesn't go down.
When we reboot the paging goes all the way back down. We have looked
at a lot of things but can't quite put our finger on the cause. It
looks like something is going on in UDB but not sure what it is. Any
and all thoughts appreciated. 4 2378
Of course, adding more RAM can also help in this case - but...
First you should find out which process(es) use much RAM which causes
the paging. There is also the possibility that too many agents are
running (temporarily) - each agent needes RAM, sometimes much
sometimes not much. So have a look with ps at the RAM usage. Also
db2pd can help to find out, which agents (or the engine itself) need
much RAM.
Do you have your agents in a pool and keep fenced processes? This
might also hold resources (RAM) and cause paging.
A reboot should always help for some time.
What happens if you (only) restart the instance(s)?
ArtF wrote:
Background
UDB 8.2, EEE, Lots of users, runing on AIX with an Switch 2, running
QP, running datastage PX
Here is the behavior we observe. Over time the paging on the AIX box
steadily increases, very rarely there is a slight decrease. Even after
a long period (1 hour+) of relative inactivity it doesn't go down.
When we reboot the paging goes all the way back down. We have looked
at a lot of things but can't quite put our finger on the cause. It
looks like something is going on in UDB but not sure what it is. Any
and all thoughts appreciated.
Could it be that AIX is using a lot (in fact, too much) of memory for
file system cache? By default, AIX tends to behave like that, being
very aggressive in using RAM for file system caching. For RDBMS
servers like DB2 it is not desirable behavior, since DB2 already has
its caching/buffering mechanism.
In a similar situation to yours (AIX 5.3, DB2 EE 8.2) with settings
that I've found before tuning:
lru_file_repage 1
maxclient 80
maxperm 80
minperm 20
I've got substantial improvements with setting like:
lru_file_repage 0
maxclient 20
maxperm 20
minperm 5
effectively preventing paging and improving performance. You can set
parameters listed above from smitty, for example.
Darko Krstic
On Jul 24, 12:01*pm, darko <darko.krs...@gmail.comwrote:
ArtF wrote:
Background
UDB 8.2, EEE, Lots of users, runing on AIX with an Switch 2, running
QP, running datastage PX
Here is the behavior we observe. *Over time the paging on the AIX box
steadily increases, very rarely there is a slight decrease. Even after
a long period (1 hour+) of relative inactivity it doesn't go down.
When we reboot the paging goes all the way back down. *We have looked
at a lot of things but can't quite put our finger on the cause. *It
looks like something is going on in UDB but not sure what it is. *Any
and all thoughts appreciated.
Could it be that AIX is using a lot (in fact, too much) of memory for
file system cache? By default, AIX tends to behave like that, being
very aggressive in using RAM for file system caching. For RDBMS
servers like DB2 it is not desirable behavior, since DB2 already has
its caching/buffering mechanism.
In a similar situation to yours (AIX 5.3, DB2 EE 8.2) with settings
that I've found before tuning:
lru_file_repage * * * 1
maxclient * * * * * * 80
maxperm * * * * * * 80
minperm * * * * * * *20
I've got substantial improvements with setting like:
lru_file_repage * * * 0
maxclient * * * * * * 20
maxperm * * * * * * 20
minperm * * * * * * *5
effectively preventing paging and improving performance. You can set
parameters listed above from smitty, for example.
Darko Krstic
Thanks much. I will look in to it though we haven't changed anything
on file behavior lately.
ART
On Jul 24, 5:23*am, "stefan.albert" <stefan.alb...@spb.dewrote:
Of course, adding more RAM can also help in this case - but...
First you should find out which process(es) use much RAM which causes
the paging. There is also the possibility that too many agents are
running (temporarily) - each agent needes RAM, sometimes much
sometimes not much. So have a look with ps at the RAM usage. Also
db2pd can help to find out, which agents (or the engine itself) need
much RAM.
Do you have your agents in a pool and keep fenced processes? This
might also hold resources (RAM) and cause paging.
A reboot should always help for some time.
What happens if you (only) restart the instance(s)?
We do pool agents, I will check on fenced processes. Thanks much,
greatly appreciated.
Art This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ck388 |
last post by:
For some reason when I enable the callback feature of the gridview I
still get a page refresh, that is it seems like there is a postback
that occurs, not a callback which is just supposed to update...
|
by: Christopher Pragash |
last post by:
Hello All
I am having a pretty wired problem...I am writing a web part (SPS 2003) that
uses a Datagrid. In the web part, I create the datagird assign some
properties and add event handlers for...
|
by: Guoqi Zheng |
last post by:
Sir,
The default paging of datagrid is somehow use too much resource, so I am
using Stored procedure for the paging. You can find my Stored procedure at
the end of this message.
It works...
|
by: Shawn |
last post by:
Hi.
I already have a datagrid where I'm using paging. I have a stored procedure
that fills a temp table with 200-500 rows and then sends back 10 records at
the time. When I go to page 2 the SP...
|
by: asad |
last post by:
Hello friends, i am designing a ASP.NET page where i want to use custom
paging bcoz data is too heavy so pls tell me how can i use custom paging in
ASP.NET
Thanks
|
by: Ronald S. Cook |
last post by:
I was told that if calling lots of records from the database (let's say
100,000), that the GridView's paging feature would automatically "handle"
everything.
But the 100,000 records are still...
|
by: pmohando |
last post by:
DB2 version 7 running on Aix 5.3 platform, we face the problem on paging space keeping on increasing and reaches upto 99% and only solution is server made to restart for every 20 days.
DB2 is not...
|
by: wallconor |
last post by:
Hi,
I am having a problem using Dreamweaver CS3 standard recordset paging behavior. It doesn’t seem to work when I pass parameter values from a FORM on my search page, to the recordset on my...
|
by: pedalpete |
last post by:
Hi all,
I'm fairly new to Linux and am running CentOS on my web server.
I've been using mpstat to check out the processor utilization, and most of the numbers look good (as far as I can tell)....
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
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...
|
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...
| |