db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: Hello
Date Sat, 04 Sep 2004 22:28:50 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dibyendu Majumdar wrote:

| Dibyendu Majumdar wrote:
|
|
| Thanks for responding to my query. I had read above overview document
| already. I have started with services/cache package. Is my understanding
| correct that this implements the Buffer Cache?

The services/cache code is a component used by the buffer cache.
The services/cache is a general purpose caching mechanism that simply
caches objects that implement the Cacheable interface. It is used by the
store for buffer caching, but it is also used to cache compiled plans
for SQL statements, open containers and their file descriptors, string
conversions, table descriptors and maybe more.

The interface/implementation split ensures that the cache algorithm is
not known by the users of the cache and can be changed with affecting
them. The currrent algorithm is a "clock or ring" based algorithm.


Dan.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBOkGiIv0S4qsbfuQRAkwpAJ9qYDh6BOTHLpa9PtQ+mVelQgmp5wCgl9Bm
Wg+oa7CDngjrzfaKbezLL8w=
=oz0+
-----END PGP SIGNATURE-----


Mime
View raw message