Help Center/ Cloud Search Service/ Getting Started/ Getting Started Through Common Practices
Updated on 2024-10-12 GMT+08:00

Getting Started Through Common Practices

CSS provides you with best practices in different service scenarios and solution architectures, helping you select a proper practice solution based on your service scenario.

Table 1 Common practices

Scenario

Description

Migrating data

Migrating Data Between Elasticsearch Clusters Using Huawei Cloud Logstash

Huawei Cloud Logstash is a fully managed data ingestion and processing service. It is compatible with open-source Logstash and can be used for data migration between Elasticsearch clusters. You can use Huawei Cloud Logstash to migrate data from Huawei Cloud Elasticsearch, in-house built Elasticsearch, or third-party Elasticsearch to Huawei Cloud Elasticsearch.

Migrating Data Between Elasticsearch Clusters Using Backup and Restoration

Migrating Data Between Huawei Cloud Elasticsearch Clusters Using the Read/Write Splitting Plugin

The read/write splitting plugin can be used for data migration only if both the source and destination clusters were created in CSS. It enables near-real time synchronization of index data between Elasticsearch clusters.

Migrating data between Elasticsearch clusters using the CDM service

Migrating the Entire Elasticsearch Database to CSS: Huawei Cloud CDM can be used to migrate clusters between different cloud services.

Migrating data from a Huawei Cloud Elasticsearch Cluster to an OpenSearch cluster

Upgrading the Version of an Elasticsearch Cluster: This method upgrades an Elasticsearch 7.10.2 cluster to an OpenSearch 1.3.6 cluster in CSS. CSS supports cross-engine cluster upgrades.

Migrating data from a database to an Elasticsearch cluster

Using DRS to Import Data from a Database to Elasticsearch: Use this method to synchronize data from a MySQL database to an Elasticsearch cluster. Typically, this method is used for incremental data migration between clusters. After data synchronization, the clusters can be migrated at any time. This allows for more flexibility over other incremental migration solutions.

Accessing a cluster

Elasticsearch Cluster Access Methods

There are many ways to access an Elasticsearch cluster, such as Kibana, Cerebro, cURL commands, and Java, Python, Go, and MRS Hive clients.

OpenSearch Cluster Access Methods

There are many ways to access an OpenSearch cluster, such as Kibana, Cerebro, and cURL commands.

Optimizing cluster performance

Optimizing Write Performance

Before using a CSS cluster, you are advised to optimize the write performance of the cluster to improve efficiency.

Optimizing Query Performance

Before using a CSS cluster, you are advised to optimize the query performance of the cluster to improve efficiency.

Accelerating relational database query

Using CSS to Accelerate Database Query and Analysis

Elasticsearch is used as a supplement to relational databases, such as MySQL and GaussDB(for MySQL), to improve the full-text search and high-concurrency ad hoc query capabilities of the databases.

Building a log management platform

Using CSS to Build a Unified Log Management Platform

A unified log management platform built using CSS can manage logs in real time in a unified and convenient manner, enabling log-driven O&M and improving service management efficiency.

Sorting search results by custom rules

Ranking Search Results Using Elasticsearch Custom Rules

This practice describes how to configure custom rules to rank search results.