Skip to Main Content

Berkeley DB Family

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!

Warming up File System Cache for BDB Performance

873586Oct 20 2011 — edited Oct 31 2011
Hi,

We are using BDB DPL - JE package for our application.

With our current machine configuration, we have

1) 64 GB RAM
2) 40-50 GB -- Berkley DB Data Size

To warm up File System Cache, we cat the .jdb files to /dev/null (To minimize the disk access)

e.g

// Read all jdb files in the directory
p = Runtime.getRuntime().exec("cat " + dirPath + "*.jdb >/dev/null 2>&1");


Our application checks if new data is available every 15 minutes, If new Data is available then it clears all old reference and loads new data along with Cat *.jdb > /dev/null

I would like to know that if something like this can be done to improve the BDB Read performance, if not is there any better method to Warm Up File System Cache ?

Thanks,
This post has been answered by 896906 on Oct 31 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2011
Added on Oct 20 2011
3 comments
372 views