Multi-node TimescaleDB allows you to tie several databases together into a logical distributed database to combine the processing power of many physical PostgreSQL instances.
One of the databases exists on an access node and stores metadata about the other databases. The other databases are located on data nodes and hold the actual data. In theory, a PostgreSQL instance can serve as both an access node and a data node at the same time in different databases. However, it is recommended not to have mixed setups, because it can be complicated, and server instances are often provisioned differently depending on the role they serve.
For self-hosted installations, create a server that can act as an access node, then use that access node to create data nodes on other servers.
When you have configured multi-node TimescaleDB, the access node coordinates the placement and access of data chunks on the data nodes. In most cases, it is recommend that you use multidimensio

本文介绍了如何搭建TimescaleDB的分布式集群,包括添加数据节点和创建分布式表。TimescaleDB利用多节点将多个PostgreSQL实例组合成逻辑分布式数据库,通过访问节点协调数据节点上的数据分布和访问。推荐为访问节点和数据节点分别配置不同的服务器,以避免复杂性。文中展示了添加数据节点的SQL命令以及创建分布式表的过程。
最低0.47元/天 解锁文章
923

被折叠的 条评论
为什么被折叠?



