search

Home  >  Q&A  >  body text

nosql - mongodb下的数据库显示0.000GB但实际上是有内容的

有人知道原因吗?。。

为情所困为情所困2757 days ago604

reply all(5)I'll reply

  • ringa_lee

    ringa_lee2017-05-02 09:23:25

    Using db.stats()查看当前数据库的精确大小。
    show dbs is just a rough overview.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:23:25

    If there is 1 cent, it cannot be displayed as 0.001 million

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-02 09:23:25

    There are too few things, so they were rounded off

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-02 09:23:25

    Accuracy issue, 0.001G is about 1M, the database is too small

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:23:25

    There is only 1 piece of data, the estimated size is less than 1kb, so ignore it

    reply
    0
  • Cancelreply