Check Storage Type Action

Request

GET /api/_check_storagetype

Description

It is used to check whether the storage format of the table under the specified database is the row storage format. (The row format is deprecated)

Path parameters

None

Query parameters

  • db

    Specify the database

Request body

None

Response

  1. {
  2. "msg": "success",
  3. "code": 0,
  4. "data": {
  5. "tbl2": {},
  6. "tbl1": {}
  7. },
  8. "count": 0
  9. }

If there is content after the table name, the base or rollup table whose storage format is row storage will be displayed.

Examples

  1. Check whether the storage format of the following table of the specified database is row format

    1. GET /api/_check_storagetype
    2. Response:
    3. {
    4. "msg": "success",
    5. "code": 0,
    6. "data": {
    7. "tbl2": {},
    8. "tbl1": {}
    9. },
    10. "count": 0
    11. }