Mongodb performance issues. May 12, 2019 mongodb, question I know when Mysql uses count, if the data volume is slow. What will happen if I use. length in mongodb? In mongodb, query performance still depends on whether the entire document needs to be traversed and whether an index is established.