Repository navigation
Operations
The entry page for running KingresDB: installing a node, upgrading, backing up, watching, reacting and troubleshooting. The first release, 0.1.0, was published on 2026-11-28 (Installing and Packaging says where to download it); everything here describes the packaging and the control plane of that release, and the checks run on developer machines (there is no CI). The boundaries of the first release are collected in Limitations and Known Issues.
| Task | Page |
|---|---|
| Install a node from a package or a container image, first run, files and ports | Installing and Packaging |
| Create a cluster, add servers | Cluster Setup |
| Databases, roles, servers | Servers Databases and Roles |
| Settings of the control plane and of PostgreSQL | Configuration |
| Move buckets between servers | Rebalancing |
| Standbys, failover and switchover (new in this release: test your recovery procedure first) | High Availability |
| Upgrade a package and the extensions | Upgrades |
| Backup by hand, database export and import, restore, and what they mean for the ledger (no automated backup or PITR in 0.1.0) | Backup Restore and PITR |
| Alerts, metrics, logs, audit | Monitoring and Alerts |
| What to do when something breaks | Runbooks |
| Errors and their causes | Troubleshooting |
| Ledger keys, anchoring and the publication | Ledger Signing and Publication, Ledger Anchoring |
| Security design | Security Model |
One package, kingres, installs the server of the built major, the clients (prefixed kingres-), kingresd with the console embedded, kingres-verify and the unit kingres.service. kingresd creates and supervises the PostgreSQL instance, which is an independent process, so a restart of the manager can leave the database running. One unit controls both (Installing and Packaging).
-
Look first at alerts: the console or
GET /api/v1/alerts. A cluster that raisescriticalalerts of the kinds in Monitoring and Alerts needs a Runbooks step. -
Restart only the manager:
systemctl kill --kill-whom=main --signal=SIGTERM kingres. Restart everything (database included):systemctl restart kingres. - Changing settings: from the console or the REST API (Configuration); some PostgreSQL parameters need a restart, which the console marks as pending.
-
Connecting:
kingres-psql -h 127.0.0.1 -p 5432 -U <administrator> postgres. -
Checking the cluster:
SELECT kingres.check_cluster()on the map group primary reports inconsistencies; the ledger is checked withledger_verifyand the standalone verifier (Data Quality and Integrity).
No Patroni, etcd or bundled metrics store (by decision); no automated backup and no point-in-time-recovery configuration; no major-version upgrade path and no rollback; no signature on the packages themselves and no apt or dnf repository (the checksums are signed since 0.1.1); kingres-cli is part of release 0.2.0 (2026-11-30; Command Line Client), not in 0.1.0 or 0.1.1. Rotation of the cluster certificate authority is not built. Packages in 0.1.0 and 0.1.1 are .deb and a container image (amd64, Ubuntu 24.04); 0.1.0 and 0.1.1 have no RPM, and since 0.2.0 there are RPM packages for the RHEL 9 and 10 families and Fedora (Installing and Packaging); there is no arm64.
KingresDB's own code is licensed under AGPL-3.0-only. PostgreSQL code keeps the PostgreSQL License. Copyright of the project's own code: RooyeKhat Media Co. KingresDB is derived from PostgreSQL and is not endorsed by the PostgreSQL project. Repository | Licence | COPYRIGHT
KingresDB
1. Product
- Product Overview and Features
- Status and Roadmap
- User Guide
- Administrator Guide
- REST API Reference
- Web Console
- Command Line Client
- Extensions
- Limitations and Known Issues
- Release Notes
Features in detail
- Sharding
- Sharding Query Pushdown
- Sharding Table Lifecycle
- High Availability
- Ledger
- Ledger Signing and Publication
- Ledger Anchoring
- The Verifier
- Analytics Extensions
Administration
- Cluster Setup
- Servers Databases and Roles
- Rebalancing
- Configuration
- Memory and Warm-up
- Control Plane and REST API
- Upgrades
2. Architecture (arc42)
- Architecture
- Architecture Introduction and Goals
- Architecture Constraints
- Architecture System Context
- Architecture Containers
- Architecture Components
- Architecture Runtime Views Sharding
- Architecture Runtime Views Availability and Ledger
- Architecture Deployment
- Architecture Crosscutting Concepts
- Security Model
- Architecture Decisions
- Architecture Quality Requirements
- Architecture Risks and Technical Debt
- Enterprise Architecture
3. Data architecture
- Data Architecture
- Data Model Sharding
- Data Model Ledger
- Data Model System Database
- Data Model Analytics
- Data Lifecycle
- Backup Restore and PITR
- Data Security
- Data Quality and Integrity
4. Development
- Building from Source
- Development and Testing
- Repository Layout
- Coding Standards
- Branching and Synchronisation
- Testing Strategy
- Review Process
- Release Process
- Contributing
5. Operations