Creating a new XML Document

There are three ways to create a new DOM in M/DB:X

See the DOM API Reference for details

Each document that is successfully created is given two unique identifiers:

When referencing documents you may use either of these identifiers. All Actions that require a document to be specified can use either of these identifiers.

What can I do with a document once I create it?

When a document (aka DOM) is created in M/DB:X you can do any of the following:

The DOM API Reference provides details on the Actions to carry out these operations.

How many documents can I store in M/DB:X?

The number of documents you store is limited only by the disk storage available to the underlying GT.M database and Virtual Appliance. As a rule of thumb, a DOM representation of an XML document occupies between 5 and 10 times more storage as the original XML held in a text file, due to the pointers and indexes that form the DOM structure.

How do I keep track of and house-keep DOMs in M/DB:X?

You can list your DOMs using the ListDOMs Action.

To delete DOMs, use the DeleteDOM, DeleteDOMsByPrefix or DeleteAllDOMs Actions

There's otherwise almost no administration involved in running and supporting an M/DB:X installation!

How do I back-up my M/DB:X database and what other system management functions are available?

M/DB:X runs as an application on top of the GT.M database. GT.M provides a comprehensive set of system management functions including backup and restore, database replication, journalling etc, as you would expect from a database technology with a long pedigree in the highly demanding banking sector. If you're using the M/DB Virtual Appliance, you'll find a link to the GT.M Administration and Operations Guide which describes the relevant facilities.

The DOMs created and managed by M/DB:X reside in a single global: ^zewdDOM If you are using the M/DB Virtual Appliance, this global resides in the GT.M database in the /usr/local/gtm/ewd path.