Retrieve Heartbeat Table
get
/services/{version}/connections/{connection}/tables/heartbeat
Retrieve details of the heartbeat table for a database connection.
Request
Path Parameters
-
connection: string
Minimum Length:
1Maximum Length:61Pattern:^[a-zA-Z][a-zA-Z0-9_#$]{1,29}([.][a-zA-Z][a-zA-Z0-9_#$]{1,29})?$Connection name. For each alias in the credential store, a connection with the name 'domain.alias' exists.
-
version: string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
Heartbeat table details retrieved.
Root Schema : Oracle GoldenGate Heartbeat Table
Type:
objectTitle:
Show Source
Oracle GoldenGate Heartbeat Table-
$schema:
Allowed Values:
[ "ogg:tablesHeartbeat" ] -
addTrandata:
boolean
Default Value:
trueBoolean value to enable or disable trandata (suplemental logging) for heartbeat and seed tables. -
frequency:
integer
Minimum Value:
0Maximum Value:7999Default Value:60Interval, in seconds, at which the heartbeat table is updated. -
partitioned:
boolean
Default Value:
falseWhether the heartbeat history table is partitioned or not. -
purgeFrequency:
integer
Minimum Value:
1Maximum Value:199Default Value:1Interval, in days, at which the heartbeat history table is purged. -
retentionTime:
integer
Minimum Value:
1Maximum Value:2147483646Default Value:30Heartbeats older than this retention time (in days) will be deleted from the heartbeat table. -
targetOnly:
boolean
Default Value:
falseBoolean value to enable or disable supplemental logging and the scheduler job for updating heartbeat seed and heartbeat tables.
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"href":"http://localhost:11001/services/v2/connections/OracleGoldenGate.oggadmin/tables/heartbeat",
"mediaType":"application/json",
"rel":"canonical"
},
{
"href":"http://localhost:11001/services/v2/connections/OracleGoldenGate.oggadmin/tables/heartbeat",
"mediaType":"application/json",
"rel":"self"
},
{
"href":"http://localhost:11001/services/v2/metadata-catalog/heartbeat",
"mediaType":"application/schema+json",
"rel":"describedby"
}
],
"messages":[
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"HEARTBEAT table oggadmin.gg_heartbeat exists.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
},
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"HEARTBEAT table oggadmin.gg_heartbeat_seed exists.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
},
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"HEARTBEAT table oggadmin.gg_heartbeat_history exists.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
},
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"HEARTBEAT table oggadmin.gg_heartbeat supplemental logging ENABLED.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
},
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"HEARTBEAT table oggadmin.gg_heartbeat_seed supplemental logging ENABLED.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
},
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"HEARTBEAT table oggadmin.gg_heartbeat_history partitioning DISABLED.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
},
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"Frequency interval: 60 seconds.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
},
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"Purge frequency interval: 2 days.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
},
{
"$schema":"ogg:message",
"code":"OGG-08100",
"issued":"2017-12-14T12:42:08Z",
"severity":"INFO",
"title":"Retention time: 30 days.",
"type":"http://docs.oracle.com/goldengate/c1230/gg-winux/GMESG/oggus.htm#OGG-08100"
}
],
"response":{
"$schema":"ogg:tablesHeartbeat",
"addTrandata":true,
"frequency":60,
"partitioned":false,
"purgeFrequency":2,
"retentionTime":30,
"targetOnly":false
}
}