Get Database Size Statistics

get

/essbase/rest/v1/databasesizestatistics

Returns a list of block storage databases and their page and index sizes.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK

Database size statistics returned successfully.

Body ()
Root Schema : DBSizeList
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Nested Schema : DatabaseSizeStatistics
Type: object
Show Source

400 Response

Bad Request

Failed to get database size statistics.

500 Response

Internal Server Error.

Back to Top

Examples

The following example shows how to retrieve a list of all the block storage cubes on the Essbase Server, including their sizes.

This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat.

Script with cURL Command

call properties.bat
curl -X GET https://myserver.example.com:9001/essbase/rest/v1/databasesizestatistics -H "Accept:application/json" -u %User%:%Password%

Example of Response Body

{
  "items" : [ {
    "name" : "Sample.Basic",
    "pageSize" : 884790,
    "indexSize" : 8216576
  }, {
    "name" : "Demo.Basic",
    "pageSize" : 811060,
    "indexSize" : 8216576
  }, {
    "name" : "Sample_RTSV.Basic",
    "pageSize" : 294971,
    "indexSize" : 8216576
  }, {
    "name" : "Sample_Dynamic.Basic",
    "pageSize" : 294974,
    "indexSize" : 8216576
  }, {
    "name" : "Sample_Currency.Interntl",
    "pageSize" : 7372866,
    "indexSize" : 8216576
  }, {
    "name" : "Sample_Currency.Xchgrate",
    "pageSize" : 49218,
    "indexSize" : 8216576
  } ],
  "count" : 6,
  "totalResults" : 6
}
Back to Top