[04:43:21] <zivester> is ther a way to do a db repair (to reclaim space) my using another mount?
[07:21:02] <Gambit-> Hi folks - I'd like to hear some first-hand details on how much throughput a fully tapped out replication task is likely to push using some easily-describable instance type, be it on EC2 or elsewhere.
[07:21:07] <Gambit-> Does anyone have some numbers they can throw at me?
[07:21:22] <Gambit-> Mostly trying to get order-of-magnitude measurements, this obviously isn't a scientific request :)
[08:52:28] <justanotherday> novice needs help with #mongodb
[08:53:08] <jkitchen> this isn't twitter. # isn't for hashtags, it's just part of the channel name
[08:55:27] <jkitchen> # channels differentiate from & channels in that # channels are global to the network and & are local to the server. since the irc protocol command to send a message to a channel and to a user are the same thing (PRIVMSG), it provides a namespace
[08:55:53] <jkitchen> I've been on IRC too long :(
[09:31:42] <justanotherday> i have a file I am supposed to insert into mongodb and perform queries on
[09:31:53] <kjelle> could anyone recommend a nice MongoDB JSON editor (preferabely on web) tool? E.g. is robomongo nice?
[09:32:48] <justanotherday> i have issues importing the files, dont even know exactly what to do, I installed mongodb and have it running, but that the best I could do
[09:33:13] <jkitchen> justanotherday: what sorts of files?
[09:33:36] <justanotherday> I am doing a project for bioinformatics and I am supposed to find out if mongodb is better to use than the sql we usually use
[09:33:38] <jkitchen> justanotherday: also, you may want to take a look at http://docs.mongodb.org/manual/tutorial/getting-started/
[09:55:04] <justanotherday> mongoimport -d mydb -c things --type tsv --file refgeneTable.txt --headerline connected to: 127.0.0.1 Sun Nov 10 01:41:54.009 Progress: 1622533/2920849 55% Sun Nov 10 01:41:54.010 25700 8566/second Sun Nov 10 01:41:56.144 check 9 46159 Sun Nov 10 01:41:57.361 imported 46158 objects
[09:55:43] <justanotherday> but when I try :: db.mydb.find() it returns nothing
[11:27:52] <ron> kali: thank you for that. definitely made me smile :) I fart in your general direction!
[11:29:04] <tomasso> i run the following query : db.stops.find( { 'loc' : { $near : { $geometry: { type: 'Point', coordinates: [-58.417016,-34.603585] } }, $maxDistance: 60000 } } ) in the mongo shell but i dont get any output.. even by calling pretty() .. neither an error.. the index was created by ensureIndex() and it gets listed in the db.. the stop collection exists.. :S
[11:29:46] <kali> tomasso: does count() return 0 ?
[13:02:33] <liquid-silence> Can anyone see anything wrong with this query, db.assets.aggregate({$match: { "annotations._id": "527f44640000002651000004"}}, {$unwind: "$result.nnotations.comments"}, {$project: {count:{$add:1}}},{$group: {_id: null, number: {$sum: "$count" }}}), I am trying to get the count of the comments for an annotation
[13:03:58] <liquid-silence> the sum part is incorrect
[14:34:52] <axyjo1> Hi all, I'm new to mongo and I'm having some trouble with the aggregate functionality. I'm trying to use a $geoWithin operator within a $match operator, but I can't seem to get it to work. My query is here: http://pastie.org/8469775 and I'm using Mongo 2.4.8
[14:44:57] <axyjo1> It'll give me the same error, but without the decimal part of the number.
[14:45:05] <axyjo1> (and the numbers are still quoted)
[14:46:06] <axyjo1> It's probably the client library. Thanks, cheeser!
[14:57:36] <cheeser> axyjo1: try taking the test from the error and running it directly in the shell.
[14:58:03] <axyjo1> Yep, if I copy it directly into the shell and remove quotes, it works like a charm!
[15:09:57] <zivester> if I add millions of documents to a collection, 10k at a time, and i purge documents whenever count is > 100k, will my db size remain consistent or will it keep growing?
[15:39:40] <garbagecollectio> does anyone know what mongo returns if after a find command it doesn't find anything
[17:38:35] <dnsdds> I'm having a hard time with setting up and using text search indexes; ensureIndex only works with a hardcoded object, not with a var that includes an object, and when I try to runCommand("text" ...), it says I have too many indexes
[20:33:36] <dnsdds> I'm having a hard time with setting up and using text search indexes; ensureIndex only works with a hardcoded object, not with a var that includes an object, and when I try to runCommand("text" ...), it says I have too many indexes. Anybody got any ideas?
[20:43:39] <joannac_> dnsdds: What do you mean by "hardcoded object" vs "var that includes an object"?
[20:49:12] <joannac_> why do you have the extra "text" in there?
[20:49:34] <joannac_> ensureIndex(obj) works fine for me
[20:49:58] <dnsdds> Yeah, I just said, it was a mistake; ensureIndex({ name: "text", tags: "text" }) works, but var obj = { name: "text", tags: "text" }; ensureIndex(obj); doesn't
[20:57:25] <dnsdds> When I do ensureIndex(obi) as before, runCommand("text" ...) comes out as undefined. When I do ensureIndex({ name: "text", tags: "text" }), runCommand("text" ...) comes out as "Too many indexes for collection"
[20:58:09] <joannac_> Okay, those are 2 separate errors.
[20:58:37] <joannac_> pastebin the output of system.indexes.find()
[21:08:19] <joannac_> you don't have a collection called plusminus
[21:09:01] <haiQt> Hi guys, I was wondering if someone could help me with a Mongoose question? I have Posts & Tags, and when I retrieve my posts the tags array inside of a post does not get populated
[22:02:28] <bobbobbins> hey, is there something wrong with this? db.reportData.update({"Report_ID":"121"},{$set:{"Lot_No_2":"12345"}});
[22:02:36] <bobbobbins> it seems like it should work, but its not updating for me
[22:02:52] <bobbobbins> i definitely have a record with a Report_ID of 121
[22:07:30] <eydaimon> Derick: maybe you rememeber, but I asked a quesiton about dividing clients by prefixed collection, or one database per client. You said database per client, but told me to test. Which one do you think would be faster? Is there any mongodb architecture which would lead you to think that one's better insofar as performance than the other?
[22:10:19] <bobbobbins> i even tried by id and it still isn't updating
[22:35:50] <tomasso> i need to update a document whose key is variable and it is inside of an array.. like this "myvariablekey" : [{a : 1}, {a:2}, ... {x:4}] .. for some reason the update fails to use myvariablekey, it may contain special characters.. so I try to access that field by number, is that possible?
[23:29:41] <joannac_> bobbobbins: what's the output of db.reportData.find({"Report_ID":"121"})