Berkeley DB XML: Performance problems for queries -
01-31-2006
, 08:26 AM
Hi,
I am developing a db using Berkley DB XML for storing a (fairly large)
document with many nodes. The data is structured in a very simple way
and I am using a Node type container.
Since I am experiencing quite bad performance when running queries I
have started experimenting with indices. The problem is that I don't
see any improvement after creating the index. I have tried many
different types of indices but without luck (queries are still slow).
I can see that the indices have been created ok (by listing them
afterwards) and with the help of the qplan command (in the Berkeley db
xml shell) I can see that the query will use the index.
Just for testing I made up an even simpler structure,looking something
like...
<Root>
<A><B>1</B></A>
<A><B>2</B></A>
<A><B>3</B></A>
<A><B>4</B></A>
<A><B>5</B></A> |