PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 12th of October, 2014

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[01:07:26] <eric_lagergren> Is it possible to just export a specific portion of each entry in a table?
[01:08:18] <joannac> yes
[01:08:36] <joannac> look at the options for mongoexport
[01:11:09] <eric_lagergren> joannac: oh, okay, I've found it. Thank you.
[01:13:35] <cheeser> got all excited when I saw the name lagergren hoping it was my friend but his name is marcus.
[01:14:03] <eric_lagergren> :(
[01:15:26] <eric_lagergren> cheeser: It is an unusual name... for the U.S., at least.
[02:02:09] <cheeser> eric_lagergren: he lives in sweden. :)
[02:02:41] <eric_lagergren> cheeser: I've had several people from Sweden add me on Facebook for some reason. I've heard it's super popular over there.
[02:02:54] <cheeser> heh
[02:16:25] <seiyria> hey all, I'm not sure what's happening with my project but for some reason one of my mongo collections will not insert more than 64 items
[02:16:32] <seiyria> it just rejects it after that
[02:17:34] <seiyria> I should add that I'm inserting from node, not from the mongo shell - at that point, it seems to work fine.
[02:29:03] <seiyria> huh, nevermind, I was trying to insert multiple of the same id, don't mind me
[04:58:30] <user123321> Is it possible to know values like MTTF, MTBF, MTTR etc. for Mongo DB? Are there already determined values so that I don't have to calculate?
[05:00:56] <stefandxm> lol
[06:39:06] <monsterr> If I have the data on http://docs.mongodb.org/manual/reference/operator/aggregation/first/#grp._S_first and I want to know the newest _id for each item, how would I do that?
[06:41:05] <monsterr> If I add $_id to the "_id" section, it no longer groups by item.
[09:28:44] <Chepra> How do you do an repairdatabase on an replica set slave?
[12:24:15] <fpghost84> Hi if I have documents like http://paste.ubuntu.com/8545488/ in collection, is it possible to grab only the documents for which the set of 'marketName' (usually multiple although just one in my e.g.) have a non-zero intersection with some set of names?
[12:25:25] <fpghost84> For example maybe my reference set of names is ('Match Odds', 'Correct Score',) and I want to grab all documents which have then at least either a Match Odd or Correct Score market
[12:53:19] <emx> hi. i want to sort the aggregated result by year, month and then day with this parameters: http://pastie.org/9641800
[12:54:22] <emx> what i get: the result is sorted by day only.
[12:54:25] <emx> what am i doing wrong?
[16:14:15] <nul4x3r0000> any mongoers able to help with a design problem
[16:16:09] <nul4x3r0000> its a really cooool problem
[21:21:44] <skullz> Regarding this approach http://blog.mongodb.org/post/65517193370/schema-design-for-time-series-data-in-mongodb
[21:21:58] <skullz> Wouldn't an array be more interesting?
[21:27:22] <Boomtime> @skullz: an array be more interesting for what?
[21:27:49] <Boomtime> 'values'?
[21:29:18] <Boomtime> you should only use arrays for ranges that are dynamic
[21:29:37] <Boomtime> there is nothng dynamic about the number of seconds in a minute, or minutes in an hour
[21:31:59] <skullz> Boomtime: Yes.
[21:32:07] <skullz> Well, thank you for the explanation
[23:11:25] <brendanashworth> does mongodb force you to have a schema?
[23:13:47] <Boomtime> no, with the exception that every document must have a unqiue _id field
[23:14:21] <Boomtime> other than that every document in a collection can be structured completely differently if you like
[23:14:59] <joannac> ...that's probably not a good idea though
[23:15:59] <brendanashworth> is there ANY alternative to mongoose in nodejs then?
[23:16:14] <brendanashworth> i've always sort of wanted to try mongodb but i hate most ORMs with a passion
[23:16:54] <Boomtime> so why use an ORM at all then?
[23:17:00] <Boomtime> http://docs.mongodb.org/ecosystem/drivers/node-js/
[23:17:26] <brendanashworth> i never thought you could with mongodb :p
[23:17:37] <Boomtime> you can use the mongo shell as a learning tool - it is a javacript based interactive shell
[23:18:58] <brendanashworth> thanks - that was exactly what i was looking for Boomtime
[23:19:11] <brendanashworth> do you have any opinions on rethinkdb vs mongodb?
[23:19:19] <Boomtime> nope
[23:19:27] <Boomtime> sorry
[23:19:53] <brendanashworth> okay thanks
[23:52:49] <Synt4x`> Ok guys, have one thing troubling me :S. I have a mongoDB with a bunch of documents each containing Date, and Person. Person can be repeating (multiple entries with the same date). I want to go through date by date, and find find all of the unique people for each date (and put them into their own list to work with)
[23:53:36] <Synt4x`> I can do .distinct('date') to get the dates, but then it's just a list of dates, so I tried to do .find('date':date) and then do .distinct('person') on that, but it didn't work
[23:54:30] <joannac> aggregation framework
[23:55:18] <Synt4x`> I'm not sure what that is
[23:56:29] <joannac> http://docs.mongodb.org/manual/applications/aggregation/
[23:57:33] <joannac> $group on Date, make a person array and $addToSet