神刀安全网

RocksDB from Docker containers

RocksDB from Docker containers This post will discuss how to get RocksDB from Docker containers to use with Percona Server for MongoDB.

With our Percona Server for MongoDB 3.2 release, we made RocksDB  a first class citizen . With this newly-available engine, we want to make it easy for everybody interested to try it. So it is now available in docker images from  https://hub.docker.com/r/percona/percona-server-mongodb/ .

If you have docker running, starting RocksDB is very easy:

dockerrun -d -p 27017:27017 percona/percona-server-mongodb --storageEngine=rocksdb 

Then run:

mongo --eval "printjson(db.serverStatus())" 

You should see this as part of the output:

 "storageEngine" : {  "name" : "rocksdb",  "supportsCommittedReads" : true,  "persistent" : true  }, 

Give it a try, and let us know how RocksDB works for you!

Related

RocksDB from Docker containers

Vadim Tkachenko

Vadim Tkachenko co-founded Percona in 2006 and serves as its Chief Technology Officer. Vadim leads Percona Labs, which focuses on technology research and performance evaluations of Percona’s and third-party products. Percona Labs designs no-gimmick tests of hardware, filesystems, storage engines, and databases that surpass the standard performance and functionality scenario benchmarks. Vadim’s expertise in LAMP performance and multi-threaded programming help optimize MySQL and InnoDB internals to take full advantage of modern hardware. Oracle Corporation and its predecessors have incorporated Vadim’s source code patches into the mainstream MySQL and InnoDB products. He also co-authored the book High Performance MySQL: Optimization, Backups, and Replication 3rd Edition.

Leave a Reply

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » RocksDB from Docker containers

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址