Questions tagged [wiredtiger]

A key/value database engine which is also part of mongo 3.0

wiredtiger logo

WiredTiger provides an ordered mapping from string keys to string values, columns support, transactions, async and bulk operations, custom collators, extractors and data sources.

See WiredTiger website

170 questions
3
votes
0 answers

MongoDB Java Driver Sync & Async

I am currently performing some benchmarks on my application using Vert.x and I am trying to compare results when I use the mongo java sync or async driver. And to my surprise, the results seems to be far better with the sync driver, because it uses…
rico
  • 1,843
  • 2
  • 24
  • 41
3
votes
1 answer

MongoDB WiredTiger Storage Engine cacheSizeGB configure option

What's the minimum number of cacheSizeGB can I configure which configure option introduce by MongoDB 3.0.0 in WiredTiger Storage Engine? Represent the number of cacheSizeGB must be integer? Can I configure it with floating number like 15.5? I…
lojunren
  • 139
  • 1
  • 9
3
votes
1 answer

Is db.stats() a blocking call for MongoDB?

While researching how to check the size of a MongoDB, I found this comment: Be warned that dbstats blocks your database while it runs, so it's not suitable in production. https://jira.mongodb.org/browse/SERVER-5714 Looking at the linked bug report…
Jeff Widman
  • 22,014
  • 12
  • 72
  • 88
3
votes
2 answers

migrate the MMAPv1 generated data to WiredTiger

I am running a (keystonejs) webapp using mongodb 3.0 as database. I cloned the webapp and run a second instance using a 3.2 mongodb release (on a generated but yet empty data base). What I need to do now is get the data from the first database to…
Macs
  • 197
  • 2
  • 15
3
votes
1 answer

How to add wiredTiger in pymongo at collection level?

I'm trying to enable data compression in MongoDB 3.0 using the wiredTiger engine. The compression works fine at the server level where I can provide a global compression algorithm for all the collections in the mongo server config file like…
Rahul
  • 3,208
  • 8
  • 38
  • 68
3
votes
2 answers

WiredTiger MongoDB engine ordering : Is" natural order" equivalent to "ordered" with WiredTiger engine in mongodb?

Here is the concrete reason for this question : db.collection.findOne() function is documented as : "If multiple documents satisfy the query, this method returns the first document according to the natural order which reflects the order of…
Julien L
  • 53
  • 5
2
votes
1 answer

Increase MongoDB memory limit(or any resources it uses)

I will rent a cloud server(12gb ram, 240gb nvme sdd). I read mongodb wiredtiger uses limited amount of system memory, Since MongoDB 3.2, MongoDB has used WiredTiger as its default Storage Engine. And by default, MongoDB will reserve 50% of the…
2 7182818
  • 21
  • 1
  • 3
2
votes
1 answer

Wired Tiger Error on Mongodb after bad shutdown of Ubuntu

So, I shutdown my computer without fully shutting down mongodb services and when I tried to run 'mongod' I was met with an error that a file was damaged so I repaired it using 'mongod --repair' and now I am met with this…
2
votes
1 answer

Storage Size increases after deleteMany() in MongoDB

I deleted ~4 million documents from a MongoDB collection. Resulting Stats which I noticed were a bit shocking. Original DB Stats :- DataSize - 20GB StorageSize - 6.6GB Available for reuse - 2MB TotalIndexSize - 3.24GB After deleteMany() Stats…
jackk
  • 21
  • 1
2
votes
0 answers

MongoDB constantly high cpu usage and terminate MongoDB

After execution, mongodb is terminated after a few seconds. Symptom.. CPU usage is maintained at about 300%, and then suddenly shuts down. LOG... 2021-06-21T17:53:06.994+0900 I NETWORK [ReplicaSetMonitor-TaskExecutor] Successfully connected to…
Jay
  • 21
  • 1
2
votes
0 answers

mongodb crashes after wiredtiger error - out of space

The following error was found in logs after some consecutive find query. 2021-03-11T00:04:02.520+0530 E STORAGE [WTCheckpointThread] WiredTiger error (28) [1615401242:520448][789:0x7ff0e6251700], file:WiredTiger.wt, WT_SESSION.checkpoint:…
balu
  • 61
  • 4
2
votes
1 answer

MongoDB and WiredTiger compatibility issue

Today, my MongoDB container running on Google Kubernetes Engine suddently stopped working, and this is the generated log: 2020-09-30T07:01:42.782+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit…
2
votes
2 answers

MongoDB functional test setup and teardown 10x slower in 4.2 with WiredTiger

I am in the process of upgrading our MongoDBs from 3.4 (using MMAPv1 storage engine) to 4.2 (using WiredTiger). One thing I have encountered that is pretty much a blocker at this point is a serious slowdown of our tests. Long story short (more…
Martin Melka
  • 7,177
  • 16
  • 79
  • 138
2
votes
1 answer

MongoDB: How can I change engine type (from B-Tree to LSM-Tree) of _id_ index?

We can create a collection with WiredTiger engine and type=lsm, but this feature is not mentioned in MongoDB documents: db.createCollection( "test", { storageEngine: { wiredTiger: {configString: "type=lsm"}}} ) Once insert some documents…
auntyellow
  • 2,423
  • 2
  • 20
  • 47
2
votes
0 answers

Mongodb dirty cache is greater than cache used

We are facing the issue with mongodb that is cpu is always 100% and the memory usage gradually reaches 100% too. On analyzing the stats of a collection we found out that the caching is having huge dirty cache. "cache" : { "bytes…
1 2
3
11 12