Billion-triple store

Scott Lystig Fritchie fritchie@REDACTED
Sat May 13 02:29:52 CEST 2006


>>>>> "ys" == Yariv Sadan <yariv@REDACTED> writes:

ys> Hi, I just did some research into BDB. It looks like BDB only
ys> supports row level locking for Queue tables, whose records must be
ys> of fixed size
ys> (http://www.sleepycat.com/docs/gsg/C/BerkeleyDB-Core-C-GSG.pdf).

Berkeley DB supports several types of tables.  Queue is the only that
requires a fixed size, IIRC.

If you insist on Berkeley DB and on record-level locking (since there
really aren't "rows" in a Berkeley DB table ... unless you consider
Berkeley DB table to have a fixed two-column table design), then the
queue is your only major option.  It is certainly possible to write
non-trivial apps using table types that use (gasp!) page-level
locking.

-Scott



More information about the erlang-questions mailing list