473,486 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

bufferpool content

Hi,
is there any way to know the content of the bufferpool :
- space usage not present in snapshot
- tables actually cached in and number of pages, same for index ...
thx
Nov 12 '05 #1
5 2367
While this is an interesting question more interesting ones are:
What's the value of this information?
Why are you interested in it?

Bufferpool contents change rapidly with changing access to data. If your
database is larger than the buffer pool, then eventually (almost) all of
the pool will contain data. Relational systems do this to make as much
data as possible available without resorting to disk access. Assuming
you could measure the items you requested; the values you obtain may
change dramatically within a few seconds.
Phil Sherman

Paul wrote:
Hi,
is there any way to know the content of the bufferpool :
- space usage not present in snapshot
- tables actually cached in and number of pages, same for index ...
thx


Nov 12 '05 #2
Hi
It's only for information and can be useful when tuning SQL statements
I can determine if a table is everytime in the bufferpool so i can create a
new bufferpool for this one
I know i can find this by other commands but it's more difficult

Also i can tell quickly if the bufferpool is too large if we can know this
information
i know i can use snapshot to view logical vs physical reads but it don't
tell me
how much space i can reduce from the bufferpool .
A 10Go database may only need 100 MB bufferpool but at first we may size the
bufferpool at 1GB
Instead if we know the % used of the bufferpool by simple order, we can size
the bufferpool more quickly by
capturing the values every hour and during typical workload

Paul
Nov 12 '05 #3
Your response indicates that you are attempting to micro-manage the
buffer pools. This is a very time consuming, expensive, and frequently
futile tuning effort. Unless your buffer pool setup is a disaster; I'd
be surprised if you could make a 10% improvement in performance.
Application SQL statement design is usually a much larger factor in
overall performance. Bad design (both application SQL and supporting
database architecture) will also distort buffer pool usage.

See additional comments below.

Phil Sherman
Paul wrote:can improve performance by orders of mangitude
Hi
It's only for information and can be useful when tuning SQL statements
I can determine if a table is everytime in the bufferpool so i can create a
new bufferpool for this one
Today the table may be in the buffer pool but tomorrow's workload may
change this.
I know i can find this by other commands but it's more difficult

Also i can tell quickly if the bufferpool is too large if we can know this
information
Buffer pools have to be gigantic to be too large. Most reasonably sized
systems use a dedicated database server where all available memory is
available so support database needs.
i know i can use snapshot to view logical vs physical reads but it don't
tell me
how much space i can reduce from the bufferpool .
There is no tool that will tell you when you have "properly" minimized
the buffer pool. A DBA with a number of years of tuning experience and
some knowledge of how your applications work and your performance
objectives should know how to size a buffer pool. Performance tuning
classes and books make an excellent starting point.
A 10Go database may only need 100 MB bufferpool but at first we may size the
bufferpool at 1GB
Instead if we know the % used of the bufferpool by simple order, we can size
the bufferpool more quickly by
capturing the values every hour and during typical workload
This statement implies that you may be attempting to use separate buffer
pools for each table. There are valid performance reasons to do this -
where there is a real benefit - but I doubt it would apply to "a simple
order's" tables.
Paul


Nov 12 '05 #4
Thx for your time even i already know this
maybe you consider me begginer but i'm not (without modesty)
i like to have control over things and maybe you consider this futile for
bufferpool, i don't think so
i certainly agree that it's can be time consuming whereas optimised sql if
much better but at my work
we have server with more than 10 databases (price reduction you know and
without the possibily of sql rewritintg) and it's not easy to deal with
memory
for me it's just another way i can explore to provide better performances
for db but maybe it's too low level if ibm don't provide any api to do this
....

Nov 12 '05 #5
Ian
Paul wrote:
Thx for your time even i already know this
maybe you consider me begginer but i'm not (without modesty)
i like to have control over things and maybe you consider this futile for
bufferpool, i don't think so
i certainly agree that it's can be time consuming whereas optimised sql if
much better but at my work
we have server with more than 10 databases (price reduction you know and
without the possibily of sql rewritintg) and it's not easy to deal with
memory
for me it's just another way i can explore to provide better performances
for db but maybe it's too low level if ibm don't provide any api to do this
...


It is possible to tune the bufferpools without knowing what is in them,
although it's generally somewhat of an "informed" trial an error
approach, i.e. keep an eye on bufferpool performance (don't consider
hit ratio only!) as you change (either increase or decrease bufferpool
size), and you'll find the "optimal" bufferpool size.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #6

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

Similar topics

1
4296
by: Li Kao | last post by:
After incrementally increasing SORTHEAP (and the commensurate increase in SHEAPTHRES) and *slightly* reducing the bufferpool size, I find that my query is no longer taking advantage of async IO for...
1
6519
by: Christian Berg | last post by:
Hi, I have got a problem with resizing the bufferpool of a DB2 v.8.2 instance. The DB2 runs on an AIX 5.x platform. Problem is that an "ALTER BUFFERPOOL ..." command is not persistent if...
5
3447
by: Hemant Shah | last post by:
Folks, I am not sure what I am doing wrong, but We have an transaction that does some serious calculation on small chink of data over and over again. It selects few rows from the table...
20
8083
by: Hemant Shah | last post by:
Folks, I am using DB2 UDB 8.2 on AIX 5.1. How large of a bufferpool can you create? I tried to create a 4GB bufferpool db2 complained that is cannot allocate enogth memory. I have 16GB on this...
3
6216
by: dotyet | last post by:
Hi Everyone, I am in a very strange situation, and am looking for suggestions to tackle it. I have a 10 gig database on 64-bit windows 2003 running platform. The database has about 5 gigs of...
1
5507
by: Raja Shekar | last post by:
HI Every body , I would like to know whether is it mandatory to give Tablespace page size and Bufferpool page size equal..? i also heard like while creating tablespace if pages size of tablespace...
0
278
by: Ian | last post by:
dcruncher4@aim.com wrote: The issue here is that you're hitting bufferpool 4097. This is the "hidden" 8k bufferpools that will be used if your system does not have enough memory to support...
3
7890
by: dunleav1 | last post by:
In 9.1 and 9.5 (Linux 64 bit) when a buffer pool is set to self- tuning, how are blocks configured in respect to blocked vs non-blocked when self-tuning is set to on? (ie) I have one bufferpool...
0
4414
by: dot.yet | last post by:
Hi Everyone, environment: DB2 9.5 WSE with FP 2a Solaris 10 u5 - 64-bit SMP - 2 Quad CPUS - total 8 cores 16 GB RAM SAMPLE database Solaris Containers
0
7175
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...
1
6842
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...
0
7330
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...
1
4865
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...
0
3070
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
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 ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
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...

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.