'How to duplicate a TDengine cluster?
I want to keep two TDengine clusters and make them with the same data synced. How can I make it without changing my application?
Solution 1:[1]
You can use the following SQL command to modify database replication:
ALTER DATABASE db_name REPLICA 2;
Refer to the official documentation: REPLICA parameter refers to the number of replicas of the modified database, and the value range is [1, 3]. For use in a cluster, the number of replicas must be less than or equal to the number of DNODE.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Shuduo |
