top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

MongoDB: why $natural query in non-capped collection does not represent the order of insertion, especially for WT ?

0 votes
259 views
MongoDB: why $natural query in non-capped collection does not represent the order of insertion, especially for WT ?
posted Mar 8, 2017 by Naveena Garg

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

How to get all query which related 1 collection in mongodb? for oracle,we can get all query from system view like v$sql, but I am not sure if mongodb have this system view to see all query related 1 special collection?

0 votes

We have mongodb cluster with 3 instances. After increase of amount of writes there, WiredTigerLAS.wt become 20Gbs size on all nodes in just few mins. It leaded to out space issue and of course downtime. This is strange, because usually this file have size less then 1,5 GB.
I tried to find in a documentation how to control its size, but no luck. Can you suggest how to limit its size and maybe you know what can cause this situation.

+1 vote

I have a DB with several (quite big) collections, on Mongo 3.2.5 and WiredTiger with snappy compression on. I would like to change the compression setting on one small collection I have to test it uncompressed. Is there a possibility to do that on a secondary without having to resync the whole DB?

...