Database Fault Tolerance: System Clock Failure

This article discusses the CnosDB system clock failure and proposes a solution to the system clock failure in a stand-alone environment and a cluster environment, which has very important guiding significance. Database fault tolerance: system clock failure   Discussions arising from situations that may not exist One day, CnosDB intern Xiao Shao was designing time-sequential …

Database Fault Tolerance: System Clock Failure Read More »

CnosDB 2.3.4 Apus released! #Database Update #Performance Optimization #Problem Fix

Recently, the CnosDB team has released a series of exciting updates to improve user experience and system performance. Here are some of the important changes : New Function Adapt to Vector. [#1618] Added increase function, http_limiter and metrics: [#1629] Route write requests and SQL requests to the query server: [#1760] Support HTTP compression: [#1762] Support dump DDL: [#1782] Starting services via configuration: [#1789] …

CnosDB 2.3.4 Apus released! #Database Update #Performance Optimization #Problem Fix Read More »

Connect to CnosDB through DBeaver

Hey database explorers: How could you avoid using DBeaver in your CnosDB journey? Let me teach you step by step how to do it once and for all. Connect to CnosDB through DBeaver   Adding Arrow Flight SQL’s JDBC driver to the DBeaver driver can be downloaded here: https://mvnrepository.com/artifact/org.apache.arrow/flight-sql-jdbc-driver/13.0.0  1. Add driver 1. In the menu bar, …

Connect to CnosDB through DBeaver Read More »

CnosDB Data Update and Deletion

In time series data, data errors or anomalies may occur. At this time, the data needs to be cleaned and repaired. If the update operation is not supported, it will become very difficult. In addition, some business scenarios may require adjustments to existing data, such as changes in device information. Supporting data updates provides greater …

CnosDB Data Update and Deletion Read More »

Lessons From RocksDB in Large-scale Distributed System Applications

  RocksDB is a high-performance persistent key-value storage engine created by Facebook in 2012. It is based on Google’s LevelDB code. RocksDB is LSM-based, optimized for SSDs, and serves as a storage engine for multiple databases. It is used in stream processing, log queue services, index services, and SSD caching. Engine Architecture MemTable and WAL …

Lessons From RocksDB in Large-scale Distributed System Applications Read More »

Efficient Data Transmission: Easily Connect Kafka Real-time Data to CnosDB

In this article, we will mainly introduce how to implement a Kafka+Telegraf+CnosDB synchronous real-time acquisition and storage solution of streaming data in the Ubuntu 22.04.2 LTS environment. In this operation, the CnosDB version is 2.3.0, the Kafka version is 2.5.1, and the Telegraf version is 1.27.1 Efficient data transmission: Easily connect Kafka real-time data to CnosDB …

Efficient Data Transmission: Easily Connect Kafka Real-time Data to CnosDB Read More »

How Does CnosDB Ensure the Final Consistency of Multi-step Operations?

In time-series databases, the operation of resources is a complex and crucial task. These operations often involve multiple steps, each of which may fail, leading to an inconsistent state of resources. For example, a user might want to delete a tenant in a CnosDB cluster, an operation that may require the deletion of various resources …

How Does CnosDB Ensure the Final Consistency of Multi-step Operations? Read More »

Understanding Time Series Data Processing Functions in CnosDB

CnosDB is a database specialized in time series data processing, designed to address storage and analysis challenges related to time series data. It provides efficient management and querying of time series data for users. To achieve this goal, CnosDB implements a series of dedicated functions, including the following categories: stats_agg Usage The stats_agg function is …

Understanding Time Series Data Processing Functions in CnosDB Read More »

Time Series Data Compression Algorithms

This article provides a brief introduction to the origin of time series compression tasks, classifies compression algorithms, and gives a brief overview of the advantages and disadvantages of common compression algorithms. Coding enthusiasts, come and explore the details! Introduction Time series data is a fundamental data type generated in various applications and fields such as …

Time Series Data Compression Algorithms Read More »

Evolutionary Journey of Master-Replica in CnosDB

The complexity of distributed storage systems involves issues such as data disaster recovery, consistency, high-concurrency requests, and large-capacity storage. This article combines the evolutionary history of CnosDB in a distributed environment, sharing insights on applying distributed theory to practical production, as well as the advantages, disadvantages, and application scenarios of different implementation methods. Distributed System …

Evolutionary Journey of Master-Replica in CnosDB Read More »