This page describes Calíope 1.8, the version I am building right now. 1.7 is on the App Store for the Mac, iPad, iPhone, Apple Watch, Apple TV and Apple Vision Pro. The changelog says which version each feature landed in.
Adds an “Open in Calíope” button to every topic. It only works with the app installed.
The replication of the machine you’re connected to, seen from inside: receiving, applying, lag, errors and log position.
Where it is: Workspace › Tools › Replication Monitor
The Replication Monitor shows how the server you’re connected to replicates, seen from inside: whether it is receiving the changes from its source, whether it is applying them, how far behind it is and how far it has got in the log. It reads it again every 5 seconds. Who reads from whom across the whole group is shown by the Topology.
How to open the monitor:
In the Tools sidebar, press Replication Monitor (circular arrows icon). The monitor opens in a new tab.
Main indicators:
Receiving: whether this server is receiving the changes from its source. Next to it goes the name the engine gives it and, below, the state as the server reports it; it is only green while it receives.
Applying: whether it is applying them, also with the engine’s name and its state.
Lag: seconds behind the source.
Green — under 5 s
Orange — 5 s to 30 s
Red — 30 s or more
When the server gives no figure, the card says No reading and, when it is known, why: a zero would say “in sync” of a replica that isn’t applying anything.
Source server: the server this replica reads from.
Log position: how far it has received and how far it has applied, in the engine’s unit. While the two differ, there are changes received and not yet applied.
Channels: a replica that reads from several sources adds the Channels section, with one row per channel: its source, receiving, applying and the lag. The cards above are those of the default channel or, if no channel is unnamed, of the first one.
Errors: if replication stops on an error the server publishes, the Replication errors section appears with its full message.
Full status: everything the server returned, with its raw value, including what the cards don’t show.
Auto-refresh: the Auto-refresh (5 s) switch reads the status every 5 seconds, and Updated says when it was last read. Turn it off to keep a static reading, and press Refresh to read it again whenever you want.
Lag alerts: if the lag reaches the threshold configured in Server Alerts (see topic Server Alerts), a system notification is sent.
The monitor only reads: it doesn’t start or stop replication. On a server that isn’t a replica —a primary or a standalone server— it says Server is not a replica, names what it asked and offers Open the Topology, which draws who reads from it.
If the connection’s account can’t read the replication status, nothing is claimed: a strip above says what couldn’t be read and which privilege is missing. If nothing was read, the cards aren’t drawn and the lag alert doesn’t fire; if part was read, what was read is drawn and the rest shows No reading.
MySQLMariaDBAurora
With MySQL, MariaDB and Aurora the monitor reads SHOW REPLICA STATUS (SHOW SLAVE STATUS before MariaDB 10.5 and MySQL 8.0.22): receiving is the IO thread (Yes, No or Connecting), applying is the SQL thread, the lag is Seconds_Behind_Source, and the position is the source’s binary log file with the position read and the one executed. The channels are MariaDB connections by Connection_name and MySQL channels by Channel_Name; in MariaDB the monitor reads SHOW ALL REPLICAS STATUS, because SHOW REPLICA STATUS only gives the default connection. The full status brings the GTID positions, Master_Server_Id (which machine this replica reads from) and the configured delay.
PostgreSQL
With PostgreSQL the monitor reads pg_stat_wal_receiver on a standby and pg_stat_subscription for logical subscriptions. For a standby it gives two lag figures: the seconds since the last applied transaction and, below, the WAL bytes received and not yet applied, which is what is really missing: with no writes on the primary the seconds grow on their own even when nothing is missing. The position is the received and the applied LSN; with replay paused (pg_wal_replay_pause()), applying shows as stopped. Each logical subscription is a channel, with its state: Running, Disabled or No worker running. primary_conninfo, which can hold the password, is never read. Without pg_monitor the account sees only part of the receiver: receiving shows No reading, never “stopped”, and the strip brings the GRANT pg_monitor TO … statement that grants it.
SQL Server
With SQL Server the monitor reads sys.dm_hadr_database_replica_states on a secondary of an Always On availability group, with one channel per database in the group: receiving is the HADR transport (CONNECTED), applying is redo (SYNCHRONIZED, SYNCHRONIZING, or SUSPENDED with its reason), and the position is the hardened and the redone LSN. The lag shows No reading, with “Only the primary computes it”: a secondary doesn’t know its own. Below go the two queues in bytes, the send queue and the redo queue. On the primary or without a group it says it isn’t a replica. It needs VIEW SERVER STATE. Transactional replication and log shipping aren’t read.
Oracle
With Oracle the monitor reads V$DATAGUARD_STATS, V$DATABASE and V$TRUE_CACHE on a True Cache or a standby: receiving is redo transport, with the cache’s state (HEALTHY); applying is redo apply, with the open mode (READ ONLY WITH APPLY); the lag is the apply lag, and the transport lag goes in the full status; the source is the PRIMARY_DB_UNIQUE_NAME. The server doesn’t give the received position, and the applied one is the SCN. The cache doesn’t publish an error’s text. It needs SELECT_CATALOG_ROLE. Data Guard against a physical standby is read through the same views, but it has only been measured with True Cache: the Free edition brings nothing else.
ClickHouse
With ClickHouse there is no source server and no threads: replication is per table. The monitor shows four cards —replicated tables, Keeper, the worst lag in seconds and the queue in entries— and one row per Replicated* table with this replica, how many replicas are active out of how many, the missing ones by name, the status in words —up to date, lagging, a replica isn't answering, read-only, session lost with Keeper— and the lag and the queue separately. A replica that loses its session with Keeper (is_session_expired) stays read-only until it gets it back. With no replicated tables, the monitor says so.
MongoDB
With MongoDB this tool isn’t offered: what it would say about one member —its role, whom it copies from and its lag— the server gives for the whole set in a single answer, and it is that member’s row in the Topology.
RedisValkey
With Redis and Valkey this tool isn’t offered: each node’s role, whom it reads from and its lag in bytes are in their own Topology tab.
TiDB
With TiDB this tool isn't offered: TiDB replicates inside its own storage (TiKV, with Raft), with no MySQL replicas to watch, and SHOW REPLICA STATUS doesn't exist. The cluster's health is shown by TiDB Dashboard.
CassandraScyllaDBElasticsearchOpenSearch
With Cassandra, ScyllaDB, Elasticsearch and OpenSearch this tool isn’t offered: there’s no primary with replicas following it. The copies belong to each partition or each shard, the cluster itself spreads them, and its Cluster tab shows them.
Keywords: replication, replica, slave, master, lag, receiving, applying, io thread, sql thread, show replica status, pg_stat_wal_receiver, standby, always on, true cache, data guard, auto-refresh, replication error
The whole replication group at a glance: what the session’s server says, or a group you declare.
Where it is: Workspace › Tools › Topology
It lives alongside the Replication Monitor and doesn’t replace it: that one shows the machine you’re connected to, seen from inside; this one shows the group: who is the primary, who reads from whom and how each one is doing. It only reads.
Two modes, in the bar’s picker.
This server draws what the session’s server says —itself, whom it reads from and who reads from it— without connecting to anyone else, and the header says so, with the views or commands it read. The topic “The Topology from this server” tells it engine by engine.
A declared group is one you declare, with Declare groups, choosing the primary and its replicas from your saved connections, and Calíope asks each member with its profile. It is only needed where no server can tell the whole group: MySQL, MariaDB, Aurora and PostgreSQL. The topic “Declaring a replication group” tells how.
Who says so. In the table, each node carries where what is known about it comes from, in the Reported by column: “This server” if it is the session; “Asked directly” if Calíope talked to it; or “Reported by …; not asked” if another server tells it. What wasn’t asked isn’t taken as checked.
Which machine is the primary and which are the replicas isn’t guessed. The view from this server creates or changes no group and saves nothing; a declared group isn’t detected: detection would only see what’s connected right now, so it would produce groups that change on their own and you couldn’t tell “this replica is no longer in the group” from “this replica is down”.
What a declared group does do is contradict you: if the primary can’t see a replica you declared, if a replica points at another server or, in PostgreSQL, if a member isn’t a copy of that primary, you’re told.
A replica that reads from another replica of the group — a cascade — is not a contradiction: the diagram draws its arrow from that replica, and the primary only counts the ones that read from it.
What it opens. If you don’t pick anything, the tool opens the declared group of the server you opened it from —as primary or as replica— and, if it is in none, This server, first in the picker. In the diagram, a member’s name that would run into its neighbour’s is cut short with “…”; the whole name is in the table, and it is what VoiceOver reads.
A member not answering is a normal state of the group, not an error: you’ll see “7 of 9 reached”, with the two missing ones named and their reason.
A member that answers but whose account can’t read its replica status, its log or the replicas it has connected isn’t shown as unreachable or in red: it shows No data, with what wasn’t read in its detail, and a strip above the group says what was missing from whom: in the server’s words if it returned an error, and with the missing privilege if it answered only in part, like PostgreSQL without pg_monitor. No contradiction is worked out from what wasn’t read. Each member connects with the account of its connection.
PostgreSQL
With PostgreSQL both modes work. This server draws the standby and its primary as the receiver tells it, or the primary with the replicas connected by their slot and each slot with nobody connected, in amber. A declared group follows the cascade by the name each replica introduces itself with and measures the drift in WAL bytes.
SQL Server
With SQL Server the group is declared by the server: This server draws the whole availability group, one node per replica, and there’s no button to declare.
Oracle
With Oracle, This server draws True Cache and its primary; from the primary, only the caches connected right now. There’s no button to declare.
MongoDB
With MongoDB, This server draws the whole replica set, which the server declares; there’s no button to declare, and no Replication Monitor.
ClickHouse
Opened from a ClickHouse session, the topology isn't declared by you: the server declares it in system.clusters, and it shows under This server, as with the other engines. There's one group per cluster and shard —default too, with a single node, which a note points out—, with one box per replica and the table below; above each group, how many replicas answer out of how many. Who answers is asked by the server of its replicas, not by Calíope, and each one brings its lag and its queue; one that doesn't answer shows in red, “Does not respond to the server that declares it”, and what Keeper says about it goes in a note. Nobody reads from anybody: replication is per table. It only reads. A ClickHouse profile isn't offered in the group editor.
RedisValkey
With Redis and Valkey the topology is their own Topology tab, with the same view: the topic “The server topology” tells it.
TiDB
With TiDB the topology isn't offered, for the same reason as the Replication Monitor: TiDB replicates inside its own storage, with no MySQL replicas. A member that turns out to be a TiDB —even one saved as MySQL— shows as not reached, with that reason, and a TiDB profile isn't offered in the group editor.
CassandraScyllaDBElasticsearchOpenSearch
With Cassandra, ScyllaDB, Elasticsearch and OpenSearch the topology isn’t offered: there’s no primary and no replicas following it, and the copies the cluster spreads are shown by its Cluster tab.
With no declared group, the Topology draws what the session’s server says about itself, without connecting to anyone else.
Where it is: Workspace › Tools › Topology
This server, in the picker of the Topology bar, draws what the server you’re connected to says: itself, the server it reads from and those that read from it. It doesn’t connect to any other, not even to its primary: what it knows about the others is what this server tells about them. The header says which views or commands were read and whether it is “Only what it sees connected right now.” or “The whole set the server declares.”
Below go the diagram —each node under the one it reads from, with a solid arrow if it receives and applies, and a dotted one if not— and the table with the same, which is what VoiceOver reads. In the Reported by column this server is “This server”, and the others “Reported by …; not asked”. Tapping a node opens everything the server said about it, and Refresh reads it again.
A node that isn’t there may still exist: a server only sees the replicas connected at that moment. Where the engine can’t tell the whole group —MySQL, MariaDB and PostgreSQL—, to watch all of it you declare it with Declare groups.
If the account can’t read something, the node shows “Its replication could not be read: the notes say what was missing”, never “reads from nobody”, and a note says what was missing and, when known, the statement that grants it.
MySQLMariaDBAurora
It reads @@server_id; SHOW REPLICA STATUS —in MariaDB, SHOW ALL REPLICAS STATUS— to know whom it reads from on each channel; and SHOW REPLICAS —SHOW REPLICA HOSTS in MariaDB— for the replicas connected right now. In MySQL it needs REPLICATION CLIENT and REPLICATION SLAVE; in MariaDB, SLAVE MONITOR and REPLICATION MASTER ADMIN. Without them the node shows that its replication couldn’t be read, with the server’s text.
PostgreSQL
On a standby it reads pg_stat_wal_receiver: the source as the receiver tells it (sender_host:sender_port) and, with the receiver down, “Source configured, not connected now” and a dotted arrow. From any server, pg_stat_replication gives the connected replicas, by their slot, with their state and the bytes they are missing, and pg_replication_slots each slot with nobody connected, in amber, with the “WAL it retains”: a forgotten slot fills the primary’s disk. That is also how the cascade shows: a standby that serves others. pg_monitor covers it all; without it there is no error, only empty fields, and the note brings GRANT pg_monitor TO …. primary_conninfo is never read. In Aurora, the replicas that share the storage don’t go through these views, and a note says so.
SQL Server
It reads sys.availability_replicas and the sys.dm_hadr_* views: the whole availability group, one node per replica and, per database, its state, its queues and its lag. From the primary comes the state of each secondary; from a secondary, the other replicas show “Only the primary knows its state”. A disconnected secondary shows as critical, with the connection error and no figure. It needs VIEW SERVER STATE: without it come the catalog’s replicas and a note with its GRANT. Without Always On, the server shows alone, with its note.
Oracle
It reads V$DATABASE, V$ARCHIVE_DEST_STATUS, V$TRUE_CACHE and V$DATAGUARD_STATS. From the primary, each True Cache connected right now, with its state, its GAP_STATUS and the SCN difference, which isn’t a lag; from the cache, itself and its primary. A cache that is down disappears from the primary —it registers itself on connecting—, and that is why a primary with no caches says it has no replica connected right now, not that it has no group. It needs SELECT_CATALOG_ROLE: without it, the note with its GRANT.
MongoDB
It reads hello and replSetGetStatus on any member, and replSetGetConfig and getParameter if it can: the whole set, one node per member, its role and whom each copies from (syncSourceHost, which the server picks: a cascade can appear or disappear on its own). The lag is the optimeDate difference with the primary, and with no writes it jumps to 10 s for a moment —the periodic no-op write—: below the larger of the heartbeat and that write it shows in grey and doesn’t warn. A member that is down shows as critical, with its heartbeat’s message. It needs clusterMonitor: without it, the members hello names, with no state, and the note with the statement that grants the role. A standalone server or a mongos say so in a note.
ClickHouse
It reads system.clusters and, on each replica, system.replicas through clusterAllReplicas: one group per cluster and shard, with each replica’s lag and queue. Who answers is asked by the server, not by Calíope. It needs SELECT on system.clusters, system.replicas and system.macros, and READ ON REMOTE.
RedisValkey
With Redis and Valkey this view is their own Topology tab: the topic “The server topology” tells it.
TiDBCassandraScyllaDBElasticsearchOpenSearch
With TiDB, Cassandra, ScyllaDB, Elasticsearch and OpenSearch there’s no Topology: TiDB replicates inside its storage, with Raft, and the others spread their copies by partition or by shard, with no primary to follow.
“Seconds of lag” lies, so next to it goes what is missing in the engine’s unit: GTID transactions or WAL bytes.
Where it is: Topology › Lag
Lag in seconds says how long ago the last applied change was, not how much is left to apply, and it misleads in several ways:
With receiving stopped the server has nothing to work it out from. Here you’ll see “No reading”, not a zero: a zero would say “in sync” of a disconnected replica.
In MySQL and MariaDB, Seconds_Behind_Source measures the event being applied: a replica that has just reconnected after a long outage can say 0 while hours of binlog are still missing.
In PostgreSQL it’s the other way round: with no writes on the primary, the time since the last applied transaction grows on its own even when nothing is missing, and with replay paused the primary can keep saying half a second.
That’s why the drift goes next to it: what the primary has that the replica hasn’t applied, in the engine’s unit. In MySQL and MariaDB they are GTID transactions; when replication goes by binlog position and not by GTID there’s nothing to compare, and that is said too. In PostgreSQL they are WAL bytes: the primary’s position (pg_current_wal_lsn()) minus the one the replica applied.
A primary that writes keeps advancing while the replicas are being asked, so the primary is read twice, before and after the poll, and what it advanced between the two is the floor: a difference below it is the gap between two readings, not a lagging replica, and it shows in grey with the advance next to it. Only above it is there a warning, in amber. Without both readings there’s no floor, and the figure is shown without judging it. A PostgreSQL replica with replay paused shows as critical even when the lag says 0.
On the other engines the Topology shows the lag the server gives; MongoDB and Redis measure it against their own floor, and the topics “The Topology from this server” and “The server topology” tell it.
You pick which of your saved connections is the primary and which are the replicas.
Where it is: Topology › Declare groups
A group is declared from the tool itself: the Declare groups button in its bar. It isn’t in the server monitor’s settings, which is another tool with another switch.
Only where it’s needed. Groups are declared for MySQL, MariaDB, Aurora and PostgreSQL, because there no server can tell the whole group: a replica doesn’t know its siblings and the primary only sees the connected ones. With SQL Server, Oracle, MongoDB, ClickHouse, Redis and Valkey the tool reads what the server itself says, and in a session of theirs the button isn’t there: This server is enough.
Members come from your saved connections: you pick one as the primary and add the others as replicas, in the order you want to see them. You need at least two saved connections —one for the primary and one for its replica—; if you don’t have them, save them first in the connection manager.
A group belongs to one family. A PostgreSQL replica doesn’t read from a MySQL primary: the editor offers the replicas of the chosen primary’s family —with no primary, of the first replica’s—, and choosing a primary of another family removes those that aren’t of it. Connections of an engine the tool can’t probe don’t appear in the list, and their engines are named below the replicas, so it’s clear why they’re missing. If a member already saved can no longer be probed, the group keeps showing it, not reached and with the reason.
Calíope doesn’t guess the topology: detection would only see what’s connected right now, so groups would change on their own and you couldn’t tell “this replica is no longer in the group” from “this replica is down”. What it does do is contradict you when the primary can’t see a replica you declared.
Each group carries its own poll interval and its own switch: turning it off stops the polling without deleting the topology. And if you delete a connection that was a member, the group does not disappear — it is flagged, and you are told which members were removed.
It can also come in a file. An imported connections file can bring its replication groups already declared: they arrive with its connections, with the members translated to the connections that were imported, and the import confirmation says how many are added, updated or removed. A member the tool can't probe is left out, and a group left without a primary or without replicas isn't imported: it is named. If you import the same file again and choose to update it, the group is updated in place and keeps its switch; if you add it as a copy, a group that's already there isn't duplicated, because it would probe the same machines twice. If the monitor's configuration is still downloading from iCloud, the groups aren't imported, and you're told.
TiDB
A TiDB connection is not offered as a member: TiDB replicates inside its own storage, with no MySQL replicas, and the editor says so under the replicas.
A row of the replicas table opens everything about that member: roles, channels, drift and last errors.
Where it is: Workspace › Tools › Topology
Click or tap a row in the replicas table —or activate it with VoiceOver or the keyboard— to open everything about that member: the declared and the observed role, the address, the version and when it was measured. For each channel it shows the source, the lag, Receiving and Applying, the log file and position —the binlog in MySQL and MariaDB; in PostgreSQL the WAL file shows “—” on a replica, which can’t name it, and the position is the received LSN—, the drift and, in MySQL and MariaDB, the last IO and SQL errors with their code. On the primary it adds the state of its log —in PostgreSQL, the WAL file, the offset within it and its LSN— and how many replicas it sees connected.
The drift reads in one of four ways: in sync; behind, in amber when the gap is significant; within what the primary advanced during the poll; or not comparable. It goes in the engine’s unit: GTID transactions in MySQL and MariaDB, WAL bytes in PostgreSQL.
If the member’s account couldn’t read something, a strip at the top says so —in the server’s words, or with the missing privilege if it answered only in part—, the observed role shows “—” and the number of connected replicas isn’t given.
At the bottom, Previous and Next go through the members, Copy copies a technical summary and Done closes. A member that has left the group says so.
Read the server's change log —Binary Log, WAL, Oplog, Redo Log, Transaction Log or Part Log— event by event, filtered by class (DDL, DML, System) and by text.
Where it is: Workspace › Tools › Change Log
Reads the server's change log under the name each engine gives it: the Binary Log of MySQL and MariaDB, the WAL of PostgreSQL, the Oplog of MongoDB, the Redo Log of Oracle, the Transaction Log of SQL Server and the Part Log of ClickHouse. In each session, the tool carries the name of its own.
It is the server's record of every change: what replicas copy and what point-in-time recovery replays. The viewer reads it from the app, without the command-line utilities.
How to open it:
In the Tools sidebar, press the name of your engine's log (scroll icon): it sits in Diagnostics & Performance in a relational session and in the MongoDB group in a MongoDB one. It opens in a new tab and reads the newest file straight away. Where there is no session —the tool catalog, the sidebar customizer— it is called Change Log.
Usage:
File: lists the server's log files with their size and whatever the engine says about each one (whether it is in use, for example). Choosing one reads its events. With a single file there is nothing to choose: its name and size show instead.
Limit is how many events are read (100 to 2000). Changing it reads the file again. MySQL and MariaDB read from the start of the file; PostgreSQL, MongoDB, Oracle, SQL Server and ClickHouse read the most recent ones, newest on top. When the file has more, a line at the top of the list says so: raise the limit to read further, or further back.
Type filters by class: All, DDL, DML or System.
The Search… field keeps the events whose type, content, table, user or statement contains the text.
Reload logs reads the file list again, and the chosen file with it: that is how you see the changes made since the tab opened. If you were reading the newest file and the server has started another since, it moves to the new one.
At the top of the list, before the events, a strip says what you need to know about that log on that server: that it is a replica, or that it lacks something the server needs to show it whole. It scrolls with the list, so a long one doesn't take the room the events need.
Event classes:
DDL (orange): what changes the schema or the accounts.
DML (blue): data changes.
System (gray): everything else —transactions, commits, checkpoints, the log's own control events.
What falls in each one is in each engine's block, below.
Each row shows:
the event type; its position (Pos), in its engine's form —an offset in the file, an LSN, an oplog timestamp, an SCN or the name of a part— and, when the engine gives it, the position where it ends; the time, the table, the transaction, the user and the statement, whichever the engine gives; its class; and the detail. Where an engine shows a field but has no value for that event, the row says not available.
When it can't be read:
if the account lacks the privilege, or the server keeps no log, the viewer says so with what is missing and, when there is something to do, the statement that fixes it. If the server answers and has no files, No files shows. If the server does not answer, it says that instead, and Reload logs tries again.
Use cases:
Change auditing: which DDL ran, and in which order.
Replication analysis: what the replicas are copying.
Point-in-time recovery: the exact position to restore up to.
The viewer only reads: it does not purge or change any engine's log.
Available on macOS, iPad, iPhone and Apple Vision Pro.
MySQLMariaDBAurora
In MySQL and MariaDB the tool is called Binary Log. It lists the files with SHOW BINARY LOGS and reads the first events of each one, up to the limit.
DML: with row-based logging a change is a group: the statement that produced it (Annotate_rows in MariaDB, Rows_query in MySQL, when the server records it), the table it touches (Table_map) and the rows (Write_rows, Update_rows, Delete_rows). With statement-based logging, the INSERT, UPDATE, DELETE, REPLACE or LOAD DATA itself.
System: BEGIN, the commit (Xid), Gtid, Rotate, the file header (Format_desc), other control events, and statements that change neither data nor schema, such as FLUSH PRIVILEGES.
The position is the offset in the file, and the Info field carries the SQL of a statement, the table of a Table_map or the transaction number of a commit.
Privileges: on MariaDB 10.5 and later, BINLOG MONITOR; on MySQL, REPLICATION CLIENT to list the files and REPLICATION SLAVE to read their events. Without them, or with binary logging off, the viewer says it has no access.
PostgreSQL
In PostgreSQL the tool is called WAL and appears from version 15: on 14 or earlier it is not offered. It reads the physical WAL with the pg_walinspect extension, without creating anything on the server —no replication slot, no wal_level = logical.
Each "file" is a segment of pg_wal, and the one in use is marked. Segments the server has recycled for reuse are not listed.
For each record it shows its operation (Heap/INSERT, Transaction/COMMIT…), its LSN, the table it touches, its transaction and, on each COMMIT, its time. Never the row values.
DML: a row change in a user table. DDL: the same change in a catalog table —that is how a CREATE TABLE or an ALTER lands in the WAL—, and creating a relation's file, a database or a tablespace. System: transactions, indexes, checkpoints, pruning and vacuum.
What it needs, and the viewer says what is missing with its statement: the pg_monitor role to list the files (GRANT pg_monitor TO <role>;); the extension in the database you connect to, created on the primary, which replicates by itself (CREATE EXTENSION pg_walinspect;); and the right to read the records (GRANT EXECUTE ON FUNCTION pg_get_wal_records_info(pg_lsn, pg_lsn) TO <role>;). With those, a read-only role works too.
On a replica you see what has been applied there, and the strip above says so.
The WAL belongs to the whole server, and the table's name is looked up in today's catalog: changes in other databases, and those of a table already dropped, come without it.
It is not purged from here: the server recycles it according to wal_keep_size, replication slots and checkpoints. If a segment disappears between the list and the read, the viewer says so; on a replica, a larger wal_keep_size keeps more.
Oracle
In Oracle the tool is called Redo Log and reads with LogMiner from the database you connect to (the PDB), by SCN range and with the online catalog.
The files are the online groups and the archived logs still on disk, each with its sequence and whether it is in use, online or archived.
For each change it shows its operation, its SCN, its table (owner.table), its transaction, the SQL that rebuilds it and its time.
DML: INSERT, UPDATE, DELETE and the LOB operations. DDL: DDL. System: the rest.
What it needs, and only SYS can grant it (SYSTEM cannot): LOGMINING, EXECUTE ON SYS.DBMS_LOGMNR and SELECT ONSYS.V_$LOGMNR_CONTENTS, SYS.V_$LOG, SYS.V_$LOGFILE and SYS.V_$ARCHIVED_LOG. Without them, the viewer says which one is missing with its grant.
Without the database's minimal supplemental logging, data changes come as UNSUPPORTED and without their table. A notice says so, with the statement that turns it on (ALTER PLUGGABLE DATABASE ADD SUPPLEMENTAL LOG DATA), and Calíope does not turn it on. To be able to warn about it, the account also needs SELECT ON SYS.DBA_SUPPLEMENTAL_LOGGING; without it the viewer reads all the same, and the notice says it couldn't check and gives the grant that lets it.
The SQL is rebuilt with today's catalog: a change made before an ALTER TABLE comes with its columns by position.
It is not purged from here: the server recycles the online groups, and RMAN removes the archived ones according to its retention policy.
MongoDB
In MongoDB the tool is called Oplog, and there is an oplog only on a member of a replica set: on a standalone server it says so inside. The account needs the clusterMonitor role, or read on the local database. The rest —the single file, its window, the classes and the large entries— is in its own topic, Oplog Viewer, in the MongoDB section of this Help.
SQL Server
In SQL Server the tool is called Transaction Log and reads the transaction log of the session's database, not of the whole server. It reads it with sys.fn_dblog, a function Microsoft doesn't document: its output may change from one version to the next, and if it does, the failure stays inside the tool.
Each “file” is an active segment of the log —a VLF: SQL Server splits its log file into segments—, and the one in use is marked. They are listed by sys.dm_db_log_info, which needs VIEW SERVER STATE; without it, the active log is shown whole, as a single file, and a notice gives the grant that splits it (USE master; GRANT VIEW SERVER STATE TO <login>;).
Only the active log shows: with the SIMPLE recovery model, what was written since the last checkpoint; with FULL or BULK_LOGGED, since the last log backup. If a segment stops being active between the list and the read, the viewer says so.
For each record it shows its operation (LOP_INSERT_ROWS, LOP_BEGIN_XACT…), its LSN (0000002C:000000C3:001A), the table with its index and its transaction; and at the start of a transaction, its name, who opened it —as the user— and its time. Never the values of the rows. The table's name is looked up when reading: the changes of a table that has since been dropped come without it.
DML: a row change in a user table, and the start of an INSERT, UPDATE, DELETE or MERGE transaction. DDL: the start of a CREATE, ALTER, DROP, TRUNCATE or SELECT INTO transaction. System: the rest —commits, checkpoints, indexes, the catalog, the Query Store and statistics.
What it needs: being sysadmin, or db_owner of the database and having SELECT on sys.fn_dblog granted in master, with a user there. Without that, the viewer says so with the statements that grant it: USE <database>; ALTER ROLE db_owner ADD MEMBER <user>; and USE master; CREATE USER <login> FOR LOGIN <login>; GRANT SELECT ON sys.fn_dblog TO <login>;. Note: db_owner can read and write the whole database.
It isn't purged from here: checkpoints truncate it in SIMPLE, and log backups in FULL and BULK_LOGGED.
ClickHouse
In ClickHouse the tool is called Part Log and reads system.part_log. ClickHouse stores each table in parts, and its log is of parts, not rows: an INSERT writes a new part, and an UPDATE or a DELETE rewrites each part it touches.
There is a single “file”, system.part_log, with its size —when the account can read system.parts— and the window of time it keeps. The parts of the tables in the system database don't show: they are the server's own logs.
For each event it shows its type, the part as its position (all_1_2_1_5: partition, blocks, level and mutation), the table, the time, the user and the statement; and in the detail, the rows, the size, how many parts a merge combined and why, the mutations, the duration and the error, if there was one.
DML: NewPart and MutatePart. System: the rest —MergeParts, RemovePart, DownloadPart…. There is no DDL: creating or altering a table writes no parts, and the query log shows that.
The user and the statement of an insert come from system.query_log, when the query finished and while the query log keeps it, which usually holds less time than the part log; the statement is cut at 500 characters, and that of an INSERT … VALUES comes without the values. That of a mutation is its command as the server rewrites it ((UPDATE n = 'UNO' WHERE id = 1)), from system.mutations, with no user and only when the table is the event's. What the server does on its own —merging and removing parts— has neither. In all those cases the row says not available.
It is this node's log: in a cluster each replica keeps its own, and a DownloadPart is a part fetched from another.
What it needs: SELECT on system.part_log (GRANT SELECT ON system.part_log TO <user>;), and for the user and the statement, on system.query_log and system.mutations as well. Without those two the viewer works the same: what comes from them says not available, and a notice gives the grant.
Before reading, Calíope asks for SYSTEM FLUSH LOGS, which flushes the buffer of the server's logs without touching data; without that privilege, it reads whatever is already flushed.
A server whose configuration doesn't define part_log keeps no such log, and the viewer says so: it is the <part_log> section of its config.xml, and Calíope doesn't change it.
It isn't purged from here: the server itself trims it, according to that same section.
Where it isn't, and why:
In these engines the tool doesn't appear on any screen. Each block says what the server lacks, with the version it was measured on.
TiDB
TiDB (measured on 8.5.8) writes no binary log: SHOW BINARY LOGS, SHOW BINLOG EVENTS, SHOW PUMP STATUS and SHOW DRAINER STATUS give error 1064, and SHOW MASTER STATUS returns a fictitious file, tidb-binlog, with a TSO. TiDB Binlog (Pump and Drainer) was retired in 8.4. Its changes leave through TiCDC, a separate process with its own HTTP API, which the SQL protocol doesn't reach. The only history over SQL is ADMIN SHOW DDL JOBS, which is DDL alone.
RedisValkey
Redis (measured on 7.4.12 and 8.10.3) and Valkey (on 9.2.0) don't give their history over RESP. The AOF is a file on the server's disk, and no command reads it. The replication stream is only handed to a replica: PSYNC returns the backlog, but registers whoever asks as one more replica, an offset outside the backlog triggers a full copy of the data, it needs @admin and @dangerous, and with no replicas there is no backlog. MONITOR only shows what happens from the moment it opens and halves the server's throughput, per its documentation; the console already refuses it.
Cassandra
Cassandra (measured on 5.0.9): the commitlog and its CDC (cdc_raw) are files on each node's disk, read with a Java class over the file; CQL doesn't reach them, and none of the virtual tables in system_views shows their content.
ScyllaDB
ScyllaDB does have a log that can be read over CQL, and it doesn't come in here: its CDC, on each table where it was turned on (WITH cdc = {'enabled': true}), leaves a <table>_scylla_cdc_log table. Calíope doesn't turn it on, and reading “the most recent” would take a whole CDC consumer: the table is split into streams (cdc$stream_id), time order only exists within each one, and the streams change with every generation. That table opens like any other: the topic “The keyspace browser” tells how, and it can also be queried in the CQL Query. Its rows expire after 24 hours by default, and cdc$operation says what each one was: 1 an update, 2 an insert, 3 a row deletion and 4 a partition deletion (there are other values, for ranges and for the before and after images).
ElasticsearchOpenSearch
Elasticsearch (measured on 9.5.5) and OpenSearch (on 3.10.0): the translog belongs to each shard and no API reads its operations: _stats/translog gives its size and its count, and /<index>/_changes doesn't exist. Cross-cluster replication reads that history internally and doesn't expose it; in Elasticsearch it also needs a license the basic one doesn't include.