473,795 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ratio of synchronous reads for bufferpool

hello,

admin guide says that
pool_data_p_rea ds - pool_async_data _reads will give me number of
physical reads that were performed synchronously (that is, physical
data page reads that were performed by database manager agents).

I assume then pool_data_p_rea ds should give total value of all reads
( synchronous + asynchronous )
i see values for pool_async_data _reads more than pool_data_p_rea ds in
my snapshots for bufferpools

i am taking delta every 10 minutes

i am confused
can anyone please explain?

regards,
jagdip singh

Mar 9 '07 #1
5 2680
db2admin wrote:
hello,

admin guide says that
pool_data_p_rea ds - pool_async_data _reads will give me number of
physical reads that were performed synchronously (that is, physical
data page reads that were performed by database manager agents).

I assume then pool_data_p_rea ds should give total value of all reads
( synchronous + asynchronous )
i see values for pool_async_data _reads more than pool_data_p_rea ds in
my snapshots for bufferpools

i am taking delta every 10 minutes

i am confused
can anyone please explain?

regards,
jagdip singh
pool_async_data _reads gives the async reads for _all types of tablespaces_
pool_data_p_rea ds gives the reads for regular and large tablespaces, i.e.
excluding temp. ts's.
The correct formula to calculate synchronous physical reads therefor should
be:

pool_data_p_rea ds + pool_temp_data_ p_reads - pool_async_data _reads

Check these pointers:
http://publib.boulder.ibm.com/infoce...c/r0001236.htm
http://publib.boulder.ibm.com/infoce...c/r0001244.htm

HTH.

--
Jeroen
Mar 10 '07 #2
On Mar 10, 4:00 pm, "The Boss" <use...@No.Spam .Please.invalid wrote:
db2admin wrote:
hello,
admin guide says that
pool_data_p_rea ds - pool_async_data _reads will give me number of
physical reads that were performed synchronously (that is, physical
data page reads that were performed by database manager agents).
I assume then pool_data_p_rea ds should give total value of all reads
( synchronous + asynchronous )
i see values for pool_async_data _reads more than pool_data_p_rea ds in
my snapshots for bufferpools
i am taking delta every 10 minutes
i am confused
can anyone please explain?
regards,
jagdip singh

pool_async_data _reads gives the async reads for _all types of tablespaces_
pool_data_p_rea ds gives the reads for regular and large tablespaces, i.e.
excluding temp. ts's.
The correct formula to calculate synchronous physical reads therefor should
be:

pool_data_p_rea ds + pool_temp_data_ p_reads - pool_async_data _reads

Check these pointers:http://publib.boulder.ibm.com/infoce...ic/com.ibm.db2....

HTH.

--
Jeroen
thanks a lot
i really appreciate the help

Mar 12 '07 #3
On Mar 12, 6:05 pm, "db2admin" <jag...@gmail.c omwrote:
On Mar 10, 4:00 pm, "The Boss" <use...@No.Spam .Please.invalid wrote:
db2admin wrote:
hello,
admin guide says that
pool_data_p_rea ds - pool_async_data _reads will give me number of
physical reads that were performed synchronously (that is, physical
data page reads that were performed by database manager agents).
I assume then pool_data_p_rea ds should give total value of all reads
( synchronous + asynchronous )
i see values for pool_async_data _reads more than pool_data_p_rea ds in
my snapshots for bufferpools
i am taking delta every 10 minutes
i am confused
can anyone please explain?
regards,
jagdip singh
pool_async_data _reads gives the async reads for _all types of tablespaces_
pool_data_p_rea ds gives the reads for regular and large tablespaces, i.e.
excluding temp. ts's.
The correct formula to calculate synchronous physical reads therefor should
be:
pool_data_p_rea ds + pool_temp_data_ p_reads - pool_async_data _reads
Check these pointers:http://publib.boulder.ibm.com/infoce...ic/com.ibm.db2........
HTH.
--
Jeroen

thanks a lot
i really appreciate the help
I could not find pool_temp_data_ p_reads for bufferpool snapshot data
I am on DB2 V8 + FP 11
How would you determine the same for a bufferpool ?

