ハートビート表の作成

post

/services/{version}/connections/{connection}/tables/heartbeat

データベース接続のハートビート表を作成します。

リクエスト

サポートされるメディア・タイプ
パス・パラメータ
  • 最小長: 1
    最大長: 61
    パターン: ^[a-zA-Z][a-zA-Z0-9_#$]{1,29}([.][a-zA-Z][a-zA-Z0-9_#$]{1,29})?$

    接続名。資格証明ストアの別名ごとに、domain.aliasという名前の接続が存在しています。

  • Oracle GoldenGateサービスのAPIバージョン。

    指定できる値: [ "v2" ]
本文()
ルート・スキーマ: Oracle GoldenGate Heartbeat Table
型: object
タイトル: Oracle GoldenGate Heartbeat Table
ソースの表示
  • 指定できる値: [ "ogg:tablesHeartbeat" ]
  • 最小値: 0
    最大値: 7999
    デフォルト値: 60
    ハートビート表が更新される間隔(秒)。
  • デフォルト値: false
    ハートビート履歴表がパーティション化されているかどうか。
  • 最小値: 1
    最大値: 199
    デフォルト値: 1
    ハートビート履歴表がパージされる間隔(日)。
  • 最小値: 1
    最大値: 2147483646
    デフォルト値: 30
    この保持期間(日)よりも古いハートビートはハートビート表から削除されます。
  • デフォルト値: false
    サプリメンタル・ロギングと、ハートビート・シード表およびハートビート表を更新するスケジューラ・ジョブを有効または無効にするブール値。
  • デフォルト値: true
    現在のハートビート表の設定で、Extractの再起動位置が追跡されているかどうか。
  • デフォルト値: false
    ハートビート表をいつアップグレードするかを検出するためのブール値。
リクエストの例(application/json)
{
    "frequency":60
}
先頭に戻る

レスポンス

サポートされるメディア・タイプ

201レスポンス

ハートビート表リソースが正常に作成されました。

本文()
ルート・スキーマ: RESTful API Standard Response
型: object
タイトル: RESTful API Standard Response
すべてのOracle GoldenGate RESTful APIコールの標準レスポンス
ソースの表示
ネストされたスキーマ: messages
型: array
最小アイテム数: 0
最大アイテム数: 65535
リクエストの間に発行されるGoldenGateメッセージ
ソースの表示
ネストされたスキーマ: response
型: object
リクエストのOracle GoldenGateドキュメント
ネストされたスキーマ: items
型: object
ソースの表示
  • 指定できる値: [ "ogg:message" ]
  • 最小長: 9
    最大長: 9
    パターン: ^OGG[-][0-9]{5}$
    Oracle GoldenGateメッセージ・コード
  • 最小長: 20
    最大長: 32
    パターン: ^[0-9]{4}[-](0[1-9]|1[0-2])[-](0[1-9]|[12][0-9]|3[01])[tT ]([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]{1,6})?([zZ]|[+-][0-9][0-9]:[0-5][0-9])$
    メッセージが発行された日時
  • 指定できる値: [ "INFO", "WARNING", "ERROR" ]
    メッセージの重大度
  • 最小長: 1
    最大長: 4095
    この情報、警告またはエラーに固有の情報と詳細を提供する、人が読むための説明。
  • 最小長: 2
    最大長: 4095
    パターン: ^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
    情報、警告またはエラーのタイプを説明するページの絶対URI [RFC3986]。
レスポンスの例(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"
        }
    ],
    "messages":[
        {
            "$schema":"ogg:message",
            "code":"OGG-14001",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created heartbeat seed table \"\"oggadmin\".\"GG_HEARTBEAT_SEED\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14001"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14089",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully tracking extract restart position with heartbeat table \"\"oggadmin\".\"GG_HEARTBEAT_SEED\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14089"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14032",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully added supplemental logging for heartbeat seed table \"\"oggadmin\".\"GG_HEARTBEAT_SEED\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14032"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14000",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created heartbeat table \"\"oggadmin\".\"GG_HEARTBEAT\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14000"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14089",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully tracking extract restart position with heartbeat table \"\"oggadmin\".\"GG_HEARTBEAT\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14089"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14033",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully added supplemental logging for heartbeat table \"\"oggadmin\".\"GG_HEARTBEAT\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14033"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14016",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created heartbeat history table \"\"oggadmin\".\"GG_HEARTBEAT_HISTORY\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14016"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14089",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully tracking extract restart position with heartbeat table \"\"oggadmin\".\"GG_HEARTBEAT_HISTORY\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14089"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14086",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully disabled partitioning for heartbeat history table \"\"oggadmin\".\"GG_HEARTBEAT_HISTORY\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14086"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14023",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created heartbeat lag view \"\"oggadmin\".\"GG_LAG\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14023"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14024",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created heartbeat lag history view \"\"oggadmin\".\"GG_LAG_HISTORY\"\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14024"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14003",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully populated heartbeat seed table with \"ORCL\".",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14003"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14004",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created procedure \"\"oggadmin\".\"GG_UPDATE_HB_TAB\"\" to update the heartbeat tables.",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14004"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14017",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created procedure \"\"oggadmin\".\"GG_PURGE_HB_TAB\"\" to purge the heartbeat history table.",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14017"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14005",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created scheduler job \"\"oggadmin\".\"GG_UPDATE_HEARTBEATS\"\" to update the heartbeat tables.",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14005"
        },
        {
            "$schema":"ogg:message",
            "code":"OGG-14018",
            "issued":"2019-03-15T14:40:44Z",
            "severity":"INFO",
            "title":"Successfully created scheduler job \"\"oggadmin\".\"GG_PURGE_HEARTBEATS\"\" to purge the heartbeat history table.",
            "type":"http://docs.oracle.com/goldengate/c1910/gg-winux/GMESG/oggus.htm#OGG-14018"
        }
    ]
}
先頭に戻る