Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 777 Bytes

checkdb.md

File metadata and controls

43 lines (33 loc) · 777 Bytes

checkdb

Check consistency of database.

Request Json Syntax

Key Description
task task name
token token string encrypted.
dbname database name
repairdb on-off indicating whether to repair database

Request Sample

{
  "task": "checkdb",
  "token": "cdfb4c5717170c5e237a227a2ceeccc6ae9e10c16754fb85371c0d74fa0d9d577926f07dd201b6aa",
  "dbname": "alatestdb",
  "repairdb": "n"
}

Response Json Syntax

Key Description
task task name
status execution result, success or failed.
note if failed, a brief description will be given here

Response Sample

{
   "__EXEC_TIME" : "33 ms",
   "note" : "none",
   "status" : "success",
   "task" : "checkdb"
}