In a Berkeley DB XML repository the actions available at container level in the
Data Source Explorer view are the following:
Add Resource - Adds a
new XML resource to the selected container.
Rename - Allows you to specify a new name for the selected
container.
Delete - Removes the selected
container from the database tree.
Edit indices - Allows you to edit the indices for the selected
container.
Container indices
The fields of the dialog are the following:
Granularity:
Document level granularity is good for retrieving large
documents.
Node level granularity is good for retrieving nodes from
within documents.
Add / Edit indices:
Node - The node name.
Namespace - The index namespace
Index strategy:
Index type:
Uniqueness - Indicates whether the indexed
value must be unique within the container
Path type:
node - Indicates that you want to index a
single node in the path
edge - Indicates that you want to index the
portion of the path where two nodes meet
Node type:
element - An element node in the document
content.
attribute - An attribute node in the
document content.
metadata - A node found only in a
document's metadata content.
Key type:
equality - Improves the performances of
tests that look for nodes with a specific value
presence - Improves the performances of
tests that look for the existence of a node regardless of its
value
substring - Improves the performance of
tests that look for a node whose value contains a given
substring
Syntax types - The syntax describes what sort of
data the index will contain and is mostly used to determine how indexed
values are compared.
Refresh - Performs a refresh
of the selected node's subtree.
Properties - Displays a dialog with a list of properties of the
Berkeley container like: container type, auto indexing, page size, validate on load,
compression algorithm, number of documents, etc.