Creating and Configuring Forests and Databases
MarkLogic Server stores XML, JSON, XQuery, and JavaScript data in forests. App Servers connect to a database that, in turn, accesses one or more forests.
Several types of auxiliary databases are created when you install MarkLogic Server, which are described in Understanding Databases. This section outlines the general procedures for creating a database to store your documents.
To create a database to store your documents, follow these steps:
Create one or more forests, as described in Creating a Forest. Depending on your storage, performance, and availability needs, you may want to create multiple forests, each on a separate host. See the for details.
Follow the procedure described in Creating a New Database to create your database. Until you understand all of the database settings, you need only provide a name for the database in the Database Name field. You can leave all of the other fields in the Database Specification in their default state.
Attach your forests to the database, as described in Attaching and/or Detaching Forests to/from a Database.