Skip to main content

Administrating MarkLogic Server

Overview of Tiered Storage

The MarkLogic tiered storage APIs enable you to actively and easily move your data between different tiers of storage. For example, visualize how data might be tiered in different storage devices in a pyramid-like manner, as illustrated below:

Graphic showing how data can be tiered in different storage devices in a pyramid-like manner

As data ages and becomes less updated and queried, it can be migrated to less expensive and more densely packed storage devices to make room for newer, more frequently accessed and updated data, as illustrated in the graph below:

Graphic showing as data ages and becomes less updated and queried, it can be migrated to less expensive and more densely packed storage devices to make room for newer, more frequently accessed and updated data.

The illustration below shows the basic tiered storage operations:

  • Migrate a partition to a different database, host, and/or directory, which may be mounted on another storage device.

  • Resize the partition to expand or contract the number of forests it contains.

  • Combine a number of forests into a single forest.

  • Reset the update-allowed state of a partition. For example, make the partition read-only, so it can be stored more compactly on a device that is not required to reserve space for forest merges.

  • Take a partition offline to archive the partition. The partition data is unavailable to query, update, backup, restore and replicate operations.

  • Take a partition online to make the partition data available again.

  • Delete a partition when its data has outlived its useful life.

Illustration showing the basic tiered storage operations.

Warning

Forest migrate, forest combine, partition migrate, and partition resize may result in potential data loss when used during XA transactions.

There are two types of partitions: