Get the general statistics of tables
To get the statistics of tables within the database:
Method : GET
URI : /db/<dbname>/list/<flag>
flag has value 0 or 1, 0 for brief stats and 1 for verbose. If you don't pass "flag" value then it's 0.
Example
curl -X GET http://192.168.1.105:18080/db/mydb/stat
Response
{
"database":"mydb",
"buffer_pool":4296202240,
"tables":[
{
"name":"_sys_graph_meta_",
"issys":1,
"num_records":0,
"num_index":0,
"files":[
],
"total_size":32768,
"num_files":3
},
{
"name":"_api_key_tbl",
"issys":1,
"num_records":0,
"num_index":0,
"files":[
],
"total_size":32768,
"num_files":3
},
"......",
{
"name":"_slot_attr_tv_rs",
"issys":1,
"num_records":0,
"num_index":0,
"files":[
],
"total_size":49152,
"num_files":3
}
],
"num_tables":32
}