[asterisk-users] AstDB wildard searches

Jared Smith jsmith at digium.com
Mon Feb 16 10:59:37 CST 2009


On Mon, 2009-02-16 at 16:30 +0000, Geoff Lane wrote:
> Thanks for your suggestion. My Asterisk machine has MySQL, and I might
> go down that route at some time. However, my query is part of an
> almost academic exercise in which I'm trying to find out what AstDB is
> capable of. Unfortunately your excellent book has only enticing hints;

Well... I'm glad you liked the book, and yes, it needs more examples of
what AstDB can do.  I'll keep that in mind for the next time we revise
the material.

> and, although I have shedloads of experience with RDBMSs, this is the
> first Berkeley DB I've used.

If you're coming from a traditional relational database mindset, the
AstDB is going to seem very weak.  What I tell people in my training
courses is that the AstDB database is simple way of storing key-value
pairs.  You simply use it to store and organize values, and then
retrieve one value at a time.  Contrast this with relational databases,
where you often run queries that retrieve more than one value at a time,
do joins across tables, order and filter the results, etc.

Hopefully that helps make things a bit more clear.


-- 
Jared Smith
Digium, Inc. | Training Manager 






More information about the asterisk-users mailing list