PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Friday the 14th of September, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[07:27:20] <guardian> hello, in terms of performance, is it the same in terms of performances to query fields at the top level called 'foo' and 'bar', vs grouping them in an object e.g. 'stats.foo', 'stats'bar'
[07:27:21] <guardian> ?
[18:12:45] <jokke> hi there
[18:13:02] <jokke> i ran into a huge problem...
[18:13:30] <jokke> it seems that our shard key is monotonically growing
[18:13:49] <jokke> what's the course of action here?
[18:15:06] <jokke> i thought i was so clever in choosing the shard key: it's a combination of a sensor id and the hashed shifted timestamp (so all timestamps in an hour have the same hash)
[18:15:17] <jokke> the sensor id however is monotonically growing
[18:15:35] <jokke> and our client recently just tripled the amount of sensors in the field
[18:16:57] <jokke> and this is the result: https://p.jokke.space/sW1/
[18:17:40] <jokke> as far as i understood the shard key cannot be changed after it's been set
[18:18:00] <jokke> at least not without migrating all the data to another collection
[19:12:48] <WebertRLZ> hey ppl, how to I set cursor.maxTimeMS on the C driver?
[19:13:59] <WebertRLZ> driver v0.8.1
[19:23:16] <scromie> Hi All! qq for a newbie! Where do I go to find all of the schema types and a good description for each?
[19:24:22] <scromie> uh - sorry - I am using Mongoose. Never mind!