commit | 0970b0386662bb477f4d96f1655e726c27f7d3eb | [log] [tgz] |
---|---|---|
author | tison <wander4096@gmail.com> | Wed May 29 10:47:21 2024 +0800 |
committer | GitHub <noreply@github.com> | Wed May 29 10:47:21 2024 +0800 |
tree | 0af80bdfd3a751b1bd436747e03569c16430f424 | |
parent | a1168ecafc0636ea80d2d1154b17bf40b3d64929 [diff] |
docs: Update README.md (#1535)
Apache HoraeDB (incubating) is a high-performance, distributed, cloud native time-series database.
[!IMPORTANT] Apache HoraeDB (incubating) is an effort undergoing incubation at the Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC.
Please read the DISCLAIMER and a full explanation of “incubating”.
docker run -d --name horaedb-server \ -p 8831:8831 \ -p 3307:3307 \ -p 5440:5440 \ ghcr.io/apache/horaedb-server:nightly-20231222-f57b3827
docker compose -f docker/docker-compose.yaml up
See details here.
Create Table.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' CREATE TABLE `demo` ( `name` string TAG, `value` double NOT NULL, `t` timestamp NOT NULL, timestamp KEY (t)) ENGINE=Analytic with (enable_ttl="false") '
Write data with SQL.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' INSERT INTO demo (t, name, value) VALUES (1702224000000, "horaedb", 100) '
Read data with SQL.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' SELECT * FROM `demo` '
Drop table.
curl --location --request POST 'http://127.0.0.1:5440/sql' \ -d ' Drop TABLE `demo` '
Thrive together in Apache HoraeDB (incubating) community with users and developers from all around the world.
dev@horaedb.apache.org
to join HoraeDB slack channelRead our Contributing Guide and make your first contribution!
When develop we benefit a lot from several other open source projects, such as influxdb_iox, tikv etc, thanks for their awesome work.