Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Databases

Name: Anonymous 2009-12-30 22:06

I need some sort of simple, ease to use database library that can be utilized by C. I'm using it for a non-ENTERPRISE application, so security and all that jazz aren't big deals.

Name: Anonymous 2010-01-01 18:11

>>26

Yes.

From wikipedia:
BDB can support thousands of simultaneous threads of control or concurrent processes manipulating databases as large as 256 terabytes, on a wide variety of operating systems including most Unix-like and Windows systems, and real-time operating systems.

They're both comparable in speed, but BerkleyDB is more oriented toward serious enterprise-level applications and provided functionality there that SQLite can't match. The trade-off being that it's larger, more complicated and less flexible.

SQLite can only handle one thread writing to a database at a time because of it's coarse, database-wide locking mechanism. If you only have one or two threads writing to the database at a time, it's manageable, since each write only takes a few milli-seconds, but that certainly won't work in an enterprise environment.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List