Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.35 KB

File metadata and controls

52 lines (43 loc) · 1.35 KB

setautoaddvol

Set auto addvol option.

Request JSON Syntax

Key Description
task task name
token token string encrypted.
dbname database name
data ON or OFF, enable the automatic extension of the data volume
data_warn_outofspace the free space ratio which triggers the extension of the data volume
data_ext_page the number of the pages added to the data volume at every extension
index ON or OFF, enable the automatic extension of the index volume
index_warn_outofspace the free space ratio which triggers the extension of the index volume
index_ext_page the number of the pages added to the index volume at every extension

Request Sample

{
  "task": "setautoaddvol",
  "token": "cdfb4c5717170c5e9c6856b4d1c61ee8132bcc7d82bd609066ed9ece2554c47f7926f07dd201b6aa",
  "dbname": "demodb",
  "data": "ON",
  "data_warn_outofspace": "0.05",
  "data_ext_page": "200",
  "index": "ON",
  "index_warn_outofspace": "0.05",
  "index_ext_page": "200"
}

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" : "72 ms",
    "note" : "none",
   "status" : "success",
   "task" : "setautoaddvol"
}