Category Archives: Uncategorized

When trickle doesn’t work

In a past column, I’ve mentioned memp_trickle as a way to get beyond the double I/O problem. And it often works well for this, but there are times when it doesn’t. Trickle is a sort of optimization that I would … Continue reading

Posted in Uncategorized | 2 Comments

Readonly DB Reloaded

If you have a ‘readonly’ Btree database in BDB, you might benefit by this small trick that has multiple benefits. The trick is to reload the database. You’ll get a compact file with blocks appearing in order. Perhaps you’re using … Continue reading

Posted in Uncategorized | 3 Comments

Divide and Conquer

Berkeley DB is often used in extreme cases. One extreme case is an application that is almost write-only. That is, data is being collected as fast as possible, and shoveled into a BDB file or files. In some applications, there … Continue reading

Posted in Uncategorized | 1 Comment

Taste your data

I saw Temple Grandin speak recently and I heard a number of nuggets of wisdom from someone who truly thinks different. If you don’t know the name, Dr. Grandin is a very high functioning autistic person who has revolutionized the … Continue reading

Posted in Uncategorized | Leave a comment

Choose your battles

Here’s an interesting set of posts from Shaneal Manek, the developer behind signpost.com (born as postabon.com).  He first makes the point that LISP is a fast language for internet server development, and with some small optimization hints, can be 4x faster … Continue reading

Posted in Uncategorized | 1 Comment

No Threads Attached

Berkeley DB, at least the core API, is mostly threadless.  If you are using any of the APIs that have been around for more than five years, there’ll be nothing happening, threadwise, in the background. I think a lot of … Continue reading

Posted in Uncategorized | 10 Comments

Sizing cache

When I first starting working on performance with BDB core, I remember learning that the cache size tuning parameter was the biggest dial you could turn to boost performance for an app.  I envisioned this huge dial, and the temptation … Continue reading

Posted in Uncategorized | 1 Comment