In Memory storage engine

120 views
Skip to first unread message

revit

unread,
Jul 18, 2016, 3:26:56 AM7/18/16
to mongodb-user
I would like to use the in memory storage engine. I appropriate any help in downloading the source code. Thanks.

Момчил Божинов

unread,
Jul 18, 2016, 5:35:33 AM7/18/16
to mongodb-user
Hi,

depending on your mongodb version you should use inMemoryExperiment or ephemeralForTest in the storage engine config for the community edition
The enterprise version comes with something way better from what I hear

Momchil

revit

unread,
Jul 18, 2016, 8:43:48 AM7/18/16
to mongodb-user
Thanks for your answer! I could not find inMemoryExperiment  storage engine. I am using master version - 3.3.9. which version includes it?
Thanks again.

Момчил Божинов

unread,
Jul 18, 2016, 5:01:19 PM7/18/16
to mongodb-user
Welcome

For that version I guess it is ephemeralForTest. I run 3.2 and that is what I am using.

For the 3.3 branch rocksdb should also be a valid option

You are using a version that is not quite stable for a feature that has Test in the title or has just arrived

Good luck

Momchil

Wan Bachtiar

unread,
Jul 31, 2016, 9:24:08 PM7/31/16
to mongodb-user

I would like to use the in memory storage engine.

Hi revit,

The MongoDB Enterprise build contains the in-memory storage engine for production use, and starting from MongoDB Enterprise v3.2.6 is part of general availability in the 64-bit builds. This storage engine uses document-level concurrency control for write operations. As a result, multiple clients can modify different documents of a collection at the same time. To enable, please use --storageEngine inMemory option.

If you are looking for a non-persistent storage engine for testing purposes, the ephemeralForTest storage engine is available in the community build starting from MongoDB v3.2. This storage engine supports a collection-level locking. You can enable this storage engine by specifying --storageEngine ephemeralForTest. As the name suggests, it is for testing purposes and not suitable for production use.

I appreciate any help in downloading the source code.

You can review the source code files on MongoDB git project for ephemeralForTest

I am using master version - 3.3.9.

Note that an odd numbered major releases like 3.3.x are only intended for development/testing purposes. For more information on the version numbering scheme, see MongoDB Version Numbers.

Kind regards,

Wan.

Reply all
Reply to author
Forward
0 new messages