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
0 answers

Create Index on Collection and then Rename Collection

Listed is the current workflow in our system Create Collection with name TMP_xxxx. Create Index on TMP_xxx (background mode). After all documents are written, then rename collection to XXX (for transactional read consistency). When a collection is…
user2780187
  • 677
  • 7
  • 16
1
vote
2 answers

MongoDB WiredTiger issue

I have work a lot with MongoDB 2.6, then I decide to start using MongoDB 3.0.2. 1) When I create an Database using the shell command, the command return true but the database is not created. use NewDatabaseName 2) When i try to create some…
Daniele Tassone
  • 2,104
  • 2
  • 17
  • 25
1
vote
1 answer

Mongodb read-write time increases after using WiredTiger

Am trying to compare the read-write time of mongodb with and without WiredTiger. I found that for both read and write, mongodb with WiredTiger is taking more time than without WiredTiger. I am using node-mongo program for testing. From what I…
user2846870
  • 571
  • 1
  • 8
  • 16
0
votes
1 answer

Clear MongoDB cache in a sharded cluster

I have a self-hosted MongoDB deployment on an AWS EKS cluster, version 1.24. Every time I put some workload on the cluster, the MongoDB shards eat most of RAM of the node. I'm running on t3.medium instances, and every shard uses ~2GB. Since there…
Stichiboi
  • 79
  • 1
  • 5
0
votes
0 answers

wiredtiger_kv_engine.cpp File Missing After RAID Recovery

I recently recovered RAID and everything came back. only problem is mongodb is not starting. I tried to change db path mongod --dbpath /home/abhi/mongo-live-db/dbnew --repair before that i given ownership to moved folder chown -R mongodb:mongodb…
Abhijeet Patil
  • 370
  • 2
  • 8
0
votes
0 answers

MongoDB WiredTiger Exception

We are using MongoDB version 4.2.11. We have one primary and two secondary nodes of MongoDB on Kubernetes. During load testing phase, despite having ample disk space we got a WiredTiger exception saying disk space is…
Vineel
  • 1,630
  • 5
  • 26
  • 47
0
votes
0 answers

MongoDB crashing due to missing collection*.wt file

Similar threads are present on SO and other forums, however my issue seems to be different in that I can start mongod and read from it successfully. When running the command 'show dbs' in the mongosh terminal, it returns an error…
raghavj
  • 23
  • 3
0
votes
1 answer

Can I delete old ".collection" files from mongodb folder without loosing data?

I found the following two WiredTiger files in my mongodb folder and was wondering if I can delete them. I couldn't find any information on these "dot" files. As none of my collections have nearly their sizes I assume they are old files from an…
Jörg Rech
  • 1,339
  • 2
  • 13
  • 25
0
votes
1 answer

MongoDB closes connection on read operation

I run MongoDB 4.0 on WiredTiger under Ubuntu Server 16.04 to store complex documents. There is an issue with one of the collections: the documents have many images written as strings in base64. I understand this is a bad practice, but I need some…
JustLogin
  • 1,822
  • 5
  • 28
  • 50
0
votes
2 answers

mongodb snappy compression Data Size vs Storage Size

I am trying to compare mongodb ( latest from git repo) compression rates of snappy, zstd, etc. Here is relevant snip from my my /etc/mongod.conf storage: dbPath: /var/lib/mongodb journal: enabled: true wiredTiger: engineConfig: …
user3304297
  • 131
  • 2
  • 8
0
votes
1 answer

What is an efficient design for MongoDB documents with arrays that grow very frequently?

I have a MongoDB document design that stores array data in 6 of its top level property fields. The document basically stores IoT data that is collected from a specific set of sensors for the day and it is updated very frequently throughout the day…
Loupi
  • 550
  • 6
  • 14
0
votes
1 answer

Invariant failure opCtx->lockState() ->isDbLockedForMode(db, MODE_IS) ... Got signal: 6 (Aborted)

I have a replica set(PSS) in mongod version 4.2.0 Community Edition installed on Ubuntu 18.04LTS have enough disk space in each node, but also a data bearing replica set has gone down suddenly. And the log messages I attached here. Can any one let…
Kaushik Das
  • 405
  • 1
  • 5
  • 12
0
votes
2 answers

MongoDB WiredTiger use clustered index on _id field?

I know MongoDB WiredTiger use clustered index to store data. Is WiredTiger use clustered index on _id field or another key generate by WiredTiger?
Grug
  • 3
  • 1
0
votes
1 answer

configuring mongodb - WTCheck.tThread writes on disk into WiredTiger.wt

I've installed mongodb 4.4.3 on my Raspberry Pi and I've noticed there are some IO operations even though no client is connected and no queries from my side. First I've noticed FTDC writing every ~8seconds, so I set diagnosticDataCollectionEnabled:…
BeryCZ
  • 137
  • 4
0
votes
3 answers

What is difference MongoDB wiredTiger cache with in-memory DB

As i know MonogoDB cache working set in RAM. Then if i increase wiredTigerCacheSizeGB as much as all of data in disk, does it work as fast as in-memory db? if no, what is difference?
1mm.p
  • 37
  • 5