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
1
vote
1 answer

When is data written to disk if journaling is disabled in WiredTiger storage engine

I'm not able to get a clear answer from the docs that when the data is actually persisted to disk in a WiredTiger storage engine when journaling is disabled. MongoDB sets checkpoints to occur in WiredTiger on user data at an interval of 60 seconds…
ares
  • 4,283
  • 6
  • 32
  • 63
1
vote
1 answer

MongoDB crashes on windows randomly with WiredTiger exception

I have MongoDB 3.2 installed on Windows Server 2008 R2 randomly MongoDB service crashed with the following log. How can I address this issue? Here is the log 2016-12-13T10:08:33.497-0800 E STORAGE [thread2] WiredTiger (-28968) …
HaBo
  • 13,999
  • 36
  • 114
  • 206
1
vote
1 answer

WiredTiger, GridFS and Mongodb uploading file and max file size

Three questions about WiredTiger storage and MongoDB. I need to store (binary) files in the DB that may exceed 16MB size, now I read on WiredTiger site that the maximum file size is 512MB, but on Mongodb insert method it says that the maximum size…
shinzou
  • 5,850
  • 10
  • 60
  • 124
1
vote
1 answer

WiredTiger with MongoDb 2.6

I know that mongo has changed the default storage engine to WiredTiger in version 3, while version 2.6 has MMap. You can use this to change the default storage engine mongod --storageEngine wiredTiger --dbpath There are…
Dunny
  • 170
  • 12
1
vote
0 answers

Performance impact of having Polymorphic collections in MongoDB?

Say one document(Level 1) is supposed to have N(k) different kinds of items as sub-document arrays(Level 2), and these are stored in a separate collection(s?) due to lack of query optimisation for deep nested array sub docs. Now, we are supposed to…
TarunG
  • 602
  • 5
  • 21
1
vote
1 answer

Does WiredTiger of MongoDb has the performance issue of reallocation as MMAPv1

As the MMAPv1 Document said All records are contiguously located on disk, and when a document becomes larger than the allocated record, MongoDB must allocate a new record. New allocations require MongoDB to move a document and update all indexes…
Naryc
  • 211
  • 5
  • 12
1
vote
0 answers

MongoDB not showing storage engine

Why does Mongo 3.2.6. not show a storage engine when calling db.serverStatus().storageEngine? Reason for asking is to get more statistics for wiredTiger.
Lex
  • 11
  • 1
1
vote
1 answer

MongoDB, WiredTiger: Need to update one field in all documents (700k). Which side-effects will occur?

One of the collections has documents with a field "sc":[float]. I want to iterate all documents and change this to "sc": float, that is, remove the array and assign the float value directly to the key. Isn't it true, that WiredTiger appends all…
Daniel F
  • 13,684
  • 11
  • 87
  • 116
1
vote
1 answer

What's the last version of Spring Data MongoDB compatible with Spring 3.2?

I need to use WiredTiger Engine in my application which is available in the latest mongodb version 3.2.2 and my Maven repository which is using the version Spring Data MongoDB version 1.8.4, Java driver version 2.13.3 and I've installed MongoDB…
1
vote
0 answers

How can Wired Tiger's Collections be identified in the file system Ubuntu 15.10

When using MMAPv1, the storage location of the database(s) is easily identified. For example,the "test" database can easily be identified here: "/data/db/test.ns" In this way, you are assured that this is where the database lives. This can be very…
rickfarina
  • 116
  • 1
  • 3
1
vote
0 answers

MongoDB: Change block_compressor for existing collection

I have a server running with wiredTiger storage engine, but without compression enabled globally. Now I want to change the "block_compressor" option for a single collection to use "snappy". According to the mongoDB documentation this is possible…
Tobias K.
  • 286
  • 1
  • 3
  • 11
1
vote
0 answers

mongo wiredTiger db service start

I installed the mongodb 3.0.2 on Ubuntu 14.04.2 with wiredTiger configured as the storage engine. I change /etc/mongodbConfig.conf file -> /etc/mongod.conf However sudo service mongod start doesn't start MongoDb ** service mongod start : error…
happymanxyz
  • 51
  • 1
  • 5
1
vote
1 answer

MongoDB WiredTiger configuration

I am trying to install MongoDB on my local machine using the Wired Tiger storage engine and experiencing some issues. I downloaded the binaries and following the guide installed it to C:\MongoDB. This got installed using the default engine MMAPV1…
Dr Schizo
  • 4,045
  • 7
  • 38
  • 77
1
vote
1 answer

Which version of WiredTiger is being used by MongoDB?

Is it possible to find out which version of WiredTiger I am using with MongoDB? I tried using:- db.serverStatus().wiredTiger but I can't find any version info in there. I installed MongoDB (v3.0.4) out of the box, so I'm trying to figure out what…
Sean Holmesby
  • 2,135
  • 3
  • 23
  • 34
1
vote
1 answer

MongoDB multi-granularity locking

MongoDB uses multi-granularity locking [1] that allows operations to lock at the global, database or collection level, and allows for individual storage engines to implement their own concurrency control below the collection (i.e., at the…