Topology
The Topology screen visualizes the replication and cluster structure of a database as a graph. You can check the connections between the master and its replicas (slave and standby), the health status of each node, and replication lag or disconnection on a single screen.
Supported platforms
The Topology screen supports the replication structure of the following platforms.
- MySQL (Replication)
- PostgreSQL (Replication)
- DB2 (HADR)
- SingleStore
The Topology menu is shown in MySQL, PostgreSQL, DB2, and SingleStore projects.
Topology is supported on agent v2.63.01 or later. If the project has even one agent older than this version, an agent update message is shown instead of the topology.
Entering the screen
Home > select a project, then select Dashboard > Topology from the left menu.
Screen composition
The Topology screen consists of a 2D graph area and auxiliary panels.
-
Summary Bar: Shows the number of clusters, the number of instances, and the counts by status (normal, warning, critical, undetermined, and inactive) in one line at the top of the screen. SingleStore projects show the number of nodes and databases instead of instances.
-
Database selection row: SingleStore projects show the list of databases per cluster above the graph. Selecting a database shows the graph based on that database, and clicking the selected database again opens the database detail window.
-
Legend: Click the Legend button to the right of the Summary Bar to see the meaning of the replication lag and replication disconnection lines, the one-way and two-way replication arrows, the flowing dots that indicate active replication, and the spreading rings that indicate warning or critical events. Node status colors use the same colors as the status counts in the Summary Bar.
-
Issue list: Lists nodes whose status is critical, warning, undetermined, or inactive, in order of severity, in the Issue panel at the top left. The panel title shows the number of nodes, and each item shows the node name, group, and status in two lines. Selecting an item moves the screen to that node. The list can be collapsed or expanded, and the panel is not shown if there are no such nodes.
-
Change history: Lists node status change records. For details, see Checking the change history.
-
Minimap: Shows the position of the area you are currently viewing within the entire graph.
-
Controls: Adjust the graph display with the zoom in, zoom out, fit to screen, and reset layout buttons. The current zoom level is shown between the zoom in and zoom out buttons.
How to read nodes and edges
-
Node: Represents a single database instance. The node color indicates its health status, and the role indicator on the node indicates its role in the replication structure, such as master or replica.
-
Edge (connection line): Represents the replication relationship from the master to a replica. The degree of replication lag is shown by the line color, and a disconnected replication relationship is shown as a dashed line. One-way replication is shown as a single arrow, and two-way replication as two parallel arrows.
-
Cluster: Shows the nodes in the same replication group in one box. The box shows the group name and platform.
Node colors in the topology are based on the events that occurred on each node.
Checking detailed information
When you select a node or cluster, a detail window (Drawer) appears on the right side of the screen. When you select a node, the replication relationships connected to that node are highlighted, and unrelated targets are dimmed. Hover the mouse pointer over each element to see summary information in a tooltip.
The detail window does not darken the screen. If you move the graph or select another node while the window is open, the window content changes to the selected node. To close the window, click the close button or press the Esc key.
When you select a node, the selected node is recorded in the browser address as the ?node= parameter. Opening this address opens the Topology screen with the same node selected, so share the address as is when you want to point another user to a specific node.
Checking the change history
The Change history panel is shown collapsed below the issue list at the top left of the screen, and the panel title shows the number of records. Click the panel title to expand the list. If there are no records, the panel is not shown.
The change history records the following items.
- Node status changes
- Node role changes
- Node additions and deletions
- Replication disconnection and recovery
- Start and end of replication lag
- Event occurrence and resolution
The list shows up to 50 records, newest first, and each item shows the node name, change, and time. Event occurrence and resolution records for the 1 hour before the screen was opened are taken from the event history. Other changes are added by comparing with the previous state each time the topology is refreshed during real-time viewing after the screen is opened. If you select a past time, the records are shown again based on the selected time. Clicking an item moves the screen to that node.
Topology settings
Click the gear (Setting) button on the right side of the option bar to open the Topology Settings window. Settings are saved per account in the browser you are using and applied to the screen immediately. In other browsers or on other PCs, the screen starts with the default values.
| Item | Description |
|---|---|
| Summary Bar | Shows the number of clusters, the number of instances, and counts by status at the top of the screen. On by default |
| Issue list | Shows the issue list at the top left. Turning it off also hides the change history panel. On by default |
| Metrics Below Nodes | Select up to two metrics per DB type to show in the row below each node. The node role is shown before the selected metrics |
| Reduce Motion | Turns off the flowing dots on replication lines and the blinking of failed nodes |
| Restore Defaults | Restores the topology settings to the default values |
The metrics you can select for the row below nodes are as follows. SingleStore projects have no selectable metrics.
| Platform | Metric | Default |
|---|---|---|
| MySQL | Lag, IO thread, SQL thread, Read only | Lag |
| PostgreSQL | Lag, Replay lag, Write lag, Flush lag, Lag bytes, Sync state | Lag |
| DB2 | Log gap, Sync mode, HADR state, Since last recv | - |
To reset the node layout of the graph, click the reset layout button at the bottom right of the screen.
AI analysis
When you click the AI analysis button in the node or cluster detail window, AI analyzes the replication structure based on the replication status at the selected time and shows the results. The analysis is shown in the order of progress steps, analysis content, and diagnosis result (verdict).
AI analysis is available per node or cluster on the platforms that support topology (MySQL, PostgreSQL, DB2, and SingleStore). The AI analysis button is shown when the node has agent information. In on-premises environments, it may not be shown depending on the WhaTap AI feature settings.
Flex board widget
You can add the Database topology widget to the integrated Flex board. The widget shows the topology of multiple projects together on a single screen.