mihalis's blog

mihalis's picture

Rust: Modules and Cargo

I wrote "Rust: Modules and Cargo" for Linux Format magazine, issue 210.

Image: 
mihalis's picture

Technical editor of MongoDB in Action (2nd ed.)

I am the Technical Editor of the MongoDB In Action, 2nd edition, book published by Manning Publications.
You can find more information about the book at https://www.manning.com/books/mongodb-in-action-second-edition.

Image: 
mihalis's picture

My articles of Linux User and Developer, issue 164

I wrote "Systems programming: Advanced file I/O" for Linux User and Developer issue 164. I also wrote "The Coding Column" as well as "Computer science: Create a programming language".

Image: 
mihalis's picture

MongoDB: WiredTiger or MMAPv1?

Although it is easy to find out whether you are using WiredTiger or MMAPv1 by the filenames in the data directory, there is a better way to discover the Storage Engine your MongoDB database is using.
The next command returns the Storage Engine a MongoDB server is using:

> db.serverStatus().storageEngine
{ "name" : "mmapv1", "supportsCommittedReads" : false }

If you are using WiredTiger, the output would have been similar to the following:

> db.serverStatus().storageEngine
{ "name" : "wiredTiger", "supportsCommittedReads" : true }
> db.serverStatus().storageEngine.name
wiredTiger

If you are using WiredTiger, the following command will give you even more information:

> db.serverStatus().wiredTiger

mihalis's picture

MongoDB: Build a blog

I wrote "MongoDB: Build a blog" for Linux Format, issue 209!

Image: 

Pages

Subscribe to RSS - mihalis's blog