[09:04:01] <pyios> kali:several minutes earlier ,I type a find() operation on one collection ,then it stuck the database for almost 10 minutes
[09:04:36] <pyios> After I close that operation ,it resumes work
[09:10:17] <kali> pyios: check out for long running ops in db.currentOp()
[09:12:33] <pyios> if my application’s io to mongdb is blocked so long time ,I think it failed
[09:13:14] <pyios> I mean that is equal with none working at all
[12:17:39] <vsv> Hello guys. I would like to ask if somebody has experience with MongdoDB auditing. I am using Spring and the @Version annotation. I would like to overwrite the default initial value (currently zero) to one. Is it possible to provide a parameter to the @Version annotation?
[12:31:18] <cheeser> why would the version number matter?
[12:34:49] <Ben_1> is it possible to run just one config server for sharding and make a backup to use it, if the config server crashes?
[13:00:18] <Ben_1> is it possible to run just one config server for sharding and make a backup to use it, if the config server crashes?
[13:06:24] <yopp> cheeser, is it possible that when storage under heavy load, and there a significant delays in io operations, WT can go nuts? Is there any open issues about that?
[13:08:58] <yopp> We're found that when storage under heavy load (esxi vdp stuff is happening), mongo start to eat all the CPU, and performance degrades over the time after that
[13:45:48] <cheeser> yopp: doesn't sound familiar but you should probably talk to the kernel guys. the mongodb-users mailing list would be a good place.
[15:22:44] <tombert1> hello! if anyone here has experience using the mongoose interface for node.js, I'm trying to do an update on a date field, but it throws an error unless I do a `.toISOString()` at the end. Is this the only way to update a date field?
[15:22:51] <gabrielsch> can I aggregate (group, sort, sum) on collection and return values from other? (based from the aggregate)
[15:23:37] <StephenLynx> I suggest you don't use mongoose, tombert1
[15:23:38] <gabrielsch> example: get most sold products (Product collection) based on orders (Order collection)
[15:24:31] <tombert1> StephenLynx: I don't have a choice in the matter. The project has already been written with Mongoose
[15:58:37] <gabrielsch> Hi! How can I project a string of arrays on aggregation? ['a', 'b', 'c']
[17:03:28] <Ben_1> is it possible to run just one config server for sharding and make a backup to use it, if the config server crashes?
[18:44:41] <dropshot> I have messages from an exchange, which each contain a ticker. The problem is some messages involve trades in two or three tickers. Is there any way to deal with documents with repeated categories?
[19:40:46] <Doyle> Any thoughts on swap memory size for mongodb systems? I'm seeing 100% swap space utilization, with a lot of bi/bo
[19:53:49] <dddh> Doyle: you could try to set vm.swappiness=1
[19:55:57] <dddh> cambrian: you can try https://github.com/variety/variety
[19:56:04] <cambrian> @Doyle: That works for 1 document, but some documents might have some extra fields. How could I get the "master schema" describing all possible fields.
[19:56:05] <Doyle> dddh, how much swap do you give a mongodb instance?
[20:16:22] <dddh> query planner could use another index in your query
[20:17:39] <repxxl> dddh a query allways use just one index ?
[20:18:15] <repxxl> dddh so when i have multiple indexes in query i should just make sure it uses the right index first? to avoid heavy load
[20:22:48] <dddh> it can use multiple indexes, but it could scan only one index and if you have an index on 'doc' and db.collection.find({doc: 100}, {_id: 0, doc})
[20:24:32] <amcsi> help, even with this, mongo is still outputtin "I" level info on COMMANDs: mongo_1 | 2015-11-16T20:19:20.385+0000 I CONTROL [initandlisten] options: { config: "/etc/mongod.conf", storage: { mmapv1: { smallFiles: true } }, systemLog: { component: { command: { verbosity: -1 } } } }
[20:30:04] <repxxl> guys i wanna send the submited data to all followers do u think 1milion inserts at one time will take long ? assuming a user has 1m followers.
[20:31:22] <cheeser> it will take a while, yes. use bulk operations to help
[20:32:35] <repxxl> cheeser well i have different ideas one is to send all the followers the data like inserts, second is to fetch the data with every user seperately and another idea is to let hadle the inserts a cron job which would not affect the load time when a user submits something for example
[20:43:12] <dddh> I wish mongodb had transactions ..
[20:45:12] <amcsi> how do I set the verbosity level so Informational would NOT be included? 0 seems to be the minimum verbosity and it seems to include Informational
[23:34:43] <guxi> I'm having an difficulty understanding the way to reference documents properly. Say i have following collections: schools, classes and students. I need Students to be referenced to a class, and a class to be referenced to a shool. This would be very simple to store and query in SQL. What would be the best approach for MongoDB, in order to effeciently query referenced data in both directions?