473,406 Members | 2,816 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,406 software developers and data experts.

Catalog Cache vs. Buffer Pool for SYSCATSPACE

I understand the concept of catalog cache (memory allocated from the
dbheap to allow catalog lookups without the need to access disk each
time). But the DB2 catalog tablespace (SYSCATSPACE) is assigned a
buffer pool, which seems to perform the same function as catalog
cache.

Is this simply a case of double buffering? Can anyone clear this up?
Nov 12 '05 #1
6 3954
Mark wrote:
I understand the concept of catalog cache (memory allocated from the
dbheap to allow catalog lookups without the need to access disk each
time). But the DB2 catalog tablespace (SYSCATSPACE) is assigned a
buffer pool, which seems to perform the same function as catalog
cache.

Is this simply a case of double buffering? Can anyone clear this up?


One thing the catalog cache does but the buffer pool (BP) does not is the
caching of the packed descriptors for various kinds of objects. The packed
descriptors are modeled as BLOBs, and BLOBs don't go through the buffer
pool.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #2
Knut Stolze <st****@de.ibm.com> wrote in message news:<cf**********@fsuj29.rz.uni-jena.de>...

One thing the catalog cache does but the buffer pool (BP) does not is the
caching of the packed descriptors for various kinds of objects. The packed
descriptors are modeled as BLOBs, and BLOBs don't go through the buffer
pool.


But the BLOB's, CLOB's themselves still require direct reads from disk, correct?
Nov 12 '05 #3
No, it's the Blobs that are cached. The cache also includes routine
signatures. So DB2, once the cache, is warm will barely touch the
catalog (including the buffer pool) anymore unless things change.

Cheers
Serge
Nov 12 '05 #4
Mark wrote:
Knut Stolze <st****@de.ibm.com> wrote in message
news:<cf**********@fsuj29.rz.uni-jena.de>...

One thing the catalog cache does but the buffer pool (BP) does not is the
caching of the packed descriptors for various kinds of objects. The
packed descriptors are modeled as BLOBs, and BLOBs don't go through the
buffer pool.


But the BLOB's, CLOB's themselves still require direct reads from disk,
correct?


Not if those LOBs are in the catalog cache.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #5
Serge Rielau <sr*****@ca.eye-bee-em.com> wrote in message news:<ow*********************@twister01.bloor.is.n et.cable.rogers.com>...
No, it's the Blobs that are cached. The cache also includes routine
signatures. So DB2, once the cache, is warm will barely touch the
catalog (including the buffer pool) anymore unless things change.

Cheers
Serge


The BLOB's, CLOB's are cached in the catalog cache, or are they cached
somewhere else? I am talking about user created BLOB's and CLOB's, not
the ones in the Catalog tables.
Nov 12 '05 #6
Mark wrote:
The BLOB's, CLOB's are cached in the catalog cache, or are they cached
somewhere else? I am talking about user created BLOB's and CLOB's, not
the ones in the Catalog tables.

Ah, regular CLOBs and LOBs are not cached.

Cheers
Serge
Nov 12 '05 #7

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

Similar topics

8
by: Tron Thomas | last post by:
As part of applying for a programming position at a company, I recently I had submitted some code samples to one of the developers for review. This is the feedback I received: One of his...
7
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...
3
by: maricel | last post by:
Could somebody confirm the behavior of UNCATALOG & CATALOG command based on the following situation: There are two NODES on DB2 UDB v8.1, MYNODEA & MYNODEB. MYNODEA has two databases proda &...
0
by: Mark | last post by:
I understand the concept of catalog cache (memory allocated from the dbheap to allow catalog lookups without the need to access disk each time). But the DB2 catalog tablespace (SYSCATSPACE) is...
2
by: Jeremy S. | last post by:
Just wondering if/how a sliding Cache expiration interacts with Application Pool Worker Process Recycling. Specifically, if I were to place some value into the Cache object with a sliding window...
2
by: Don Kelloway | last post by:
I'm a first-time user with PostgreSQL so please forgive my ignorance. I've purchased (and read) Practical PostgreSQL (O'Reilly) and PostgreSQL Essential Reference (New Riders). So far, so good. ...
3
by: Raj | last post by:
I created a refresh deferred MQT, and during full refresh there were 4 or 5 lock waits, all waiting on a 'S' lock on Internal Catalog Cache ? Can some one explain how to prevent this from happening?
5
by: sethwai | last post by:
Hi, I've read everything I can get my hands on and am still very confused about the similarities and differences between db2_mmap_read/write and concurrent i/o. It seems to me at this point...
4
by: Patrick Finnegan | last post by:
Is there a DB2 setting that will force a table to be cached in the buffer pool? We have four tables that we want to cache completely in the buffer pool to ensure that all the data is read from...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.