All Products
Search
Document Center

:GetDatabaseProfile

Last Updated:May 20, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /webapi/metastorehouse/catalog/database/databaseprofile

Request parameters

ParameterTypeRequiredDescriptionExample
CatalogIdstringNo

CatalogId

DatabaseNamestringYes

DatabaseName

530_db

Response parameters

ParameterTypeDescriptionExample
object

Response

Codestring

Code

200
Messagestring

Message

RequestIdstring

RequestId

AEA7DCC8-DBF5-561B-A7FD-0747D7D51FEB
Successboolean

Success

true

Examples

Sample success responses

JSONformat

{
  "Code": "200",
  "Message": "",
  "RequestId": "AEA7DCC8-DBF5-561B-A7FD-0747D7D51FEB",
  "Success": true,
  "DatabaseProfile": {
    "FileCnt": 3234,
    "FileSize": 1254312,
    "Name": "test_db",
    "CreateTime": "2023-08-16 18:02:22",
    "Location": "oss://mybucket.cn-hangzhou.oss-dls.aliyuncs.com/test_db/",
    "ObjectSize": 1254312,
    "ObjectCnt": 3234,
    "LatestDate": "2023-08-30 19:16:10"
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-03-03Add Operationsee changesets