Show detailed log gap report
Request
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Required |
|---|---|---|---|
| integer(int64) | configuration ID (non-negative) | required |
{
"params": {
"configuration_id": 1
}
}
Response
HTTP Status: 200
Content Type: application/json
Response
Property | Type | Description |
|---|---|---|
| object of type | error response |
| object of type | log-gap-report/oracle response |
| boolean | response with error or not |
error_response
Property | Type | Description |
|---|---|---|
| string | error message |
log_gap_report_oracle_response
Property | Type | Description |
|---|---|---|
| string | data loss exposure, formatted for display |
| integer | number of seconds of transactions that would be lost if the primary database were lost now, based on redo received on the standby (including Zero Data Loss streaming); null if not available |
| array of | archive log sequences missing from the standby's log chain |
| array of | list of log gap information, one for each thread |
| array of string | warning messages |
| object of type |
log_chain_gap
Property | Type | Description |
|---|---|---|
| integer | first missing sequence number in this gap |
| integer | last missing sequence number in this gap |
| integer | next sequence number available on the standby after the gap |
| integer | redo thread number |
log_gap_report_thread
Property | Type | Description |
|---|---|---|
| integer | archive log gap |
| integer | archived source sequence number |
| integer | current source sequence number |
| string(date-time) | last transferred timestamp |
| integer | next required destination recovery sequence number |
| integer | thread number |
| string | time lag formatted to string |
| integer | time lag in seconds |
| integer | transfer log gap |
zero_data_loss_status
Property | Type | Description |
|---|---|---|
| string | full path of the redo member currently being streamed to the standby; omitted unless replication_state is replicating |
| string | error that stopped redo log replication |
| string | latest timestamp written to the online redo logs on the primary; omitted if the primary state is unknown (for example, primary unreachable) |
| string | latest redo timestamp received in the online redo log mirror on the standby |
| array of | the online redo log members on the primary that Zero Data Loss replicates, with the latest redo observed in each; empty in external replication mode and when no recent measurements are available |
| string | current state of Dbvisit redo log replication: |
| integer | current redo transfer rate in bytes per second (1-second moving average); omitted unless replication_state is replicating |
redo_member
Property | Type | Description |
|---|---|---|
| string | latest timestamp observed in this member |
| string | when this member was last measured |
| string | full path of the redo log member on the primary |
| integer | redo log sequence currently in this member |
{
"error": {
"message": "string"
},
"result": {
"data_loss_exposure_formatted": "string",
"data_loss_exposure_seconds": 123,
"log_chain_gaps": [
{
"first_missing_sequence": 123,
"last_missing_sequence": 123,
"next_available_sequence": 123,
"thread": 123
}
],
"threads": [
{
"archive_log_gap": 123,
"archived_source_sequence": 123,
"current_source_sequence": 123,
"last_transferred_timestamp": "2024-07-31T13:57:42.000123456Z",
"recovery_sequence": 123,
"thread": 123,
"time_lag_formatted": "string",
"time_lag_in_seconds": 123,
"transfer_log_gap": 123
}
],
"warnings": [
"string"
],
"zero_data_loss": {
"currently_replicating_member": "string",
"error": "string",
"last_redo_timestamp_primary": "string",
"last_redo_timestamp_standby": "string",
"replicated_redo_members": [
{
"latest_redo_timestamp": "string",
"measurement_time": "string",
"member": "string",
"sequence": 123
}
],
"replication_state": "string",
"transfer_bytes_per_second": 123
}
},
"successful": true
}
HTTP Status: 400
Content Type: application/json
Response
Property | Type | Description |
|---|---|---|
| object of type | error response |
| boolean | always false |
error_response
Property | Type | Description |
|---|---|---|
| string | error message |
{
"error": {
"message": "string"
},
"successful": false
}
Comments