简体   繁体   English

无论如何,使用arangosh在arangodb中查找现有数据库的创建日期

[英]Is there anyway to find create date of existing databases in arangodb with arangosh

像在mysql中一样,我们可以查询系统表/信息模式表以根据创建日期获取数据库,是否有任何命令或查询可以根据数据库创建日期获取数据库

The response if you ask for the current database only contains the following information: 如果要求提供当前数据库,则响应仅包含以下信息:

$ curl -u root: http://localhost:8529/_db/_system/_api/database/current
{
  "error": false,
  "code": 200,
  "result": {
    "name": "_system",
    "id": "1",
    "path": "C:\\ProgramData\\ArangoDB",
    "isSystem": true
  }
}

There is no creation date I'm afraid. 恐怕没有创建日期。 Feel free to make this a feature request however. 请随意提出此功能请求

Please also include how other database systems handle this if you happen to know, especially the cluster case in which every node might have a different time. 如果您碰巧知道,还请提供其他数据库系统如何处理此问题,尤其是在集群情况下,每个节点可能有不同的时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM