![]() ![]() NET driver has an analogous CreateCollection command which supports setting the block compressor via the StorageEngine property in the CreateCollectionOptions class. > wt_options.filter((wt_options) => wt_options.startsWith('block_compressor')) > var wt_options = db.zlogs.stats().(',') Check which block compressor is being used for a collection MongoClientSettings.Compressors = new List() ) ![]() ![]() Container Windows Linux ARM 64 x86-64 IBM Z Databases Official Image. This is my C# code: var mongoClientSettings = new MongoClientSettings() MongoDB document databases provide high availability and easy scalability. I had to setup the config file watcher in ApplicationStart: (new System.IO.FileInfo( + 'nfig')) Turns out that uses log4net and will make using the AssemblyInfo solution not work. Is there something else I’m supposed to do for Zstd compression to work? I’ve edited the mongod.cfg file and set the block_compression field under WiredTiger to “zstd” and I specified zstd compression in my MongoSettings while creating the MongoClient in my c# code. I’m trying to utilize ZStandard compression but for some reason whenever I add a new collection, its block_compression is set to “snappy”. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |