This guide aims to provide a quick and easy way to get started with RisingWave.
curl
command.
psql
installed in your environment. To learn about how to install it, see Install psql without PostgreSQL.
Open a new terminal window and run:
credit_card_transactions
to store information about credit card usage.
credit_card_transactions
will automatically update fraud_alerts
.
card_123
over the $5000 threshold.
compactor
, frontend
, compute
and meta
are all embedded in this process.
For state store, we will use the embedded LocalFs
Object Store, eliminating the need for an external service like minio
or s3
; for meta store, we will use the embedded SQLite
database, eliminating the need for an external service like etcd
.
By default, the RisingWave standalone mode will store its data in ~/.risingwave
, which includes both Metadata
and State Data
.
For a batteries-included setup, with monitoring
tools and external services like kafka
fully included, you can use Docker Compose instead. If you would like to set up these external services manually, you may check out RisingWave’s Docker Compose, and run these services using the same configurations.
--state-store-directory
) and in-memory mode (--in-memory
).
--state-store-directory
specifies the new directory where the cluster’s Metadata
and State Data
will reside. The default is to store it in the ~/.risingwave
folder.
--in-memory
will run an in-memory instance of RisingWave, both Metadata
and State Data
will not be persisted.
RisingWave
directory.
Start your prometheus instance:
grafana/risingwave-dev-dashboard.json
, grafana/risingwave-user-dashboard.json
.
With that you can now monitor your standalone cluster with Grafana and Prometheus.