Example of Databases in MarkLogic Server
This section provides an example which demonstrates the concept of a database and the relationships between a database, a host, and a forest in MarkLogic Server.
In the diagram below, Hosts D1, D2, and D3 belong to the Data-Nodes Group.
D1 is the first host in Data-Nodes Group on which MarkLogic Server is loaded. Three databases are created by default: Security, Schemas, and Documents. In the diagram below, 3 forests, F1, F2, and F3, are configured on Host D1 and assigned to the Security, Schemas, and Documents databases respectively.
D2 is the second host to join the Data-Nodes group. Forests F4 and F5 are configured on D2 and attached to the Documents database.
D3 is the third host to join the Data-Nodes group and has forest F6 configured on it. F6 is also assigned to the Documents database.