Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problems setting cache size,

694662Apr 5 2009 — edited Apr 5 2009
Hi,
I hope I m in the right category for this question:
I m reading in a csv table, and putting it in one primary database ( DB_QUEUE )
and several secondary databases ( DB_BTREE ). I m using the Berkeley DB 4.7
for with C++. For the primary database i leave the standart cache size, for the secondary
databases I want to use 16mb:

unsigned long cache_byte= (1024*1024*16);
sec[a]->set_cachesize(0,cache_byte,1)

sec[*] are the secondary databases
and the cache size is set before opening the databases.
The problem is when i run the programm it allocates more and more memory,
but it should just use a little more than a times 16 mb.
Can somebody help me ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2009
Added on Apr 5 2009
1 comment
311 views