Repository navigation
Limitations and Known Issues
This page collects what KingresDB does not do and what it does differently from a single PostgreSQL server. It follows kingres/docs/guide/limitations.md (the authority) and the "Known limitations" of the 0.1.0 section of the CHANGELOG, with detail from the READMEs of the extensions. Each item is a boundary that the design or a review stated, not an accident. Items marked Open are left open by the design. The state is that of the first release, 0.1.0 (being prepared; REST contract 0.34.0).
These are the limits of release 0.2.2 (2026-12-02), which supersedes 0.2.1 (2026-12-02), 0.2.0 (2026-11-30), the first release, 0.1.0, and its patch release 0.1.1 (both published on 2026-11-28). Read this page before you decide what to run on KingresDB. One fault of 0.1.0 is fixed in 0.1.1, 0.2.0, 0.2.1 and 0.2.2 and is not a limit of them: a wrong answer of the pushdown of an outer join that has two distributed tables in one arm, not joined on their distribution keys inside the arm. 0.1.0 is affected; the workaround for it is SET kingres_shard.enable_pushdown = off (switching off only enable_pushdown_join is not enough), and the fix is to replace the package or the image with 0.2.2 on every server and restart. See Release Notes.
The first two are stated in the notes of release 0.2.1 (the section [0.2.1], "Known issues", of the CHANGELOG) and are unchanged in 0.2.2. Nothing is half done and no data is at risk in either of them. A third issue, found after the release of 0.2.1, is fixed in 0.2.2 and is below.
-
A new standby can stay in the state
creatingafter the restart of a primary (seen once in 16 runs of a test on PostgreSQL 19, not on 18; still there in 0.2.2). What you see: the preload task waits ("Waiting for the copy of instance N (standby of group G) on server S") and, after 30 minutes, pauses naming that instance; the Replication page shows no streaming standby for the group, and the standby has a record in the statecreatingwith port 0. The standby task fails every ten to thirty seconds with "standby: connecting to the primary of group G: the primary cannot be reached" although the primary logged that its instance was started a minute before. The cause was found on 2026-12-02: after a restart in the middle of its copy, an unfinished copy without a data directory was never thrown away, so the next repeat could not start again. A fix is under review for the main branches; it is not in 0.2.2. First wait: the standby task repeats the copy by itself. If it lasts more than ten minutes, check that the instance of the primary of that group runs and answers (GET /api/v1/this-server/instanceson its server) and restart that instance (POST /api/v1/this-server/instances/{id}/restart,kingres-cli instance restart); the next repeat of the standby task then connects. A paused preload task is resumed when the copy has finished (POST /api/v1/tasks/{id}/resume,kingres-cli task resume, or the Resume button). -
A rebalance can stop with the safety rule when a catalog change runs during its checks (seen in the release check of 0.2.1 in a test cluster; the code is the same in 0.2.0 and in 0.2.2). The check before each move reads
kingres.check_cluster(); while a standby is registered, a table is distributed, a server is added or another catalog change is synced to the other primaries, it can see a passingcatalog_differson one node. The run then stops withstoppedBysafetyRuleand its task pauses, before any move starts. Start the rebalance again (POST /rebalance, the Rebalance page orkingres-cli) once the change is done; the next check passes. A later release repeats the check before it stops. -
Fixed in 0.2.2: a server that vanishes was failed over slowly in 0.2.1 and earlier (found after the release of 0.2.1; ADR 0060). What follows describes 0.2.1 and earlier. When the host of a primary loses power, its network port goes down or its address stops answering, packets to it are dropped instead of refused. The automatic failover decides on time (about 30 s after the server falls silent), but starts only about 14 minutes later, because every call to the lost server waits for the operating system's connect timeout. It can then stop at the step "Choose the standby" and ask for an operator, because the check of possible data loss judged the age of the last check from the wrong clock. In a test the group still had no primary after 20 minutes. No data is at risk: the old primary is fenced by its lease within about 10 seconds, so the group is unavailable but not wrong. A crash is fine: a server that crashes (its addresses refuse at once) is failed over in about a minute. A failover by hand is not faster: one started from the console or the REST API makes the same calls to the lost server. What lets the waiting failover go on is the lost host coming back, or its addresses starting to refuse (for example its network interface is brought up without
kingresd); if it stops at "Choose the standby", resume it with the data-loss acknowledgement only after you have checked that the standby of the group was synchronous. The fix, in 0.2.2, is a connect timeout for calls between servers, no waiting for a server that the failover already counts as lost, and a data-loss verdict that ages from the last contact of a majority; in the gate tests a vanished primary's group took writes again about 82 s (PostgreSQL 18) and 71 s (PostgreSQL 19) after the loss, a killed server's group about 38 to 40 s, with no acknowledged row lost. Still a limit in 0.2.2: in a cluster of two servers a vanished server pauses the failover for an operator, because no majority is left to judge it; resume it with the data-loss acknowledgement only after you have checked that the standby of the group was synchronous. See Release Notes and High Availability.
Upgrading from 0.2.0. The leader of the cluster decides a change of the preload list. While the leader runs 0.2.1 and another server still runs 0.2.0, the change is refused with 409 server_requirement_missing ("finish the upgrade of every server first"), and a task that was already started fails at its first step with that code, before anything is written or restarted. While the leader itself still runs 0.2.0 there is no such check, and the change runs as in 0.2.0 with its known issue (a standby copied meanwhile can keep the old list). So send no change of the preload list until every server runs 0.2.1. A server that still runs 0.2.0 also refuses the pg_cron settings and CREATE EXTENSION pg_cron, so upgrade every server before pg_cron is set up. See Upgrades.
The notes of 0.2.0 had two known issues. The first is fixed in 0.2.1; the second is unchanged and is still a limit.
-
Fixed in 0.2.1: a standby that is copied while the preload list changes keeps the old list (in 0.2.0: cluster creation, adding a server, raising the replica count, a rebuild after a failover). The preload task,
GET /api/v1/cluster/preloadand the switch plan do not see it, and the alertpreloadDiffersdoes not fire;kingres.check_cluster()reportspreload_differs. A later change of a pgaudit setting fails on that server, and if that standby is promoted before its instance is restarted, auditing is off and every DDL statement fails with "pgaudit must be loaded via shared_preload_libraries". Change the preload list only when every standby is ready, checkcheck_cluster()after any standby copy, and restart the instance that is reported (POST /api/v1/this-server/instances/{instanceId}/restart). If the change is made while the files of a standby that is being copied are not there yet, the task instead fails at "Write the list on server X" with "instance N: open .../kingres-managed.conf: no such file or directory" (preload_rolled_back, "not retryable"); nothing was restarted, the record and the lists of the servers are the previous ones, and the same request sent again when every standby is ready goes through. - Still a limit in 0.2.1: a preload or configuration restart whose stop outlasts the group lease can make the primary lose its lease (several servers; seen on a loaded machine; the group lease is 10 seconds by default). The start gate refuses a fenced primary until the lease manager holds the lease again, so the step is refused, the task fails and puts the previous list back, and the lease manager starts the primary again a few seconds later: safe, but the change has to be repeated.
Found after the release of 0.2.0 and fixed in 0.2.1:
-
Giving a role made without cluster roles the role
kingres_adminfailed with a membership cycle (kingres_adminmanages every role it made, so it was a member of the role). Since 0.2.1 kingresd takes that administration grant away when a role becomes an administrator, and gives it back only to a role it took it from, never to a dangerous role. A role that became an administrator and lost it again under 0.2.0 has no grant; the operator guide shows the two statements a superuser runs to give it back. - The certificate fingerprint reported after a start could name a certificate the server does not serve. Since 0.2.1 it follows the same rule as the TLS listener.
-
The preload issue of 0.2.0 is fixed: a standby copied while the preload list changes gets the new list, the preload change waits for a copy without holding the task engine, and a restart of the instance that holds the system database does not stop the claiming of tasks. The leader refuses a preload change with 409
server_requirement_missingwhile another server still runs 0.2.0 (see "Upgrading from 0.2.0" above); the new known issue of a standby left increatingis described above. The full text is in the limitations of the repository.
- Distributed transactions have no global snapshot (phase 8, in design and not built). See Sharding.
- Failover is new in this release. Test your recovery procedure on your own cluster before you rely on it. See High Availability.
- Anchoring to RFC 3161 authorities and to OpenTimestamps was tested against local fakes only. See Ledger Anchoring.
- There is no automated backup and no point-in-time recovery set-up. See Backup Restore and PITR. Phase 22 plans both; see Status and Roadmap.
-
No global snapshot. A statement that spans shard groups reads each group at its own snapshot. Two-phase commit makes a transaction commit on all nodes or on none, but each node commits at its own moment, so a reader can see a transaction's effects on one group before it sees them on another. In
READ COMMITTEDevery scan node of one statement has its own snapshot, so one statement that scans two distributed tables can see the same node in two states. A read that must see one state of several tables should join them on the distribution key (a join of colocated tables is routed to one group).SERIALIZABLEis serializable per node only. Atomic visibility of distributed transactions for covered read-only statements is phase 8, in design and not built; it would not be a global snapshot. - One ledger chain per shard group, with the aggregate digest of phase 7 over the chains. There is no multi-node ledger with consensus (also phase 8, in design: witnesses and a BFT notary of checkpoints; not built).
-
The distributed scan is slow for large tables by design: it moves rows. It is the fallback that answers every statement correctly (ADR 0022). Pushdown, partial aggregation, sorted streams and colocated joins are faster paths used when their conditions hold;
EXPLAIN (VERBOSE)says why a statement was not pushed. See Sharding Query Pushdown.
| Limit | Detail | Pointer |
|---|---|---|
| One PostgreSQL major per cluster | A cluster runs one major, and there is no move between majors. The package of one major refuses to install over the data of the other | Upgrades, Installing and Packaging |
| Two bases | PostgreSQL 18.7 (kingres-18) and PostgreSQL 19.0 (kingres-19); the same KingresDB code on each |
Branching and Synchronisation |
| Bucket count fixed | The number of buckets is chosen per colocation group when a table is distributed (1 to 4096) and is changed only by kingres.alter_distributed_table, which rebuilds the table in one transaction while writers wait. A bucket can be split, and a split cannot be undone |
Sharding |
| Nodes must agree | The same collation settings and the same version of the extension; a node of another PostgreSQL major is refused | Cluster Setup |
| A session belongs to its server | A client signs in once per server, and a restart ends the session | Web Console |
kingres-cli |
Part of release 0.2.0; 0.1.0 and 0.1.1 have none, so use the console and the REST API there. A session belongs to the server that issued it, there is no package for Windows or macOS, and no shell completion yet | Command Line Client, REST API Reference |
-
Differences from a single node that pushdown makes visible. A cursor without
SCROLLover a pushed ordered statement cannot scan backward (FETCH BACKWARDfails; declare itSCROLL). A pushed statement can fail with the retryableKS001while versions or placement change, and the client repeats it. A floating point aggregate can differ in the last digits, andarray_aggorstring_aggwithoutORDER BYcome in an open order.SET ROLEto a role that cannot log in breaks reads that span groups. -
Not pushed, answered by the scan: grouping sets, a
FULL JOINwith a reference table or without the key equality, aggregates without a combine function in a query that is not closed (json_agg,jsonb_agg,range_agg,xmlaggand others),DISTINCTorORDER BYinside an aggregate, sub-selects, CTEs, views, local tables, tables of two colocation groups, row-level security, row locks. -
Writes.
UPDATE ... FROMandDELETE ... USINGthat read a distributed table and write another table are refused in 0.1.0 and 0.1.1. From 0.2.0 (kingres_shard0.10) they run on the shard groups when the target is a distributed table: the tables of its colocation group that the statement joins to it on the distribution keys, and reference tables, are read where they are; every other relation ofFROMorUSINGis read by the node that runs the statement, at mostkingres_shard.write_from_max_source_bytes(default 64MB, 1MB to 256MB; a read side sent whole counts once for each group), and sent to the group of its key or to every group. A local target that reads distributed tables runs on this node and reads each distributed table through the distributed scan.kingres_shard.enable_write_from(on by default) turns it off. Still refused: a reference table as the target of a statement that reads a distributed table, an update of the distribution column, a sub-select in an expression, and a write that uses a function that is not built in and immutable. There is no global snapshot:READ COMMITTEDre-checks a changed row on its group,REPEATABLE READfails with40001; when several rows of the read side match one target row, one is used. A group that still runs 0.9 does not accept the text of such a write: upgrade every group first.MERGEon distributed tables runs in the shapes the extension README lists; every other shape is refused with the condition named (among others aWITHclause, a sub-select in an expression, a target with a trigger, a rule or row-level security, aMERGEthrough a view, a volatile value, and a source that is a join). -
Repartitioned join. In 0.1.0 and 0.1.1 it moves one table, and a preserved side of a
LEFT JOIN, two moved tables and a closed whole-statement fragment are answered by the complete scan. From 0.2.0 it ships up to three tables, each routed by a join column or sent whole, and a table that an outer join preserves can be shipped (LEFT,RIGHTandFULL JOIN; the NULL-extended rows are emitted once); a join of tables of two colocation groups on their distribution keys is a repartitioned join too; and a closed statement (aGROUP BYorDISTINCTby a distribution key) runs whole on the groups. Not built, and answered by the complete scan with the reason inEXPLAIN (VERBOSE): a statement in which no table can stay, a table with no column to route by on the preserved side of an outer join, aWHEREcondition on only a shipped table on the nullable side, more than three shipped tables, and extension objects in the text.kingres_shard.enable_repartition_join(off,on,force; on by default) andrepartition_max_bytes(default 64MB, capped at 512 MB) are the settings. One version across the cluster: a group on 0.9 refuses a fragment with a routed shipped table (0A000), so upgrade every group first or switch the two settings off meanwhile. The rule for the pushdown of an outer join that 0.1.1 patched is, from 0.2.0, the arm rule: only the equalities that hold for every row of an arm (WHERE, inner joins, outer joins wholly inside it) pair its tables. - Splitting a bucket is refused for a table without a primary key and for a colocation group with a columnar table, and cannot be undone. A distributed schema that holds a ledger table is pinned and cannot move. A rebalance and a drain plan and move distributed schemas as items of the plan; a pinned schema, or one with a table that a move cannot copy, refuses the drain before a task exists.
-
Bucket moves. A move waits for long transactions at its switch, and writers of that group's tables wait for a short moment. A move or split does not drop an old copy that objects of its owner depend on (a view, a materialized view, a foreign key, a function on its row type);
check_cluster()reportsorphan_blockeduntil the dependents are dropped and a cleanup pass finishes the move. -
Settings and nodes.
search_pathof a remote session ispg_catalogfor data statements;session_replication_roleis not carried, and a write while it isreplicaorlocalis refused;moneyvalues are never shipped to another node. Roles, schemas and user-defined types are not synchronised between nodes. A distributed scan, a fragment for another group and a fanned-out write never run in a parallel worker. Generic plans cannot route a statement restricted by a parameter. A write to a reference table needs every node and fails if a group is down; reads are unaffected. - Table lifecycle. Distribute with related tables copies in the blocking mode only, takes the keys between the tables out for the whole task, and has no retry of a failed task (distribute the tables that are still ordinary, colocated with the first one). The closure goes through ordinary tables only.
- Sequences are per node; rows loaded without an identity or serial column from different servers can repeat values.
- Failover, planned switchover (also of the map group), a hard failover of the map group while its server is alive, restore of preferred primaries and automatic failover are built into
kingresd. Failover is new in this release: test your recovery procedure on your own cluster before you rely on it. - The escrow of the certificate authority key is off until an administrator switches it on (the Certificate authority tab of the Security page, or REST). A server that holds a copy can become the authority, so switch it on only when the servers that host standbys of the map group are as trusted as the leader. Without it, after a failover of the map group the new leader raises a critical alert until the operator restores
pki/ca.keyandpki/revoked.jsonfrom a backup of the old leader. - A hard failover or a planned switchover of the map group whose candidate then dies cannot be released through REST when the map group has only one standby (every REST call answers 503). The way out is the local command
kingresd -release-map-hold -lost <serverId> -accept-data-losson the server of the old leader, withkingresdstopped; it needs your word that the loss of data is accepted, and the lost server must never be started again with its old data directory. The failover dialog of the map group in the console has a field to declare the candidate lost (lostServerId). - The REST declaration
lostServerIdworks only with a second standby of the map group, a session that has a SCRAM password (not one mapped from another login), and an old leader whose cache of the administrators' keys is current, of this cluster and younger thanadmin-keys-max-age(72 hours by default). In every other case use the local command. - A drain hands the map group over and a rebalance is held back while a standby lags by more than
maxStandbyLagBytes. - An old leader of a map group switchover that cannot resolve its hold because every other server is gone does not resume by itself; an operator ends the hold with the abandon call once a standby answers. A planned switchover must not run while servers of two versions run.
- Automatic failover is off by default. Two failures at once, and a failure during a rebalance, are not tested on a cluster. A cluster of one server has no failover. Under heavy machine load a planned switchover of the map group can be given up and rolled back (a lease that lapses, or a clean stop that outlasts its bound of 90 seconds): the old leader is started again and the task ends
switchover_unproven; repeat the request. In repeated runs of the cluster tests of switchover, PostgreSQL 19 passed 95 of 95 and PostgreSQL 18 passed 93 of 95 on an overloaded test machine. One of the two failures was a task that failed after the promotion while the promoted instance restarted; the steps after the promotion now wait for the catalog and then pause instead of failing. The other was such a give-up, which is not changed. See High Availability. - A failover cannot restore data that no standby had. The dry run says whether writes may be lost, and a real request must accept that explicitly.
- A server that runs the lease protocol does not start without the program
kingres-watchdog.
-
Time partitioning and storage conversion. Time-partition policies work on ordinary tables and on user-partitioned distributed tables. Storage conversion by hand and approximate aggregates are for ordinary tables; any other table that lives on another shard group's instance is answered 404, and a distributed table is refused by a storage conversion. Conversion and policies are open only for tables of superusers unless the cluster setting
analytics.allowNonSuperuserOwnersis on, and a conversion needskingres_columnarloaded by every instance of the cluster. -
Export and import of a table (CSV) are off by default (
dataTransfer.enabled), need TLS andkingres_admin, take at most 2 GiB of decompressed CSV in one import (256 MiB for a reference table), and have no batches, no skipping of rows and noonError. - Export and import of a database carry no roles, grants, functions, triggers, policies or large objects; a ledger table restarts its chain; the import is refused for a role with a login member that can act as it, and it needs free space for the expanded archive on every server.
-
A database import is limited while it runs. It fails at its last step, and must be run again, when a primary changed during it (a failover or a planned switchover), and at its start when the primaries are not on their preferred servers. A drain, a rebalance, the addition or the removal of a server and a change of a weight or of
shouldHaveShardsare refused (409operation_in_progress) while an import is unfinished. The last step has one commit point, a mark in the task; before it the import can fail cleanly, after it the import only goes forward and is never undone by the system. A committed import that the task engine gives up is paused with a detail that says what to do; repeating the same import request resumes it, and its cancel ends the task as failed and undoes nothing. A server that is dead for good but still a member ends an uncommitted import after 10 minutes. See the section on database import in the operator guide. - A failover of the manager leader at every step of a table transfer or of a database import is not tested on a cluster.
-
Distribute with related tables:
Table.operationshows the operations of the extension of the map group's instance on the server that answers; a table operation of another server's instance is not shown (Open). - A server whose start went back to the last good configuration file at a reboot is not shown as such on its page, and
max_parallel_workersandmax_locks_per_transactionhave no floor in the Configuration page (Open). - The Extensions tab of the Configuration page shows whether each extension is preloaded; the install state of an extension in a database is not shown in the console.
- The SQL editor of the workbench is a plain textarea, the workbench has no read-only mode, and a statement cannot be cancelled after a reload because its id is not kept. See Web Console.
- A session belongs to the server that issued it.
- There is no in-memory table, and a table cannot be pinned in memory. The shared buffers of each instance are a fixed quarter of the memory quota (a server with several instances has several pools); a table is warmed by hand with
pg_prewarmon every node, the warmth is lost at a restart and on a promoted standby, and the automatic prewarm cannot be switched on.huge_pagescannot be set on the Configuration page and a separate WAL directory is refused at the setup. Phase 20 plans a Warm-up section of the console, off until an administrator switches it on. See Memory and Warm-up.
- A check inside the database is relative to a digest that you keep elsewhere. The verifier proves what is in the files you give it and nothing else; it does not prove that a row was not changed later in the table or that no other rows exist. See The Verifier.
- A ledger table cannot be distributed or made a reference table (
create_distributed_tableandcreate_reference_tablerefuse it with SQLSTATEKS016); it cannot be columnar.TRUNCATEis rejected on ledger tables; ledger tables must be ordinary permanent tables (no partitioned, inheriting, temporary or unlogged tables), and there is no conversion between append-only and updatable for an existing table. - A database can be dropped with its ledger by every role that has the privileges of its owner or can
SET ROLEto it; nothing inside the database prevents that. Publication and anchoring are what makes it visible. - Anchoring to RFC 3161 authorities and to OpenTimestamps was tested against local fakes only. In 0.1.0, 0.1.1 and 0.2.0 the scheduled audit of the publication and the check
anchorsofstartLedgerVerificationare not built (the check answers 422unsupported_operation); they are built in release 0.2.1 (phase 18, task 1), and the next bullet says what they do not prove. -
What the check
anchorsand the scheduled audit do not prove (since 0.2.1). They are the server looking at its own evidence, not the independent check: a superuser who controls the cluster, its key files and the system database can change the publication, the key set and the audit together, and the independent check iskingres-verify anchorsrun by an auditor with a trust file of their own. They do not prove that a time is true (it is the word of the store, the authority or the miners), that a Bitcoin header is on the best chain, the revocation status of a time-stamp certificate, the signature on the checkpoint under a key the auditor pinned, or that the signer shows the same history to everyone. The check reads the newest 200 anchor records per run, reports an unreachable store, a repointed target, an expired lock, an OpenTimestamps proof with no checked Bitcoin header, and an anchor that is not final asincomplete, never asok, and gives the server no Bitcoin data (give the header tokingres-verify anchors --btc-header). The audit does not see what was wiped or rolled back before its first audit of a log (the high-water mark begins there), finds an alteration made after its cursor has passed in the next cycle (up to two intervals, 24 hours each by default), does not check the aggregate log against the chain logs (kingres-verify aggregatedoes), and does not compare a log that is already stopped with the database. An altered finding stays until an administrator acknowledges it. Runs against real authorities (phase 18, task 2) are not done. - Not in the first release: an external signer command for the ledger, publication mirrors, and the anchor probe from another server.
- After a restore of the system database the aggregate log and the events cannot be re-derived: the operator accepts the loss, and the logs fork against what was published (Backup Restore and PITR).
- The signing key's passphrase and the private keys must be backed up by you, apart from each other.
-
kingres_columnar: append-only (no update or delete of rows), B-tree indexes only, no TOAST, serial and parallel scans only, no vectorised execution, logical decoding covers inserts only.CREATE INDEX CONCURRENTLYandREINDEX CONCURRENTLYon columnar tables are refused. Up to about 8.8 x 10^12 rows per table. -
kingres_columnarWAL id: resolved. It logs under the resource manager id 255, registered forKingresColumnaron the PostgreSQL wiki list of custom WAL resource managers. WAL that a development build wrote under the experimental id 128 is not replayed by the release. -
The library is preloaded by
kingresd(shared_preload_libraries = 'kingres_shard,kingres_ledger,kingres_columnar,pg_stat_statements'), but the list takes effect only at a restart of each instance. A library whose file the installation does not have is left out of the list (kingres_columnarandpg_stat_statementsare the optional ones). An instance of a package that was made before this change gets the new list whenkingresdstarts, and runs without the library until it is restarted: a columnar table is then read, but creating one, a write, and every conversion are refused with a message that namesshared_preload_libraries. Restart standbys of a group before its primary. See Installing and Packaging. - Columnar tables in
kingres_shard0.9: a hash-distributed table can be columnar and bucket moves carry the access method (runkingres.columnar_compactafterwards, the move does not compact). The online variants of the table operations and a bucket split are refused for a columnar table, a reference table is always row storage, and columnar tables in a distributed schema are not tested. -
kingres_sketchaggregates (distinct count, top-n, percentiles) are approximate by design and can be computed in part by the shard groups. Withkingres_shard.count_distinct_mode = 'approximate'acount(DISTINCT x)over a hash-distributed table is rewritten to an approximate one. -
kingres_timepart0.3 works on ordinary tables and on user-partitioned distributed tables. AREPEATABLE READorSERIALIZABLEtransaction whose snapshot is older than a conversion and has not read the table yet sees the converted partition empty. Retention and conversion of columnar partitions needkingres_columnar0.2 on every server; a mixed cluster is not checked bypartition.maintain. See Analytics Extensions.
- Debian package and container image, amd64, Ubuntu 24.04 only in 0.1.0 and 0.1.1: neither has an RPM. Since 0.2.0 there is also an RPM per major for the RHEL 9 family, the RHEL 10 family and Fedora 44 and 45, amd64, one file per system, with pgvector and pgaudit inside. They were built and tested in containers of AlmaLinux 9, AlmaLinux 10.3, Fedora 44 and Fedora 45, not on Rocky Linux or RHEL themselves, not on Fedora 43 or earlier, not RHEL 8, not CentOS Stream, and not with SELinux enforcing: the test kernel has no SELinux, so "no policy module is needed" comes from an analysis of the policy of each system with
sesearch, not from a run. No arm64, no Windows server. No-dbgsympackage, nokingres-devpackage, no source RPM. - The packages and images are not signed, there is no apt or dnf repository, no RPM signature or source RPM, no SBOM, and the images of the releases are on Docker Hub (
kingres/kingres), not in a registry of the project. TheSHA256SUMSof 0.1.0 is not signed; since 0.1.1 the checksums (kingres-SHA256SUMS) are signed with the release key. -
Third-party extensions (phase 15, released in 0.2.0). The registry, the refusals (
KE001,KE002) and the cluster-wideCREATE,ALTERandDROP EXTENSIONare part of 0.2.0; 0.1.0 and 0.1.1 have none of it. Only three third-party extensions are bundled (pgvector and pgaudit since 0.2.0 and pg_cron since 0.2.1, in the Debian package, the image and the RPM packages): pgvector queries on a distributed table are answered by the complete scan, and pgaudit is per node (see Extensions). pg_cron is not part of 0.2.0 (built and then withheld: it could not be switched on through the control plane), and in 0.2.0CREATE EXTENSION pg_cronis refused withKE002. Since 0.2.1 pg_cron is bundled again and can be switched on after two restarts (preload, then the threecron.*settings at the cluster level). Its limits: one scheduler on the primary of the map group, working in the one database ofcron.database_name(notpostgres); jobs run as their owner as background workers, sopg_hba.confandVALID UNTILdo not apply to them and a job outlives a change of its role; akingres_adminmember can schedule only its own jobs (cron.schedule_in_databaseandcron.alter_jobstay with the superuser); the database of pg_cron cannot be dropped, and a preload library cannot be removed, while the values are stored (409); a database dropped in SQL on a server leaves the launcher restarting about every second until the setting is removed and the server restarted; a server that still runs the 0.2.0 build refuses the settings and the extension, so upgrade every server first. The table rules (KE005), the schema rule and the feature locks inside the other KingresDB extensions are built, and queries on pgvector or PostGIS types have no pushdown. After an upgrade of a database from PostgreSQL 14 or older,CREATEonpublicfor everyone must be revoked before an extension can be made (schema rule,KE005). Citus, TimescaleDB,pg_partman,postgres_fdw,dblink,pg_repackandpg_ivmare refused. See Extensions. - No Patroni, no etcd and no bundled metrics store (by design: ADR 0021, ADR 0020).
- No automated backup, no point-in-time recovery archive configuration, and no backup of the certificate authority key.
- The compose cluster is for development; its test does not exercise removing a server, failover, switchover or rebalance.
- No NLS, GSSAPI, LDAP, PAM, JIT or procedural languages other than PL/pgSQL are built in, in any release (0.1.0, 0.1.1 and 0.2.0). Phase 16 designs them (GSSAPI, LDAP, PAM, PL/Python, PL/Perl and JIT on, PL/Tcl and NLS only on request, decided 2026-11-29) and has built none of it; see Status and Roadmap. So
pg_hba.confhas nogss,ldaporpammethod. - The container image listens on
0.0.0.0:8091over plain HTTP and accepts setup from other machines, guarded only by the setup token: publish it on127.0.0.1or put TLS in front. The database port 5432 also listens on0.0.0.0inside the container.
- KingresDB is derived from PostgreSQL. It is not PostgreSQL and is not endorsed by the PostgreSQL project. The name deliberately avoids the PostgreSQL marks, and a legal review of the name is still open.
- The licence of KingresDB's own code is the GNU Affero General Public License, version 3 only; PostgreSQL's code keeps the PostgreSQL License (ADR 0024).
- The custody of the verifier's release signing key is the project owner's decision and is not made yet.
- kingres/docs/guide/limitations.md
- kingres/CHANGELOG.md
- kingres/README.md
- contrib/kingres_shard/README.md
- contrib/kingres_ledger/README.md
- contrib/kingres_columnar/README.md
- contrib/kingres_timepart/README.md
- contrib/kingres_sketch/README.md
- kingres/control-plane/README.md
- kingres/web/README.md
- kingres/packaging/README.md
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