Database Operation

http://${VEARCH_URL} is the vearch service, $db_name is the name of the created database.

List Database

  1. curl -XGET http://${VEARCH_URL}/dbs

Create Database

  1. curl -XPOST http://${VEARCH_URL}/dbs/$db_name

View Database

  1. curl -XGET http://${VEARCH_URL}/dbs/$db_name

Delete Database

  1. curl -XDELETE http://${VEARCH_URL}/dbs/$db_name

Cannot delete if there is a table space under the datebase.

View Database Spaces

  1. curl -XGET http://${VEARCH_URL}/dbs/$db_name/spaces