Quick Start
Run SwanLake and connect with a client.
less than a minute
Prerequisites
- Rust toolchain (for local source builds), or Docker
- Open ports
4214(Flight SQL) and4215(status page)
Run SwanLake Server
From the SwanLake repository root:
RUST_LOG=info cargo run --bin swanlake
Or run the container image:
docker run --rm -p 4214:4214 -p 4215:4215 ghcr.io/swanlake-io/swanlake:latest
Connect with CLI
cargo run --bin swanlake-cli --features="cli"
By default this connects to grpc://127.0.0.1:4214.
Verify Status Page
Open http://127.0.0.1:4215 to inspect:
- active sessions
- latency percentiles
- slow queries and recent errors
Language Examples
- Go ADBC example:
examples/go-adbc - Rust ADBC example:
examples/rust-adbc - Python examples:
examples/python-adbc
Feedback
Was this page helpful?
Thanks. Please open an issue with details.
Please open an issue so we can improve this page.