[01:04:55] <MatheusOl> asturel: yes. Just use a 64bit machine
[04:50:51] <fisch> Would anyone mind giving a few minutes of their time? I'd appreciate some help learning how to connect to a mongodb via php
[04:52:15] <fisch> object(MongoClient)#1 (4) { ["connected"]=> bool(true) ["status"]=> NULL ["server":protected]=> NULL ["persistent":protected]=> NULL } is the error I am receiving when I var_dump the MongoClient class
[04:57:07] <joannac> how did you create the MongoClient option?
[04:58:29] <fisch> Here is my basic setup, so just as a test I'm dumping a few variables to check their output: https://gist.github.com/Aaronfischer/d3b99a8c7dc404aa8075 and here are the results: http://gitcommit-m.com/show.php
[05:01:28] <fisch> I have a collection titled commitcol and I know there is data.... ha! exhaustion is a funny thing. I was setting the database name instead of the collection name when I was doing my $docs output
[05:02:17] <fisch> Just switched it to commitcol and it is now outputting the correct data. Whelp, I guess all it took was me to ask.
[09:18:17] <joannac> what's the error when you start as a service?
[09:22:05] <Tulsene> service mongod start * Starting database mongod [fail]
[09:22:46] <Tulsene> and nothing in /var/log/mongodb/mongod.log
[09:25:46] <shoshy> Hey, i'm new to mongo. I got 2 collections. One named "items" and the other "groups" , groups has an array property that should hold items and a group id. Items has a property id that looks like: "<group_id>_<item_id>". I want to "run" over items and get the group id from it (substr) and put the items in the specific group array. Do i must use mapreduce for this?
[09:37:08] <shoshy> i was able to achieve this using map reduce with only a mapper and a reducer... (i used mongohub)
[09:54:26] <lxsameer> is it possible to create an index for a embedded document which check for existance of exact same values in an other document ?
[10:43:35] <lxsameer> how can i execute a mass query, i mean i want to check for existence of a list of embeded documents
[10:52:41] <Tulsene> lxsameer : that's what you search ? db.collectionName.find({ indexName : "indexValue"}, {multi : true})
[10:55:46] <lxsameer> Tulsene: i think you misunderstood my buddy, I want to save multiple embedded documents to a db, and I want to check if each of them already exists in an other document
[10:56:10] <kali> lxsameer: you can put a unique index on the subdocument
[10:56:34] <lxsameer> kali: i see, let me ask my question this way
[10:57:26] <lxsameer> kali: Tulsene I have A document which embeds many B document, when i want to save multiple B docs , I want to check if each B exists in C or not, C is a standalone document
[10:58:09] <Tulsene> lxsameer ok, sorry for the bad answer
[11:05:13] <kali> lxsameer: i'm not sure i fully understand what you're after, but it doubt you'll find something off the shelf
[11:07:06] <lxsameer> kali: i'm so confused right now, can i explain to you my current situation so maybe you can help me?
[11:32:28] <kali> lxsameer: your descriptions so far are confused too. show an example of what you're trying to do, what you get and what you expect (use gist or pastebin or whatver)
[12:36:01] <the_drow> Hi, is there a way to log new records insertion into syslog?
[13:23:24] <inad922> Is there a startswith like query for string fields in mongodb
[16:13:00] <YuviPanda> is having a large number of databases in mongodb bad?
[16:13:20] <YuviPanda> I'm setting up a shared user cluster at Wikimedia with Mongo, and am giving every user an empty database with full rights on it to start with
[16:13:29] <YuviPanda> however mongo seems to become really slow as more databases are added to it
[16:15:37] <YuviPanda> wtf, I ran out of space just creating new databases?!
[16:15:43] <YuviPanda> does mongo pre-allocate database space or something?
[16:16:07] <Shapeshifter> Hi. I'm new to this, and I'm having an odd but simple problem. I have documents in my db like { "_id" : ObjectId("539dc4e82d0e6505b792064d"), "methodCount" : { "nom" : 1 } } - and these show up if I do a simple db.vertex_data.find() or even db.vertex_data.find({methodCount:{ nom: 1}} ), but if I try db.vertex_data.find({methodCount:{ nom: { $gt: 0}}} ), nothing shows up. I want those documents with nom > 0...
[16:25:55] <kali> YuviPanda: yes. mongodb preallocates space
[16:26:03] <YuviPanda> hmm, no way to turn it off?
[16:26:14] <YuviPanda> or is there some way I can just create user accounts, and let them create databases if they want?
[16:26:21] <YuviPanda> without giving them access to *all* databases?
[16:27:51] <kali> YuviPanda: you can disable it, but it has a performance cost. you can also use --smallfiles (it preallocates less space). all this is unfit for production http://docs.mongodb.org/manual/faq/storage/
[16:28:32] <YuviPanda> kali: right. in that case I guess I can't really setup mongodb for this use case :(
[16:31:02] <YuviPanda> kali: and the 'just create an user account without databases' part isn't doable as well, with the restriction that the users can only create new databases and not access existing ones?
[16:31:03] <kali> you were matching the entire subdocument
[16:31:13] <YuviPanda> I read 'user previlages' and it didn't seem to offer anything
[21:31:41] <Tulsene> hello /hello again, after some research I posted http://stackoverflow.com/questions/24228971/service-mongod-start-fail-with-replica-set with more explanation of my problem with the mongod daemon