Backend storage
The SkyWalking storage is pluggable. We have provided the following storage solutions, which allow you to easily
use one of them by specifying it as the selector
in application.yml
:
storage:
selector: ${SW_STORAGE:elasticsearch}
Natively supported storage:
BanyanDB - Native APM Database
This is recommended to use for medium scale deployments from 0.6 until 1.0. BanyanDB is going to be our next generation storage solution. It has shown high potential performance improvement. Less than 50% CPU usage and 50% memory usage with 40% disk volume compared to Elasticsearch in the same scale. We are looking for early adoption. Please contact us through slack channels if you are interested in using BanyanDB.
SQL database
H2 is the default storage option in the distribution package. It is recommended to use H2 for testing and development ONLY.
MySQL and PostgreSQL are recommended for production environments for medium scale deployments, especially for low trace and log sampling rate. Some of their compatible databases may support larger scale better, such as TiDB and AWS Aurora.
Elasticsearch+
Elasticsearch and OpenSearch are recommended for production environments, specially for large scale deployments. OpenSearch derived from Elasticsearch 7.10.2 and iterate by its own roadmap.