mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-10 15:22:56 +00:00
d141fbc674b26358617274bb29940cf8acd315fd
* add pwrite * write * fix write * error handling in write thread * wrap some LogFile field to state field * remove some unwraps * reStructure some code * implement file chunk * composite chunk decode * add test for chunk stream * fix buffer test * remove some useless code * add test for read_at and file_chunk_stream * use bounded channel to implement back pressure * reimplement entry read and decoding * add some doc * clean some code * use Sender::blocking_send to replace manually spawn * support synchronous file chunk stream * remove useless clone * remove set_offset from Entry trait * cr: fix some comments * fix: add peek methods for Buffer * add test for read at the middle of file * fix some minor issues on comments * rebase on to develop * add peek_to_slice and read_to_slice * initialize file chunk on heap * fix some comments in CR * respect entry id set outside LogStore * fix unit test * Update src/log-store/src/fs/file.rs Co-authored-by: evenyag <realevenyag@gmail.com> * fix some cr comments Co-authored-by: evenyag <realevenyag@gmail.com>
GreptimeDB
GreptimeDB: the next-generation hybrid timeseries/analytics processing database in the cloud.
Getting Started
Prerequisites
To compile GreptimeDB from source, you'll need the following:
- Rust
- Protobuf
- OpenSSL
Rust
The easiest way to install Rust is to use rustup, which will check our rust-toolchain file and install correct Rust version for you.
Protobuf
protoc is required for compiling .proto files. protobuf is available from
major package manager on macos and linux distributions. You can find an
installation instructions here.
OpenSSL
For Ubuntu:
sudo apt install libssl-dev
For RedHat-based: Fedora, Oracle Linux, etc:
sudo dnf install openssl-devel
For macOS:
brew install openssl
Usage
// Start datanode with default options.
cargo run -- datanode start
OR
// Start datanode with `http-addr` option.
cargo run -- datanode start --http-addr=0.0.0.0:9999
OR
// Start datanode with `log-dir` and `log-level` options.
cargo run -- --log-dir=logs --log-level=debug datanode start
Description
Open-source, cloud-native, unified observability database for metrics, logs and traces, supporting SQL/PromQL/Streaming.
analyticscloud-nativedatabasedistributedgreptimedblogsmetricsmonitoringobservabilityobservability-databaseobservability-datalakepromqlrustrust-databasesqltime-seriestracestsdb
Readme
Apache-2.0
433 MiB
Languages
Rust
99.6%
Shell
0.1%