How do I query to list databases? or bags?

2 views
Skip to first unread message

c2Programmer

unread,
Aug 12, 2009, 6:56:09 PM8/12/09
to dovetaildb-discuss
How do I query to list databases? or bags?

Phil

unread,
Aug 13, 2009, 10:09:26 AM8/13/09
to dovetaildb-discuss
> How do I query to list databases? or bags?

You're running a local instance? Quering the "db" bag in the
"_metadata" database with the root accesskey should return a list of
databases known to the instance.

Unfortunately (and somewhat surprisingly), there is no way the query
for a list of bags contained in a database. I'll add this to my todo
list. In the meantime, if you poke around under the data directory,
you should be able to find a directory for your database that has sub-
directories named the same as each of your bags. (this is also the
only way at present to figure out the on-disk size of a database or
bag)

Hope this helps,
Phil
Reply all
Reply to author
Forward
0 new messages