Update

patch

/services/{version}/datastore

Required Role: Administrator

Change the datastore configuration used by the Performance Metrics Service. Changes to the datastore configuration will cause the Performance Metrics Service to restart.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : Oracle GoldenGate Performance Metrics Service Data Store
Type: object
Title: Oracle GoldenGate Performance Metrics Service Data Store
Show Source
  • Allowed Values: [ "monitoring:datastore" ]
  • Minimum Value: 5000
    Maximum Value: 50000
    Default Value: 10000
    Mpoint Collector Queue max size
  • Minimum Value: 3
    Maximum Value: 25
    Default Value: 5
    Mpoint Collector Number of Worker Threads
  • Minimum Value: 5000
    Maximum Value: 10000
    Default Value: 5000
    Max Databases
  • Minimum Value: 5
    Maximum Value: 60
    Default Value: 10
    Process monitoring heartbeat timeout in seconds
  • Minimum Length: 1
    Maximum Length: 4096
    The path for the datastore storage. If not set, the datastore will be created in a default directory.
  • If set to true, the datastore will be reinitialized upon restart.
  • If set to true, the datastore will be repaired upon restart.
  • Minimum Value: 0
    Maximum Value: 365
    Default Value: 0
    The number of days to retain performance metrics data. If zero, data will be retained indefinitely.
  • Default Value: BDB
    Allowed Values: [ "BDB", "LMDB" ]
    The type of datastore storage, either Berkeley Database (BDB) or Lightning Memory-Mapped Database (LMDB).
Example Request (application/json)
{
    "type":"LMDB",
    "retentionDays":"30",
    "collectorWorkerThreads":"5",
    "collectorWorkerQueueLimit":"10000",
    "monitorHeartBeatTimeout":"10",
    "dataStoreMaxDBs":"5000"
}
Back to Top

Response

Supported Media Types

200 Response

Datastore successfully updated.

Body ()
Root Schema : RESTful API Standard Response
Type: object
Title: RESTful API Standard Response
Standard Response for all Oracle GoldenGate RESTful API calls
Show Source
Nested Schema : messages
Type: array
Minimum Number of Items: 0
Maximum Number of Items: 65535
Oracle GoldenGate messages issued during the request
Show Source
Nested Schema : response
Type: object
Oracle GoldenGate document from the request
Nested Schema : items
Type: object
Show Source
  • Allowed Values: [ "ogg:message" ]
  • Minimum Length: 9
    Maximum Length: 9
    Pattern: ^OGG[-][0-9]{5}$
    The Oracle GoldenGate message code
  • Minimum Length: 20
    Maximum Length: 32
    Pattern: ^[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])$
    The date and time that the message was issued
  • Allowed Values: [ "INFO", "WARNING", "ERROR" ]
    The severity of the message
  • Minimum Length: 1
    Maximum Length: 4095
    A human-readable description that provides information and detail specific to this occurence of the information, warning or error.
  • Minimum Length: 2
    Maximum Length: 4095
    Pattern: ^[a-zA-Z][a-zA-Z0-9+-.]*:[^ \t]*$
    An absolute URI [RFC3986] to a page that describes the info, warning or error type.
Example Response (application/json)
{
    "$schema":"api:standardResponse",
    "links":[
        {
            "rel":"canonical",
            "href":"http://127.0.0.1:9015/services/v2/datastore",
            "mediaType":"application/json"
        },
        {
            "rel":"self",
            "href":"http://127.0.0.1:9015/services/v2/datastore",
            "mediaType":"application/json"
        }
    ],
    "messages":[
    ]
}
Back to Top