473,320 Members | 1,920 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,320 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 3946
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.