关于Mongodb查询不存在的字段时的问题

来源:互联网 发布:翻译高棉语用什么软件 编辑:程序博客网 时间:2024/05/21 11:10

      今天在做测试Mongodb测试时发现Mongodb对于不存在的字段查询比较慢,而且这个慢得让人无法接受!

     比如我用php去读取一条数据:

    

php提示:Fatal error: Uncaught exception 'MongoCursorTimeoutException' with message 'cursor timed out (30000 ms)' 。。

 

原创粉丝点击