Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Berkely DB > memory pool sta...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1727 of 1800
Post > Topic >>

memory pool stats

by "pbour" <panayiotis.bouros@[EMAIL PROTECTED] > Mar 26, 2007 at 10:36 AM

I create an environment with 32K cache.
The objective is to get the physical I/O accesses -basically cache
hits and misses.

I continue with the following steps:

> I create my first database D1.
> I pose a query on D1 and print the statistics. All OK till now.
> I create my second database D2.
> I pose again the same query on D1 and print the statistics. BUT now,
only "Requested pages mapped into the process' address space" are larger
than zero. Nothing on cache hits and nothing on cache misses.

OK, I 'll change the order. Meaning I create D2 and query it. All OK.
I create D2 and query it. PROBLEM zero stats apart from "Requested
pages mapped into the process' address space".

Before opening a database for querying, I create an environment DB_ENV
pointer with flags DB_CREATE|DB_INIT_MPOOL.

The code for creating and querying the databases is EXACTLY the same.

Any ideas why?


Thanx in advance.
 




 2 Posts in Topic:
memory pool stats
"pbour" <pan  2007-03-26 10:36:07 
Re: memory pool stats
"pbour" <pan  2007-03-26 10:38:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 20:05:37 CDT 2008.