Mar 13 '07 #4
On Mar 13, 1:42 pm, "db2admin" <jag...@gmail.c omwrote:
On Mar 12, 6:05 pm, "db2admin" <jag...@gmail.c omwrote:
On Mar 10, 4:00 pm, "The Boss" <use...@No.Spam .Please.invalid wrote:
db2admin wrote:
hello,
admin guide says that
pool_data_p_rea ds - pool_async_data _reads will give me number of
physical reads that were performed synchronously (that is, physical
data page reads that were performed by database manager agents).
I assume then pool_data_p_rea ds should give total value of all reads
( synchronous + asynchronous )
i see values for pool_async_data _reads more than pool_data_p_rea ds in
my snapshots for bufferpools
i am taking delta every 10 minutes
i am confused
can anyone please explain?
regards,
jagdip singh
pool_async_data _reads gives the async reads for _all types of tablespaces_
pool_data_p_rea ds gives the reads for regular and large tablespaces, i.e.
excluding temp. ts's.
The correct formula to calculate synchronous physical reads therefor should
be:
pool_data_p_rea ds + pool_temp_data_ p_reads - pool_async_data _reads
Check these pointers:http://publib.boulder.ibm.com/infoce...ic/com.ibm.db2........
HTH.
--
Jeroen
thanks a lot
i really appreciate the help

I could not find pool_temp_data_ p_reads for bufferpool snapshot data
I am on DB2 V8 + FP 11
How would you determine the same for a bufferpool ?
I am sorry for previous post
I collected snapshot data using snapshot table function which does not
give values for pool_temp_data_ p_reads
I looked at manual for all possible values for bufferpool snapshot and
it does include values for pool_temp_data_ p_reads
I do not know why snapshot table function does not include column for
pool_temp_data_ p_reads

Mar 13 '07 #5
That's fun!!

I compared the fields of the "Select * from TABLE( SNAPSHOT_BP(... "
with the fields contained in the db2 command line snapshot. There are
missing some more fields!

There is NO info about any TEMP - 4 values missing (log./phys. & data/
index).
Also missing:
- Asynchronous index read requests
- No victim buffers available
- Vectored IOs
- Pages from vectored IOs
- Block IOs
- Pages from block IOs
- Physical page maps
- Tablespaces using bufferpool
- Pages left to remove
- Current size
- Post-alter size

May be there is still some homework for IBM to do? I think some values
are interesting (e.g. TEMP, Blocked/vectored IO)

Mar 14 '07 #6

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

Similar topics

7
11420
by: eric | last post by:
Hi there, BP hit ratio = 1 - (BP physical reads / BP logical reads). If all the BP physical reads are asynchronous, it should mean that the pages are brought up to the bufferpool before the database manager needs them. But in that case, the BP hit ratio will be 0% (BP physical reads = BP async. physical reads = BP logical reads). Could this formula BP hit ratio = 1 - ((BP physical reads - BP async.
2
2157
by: Leo | last post by:
Version 7 fixpack 9, aix 5.1 In our database we have a table that that has a dedicated bufferpool for the data, and another for indexes. Actually we have three of these combinations and they all behave the same. Taken from a bufferpool snapshot: Index buffer pool: Asynchronous pool index page reads = 147089
1
6549
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 the database is stopped with the db2stop and restarted with the db2start command.
0
1326
by: DB2 News Group | last post by:
Using the new snapshot function in version 8 I have come across something interesting. When computing the bufferpool hit ratio and tablespace buffer pool hit ratio, both of these show up as very low (< 2%) for a large table (MDC) (400+ million rows) upon which full table scans are performed. When running a query against the table which performs a full table scan (get a count of all MDC cells by partition), I see that the bp hit ratio...
5
3469
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 several times and does different calculations. It was taking about 45 seconds to run. I thought that moving the file to its own tablespace and giving it large bufferpool would improve the performance. I experienced exactly opposite, the
3
6239
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 bufferpool. It's a DB2 UDB 8.2 FP9a database. I am trying to restore an online backup image of this database on a
5
2481
by: satish mullapudi | last post by:
Hi All, I am using DB2 UDB v 8.2 , OS: RHEL . Now, How to get the Bufferpool Hit Ratio?
2
5545
by: dbtwo | last post by:
Until today I always thought as long as you see a lot of logical reads as compared to physical reads, then you're good. But it looks like it isn't so. But doesn't logical read mean it's being read from memory and no I/O involved? So why is Logical Reads = CPU Consumption ? I ran into an exact scenario last week when our applciation were running something, and each time an application started, the CPU would go from 99% idle to 48% idle. I...
3
7933
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 that is 16k that the IBMDEFAULTBP is shared between all tablespaces. The data tablespace has prefetch automatic set to on.
0
9672
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
9519
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
10436
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
10213
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
10163
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
10000
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...
0
5436
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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

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.