[00:47:46] <Havalx> References for Gen10's technology? I'ma read the documentation in a few moments.
[00:48:16] <Havalx> Any users here prefer sqlite3 over mongodb?
[00:51:12] <Boomtime> MacWinner: independent processes should not generate the same ObjectID according to the spec
[00:51:37] <kopasetik> Say i have a Mongo collection for Items and another collection for Categories. How do I reference a category (one category can have many items) in an item document?
[00:52:02] <cheeser> list the category IDs in your item docs
[00:52:02] <Boomtime> of the 12 bytes in ObjectID, 2 of them are intended to be a process ID that seperates processes on the same machine
[00:55:46] <kopasetik> @cheeser, basically embed as a sub-document?
[01:36:41] <Havalx> with mongodb, is it possible to query/search the db for specific values and when conditions are met, return the object id/select the entire document given the id?
[01:37:44] <Havalx> I'm sure, yeah. I'ma read more documentation and memorize accepted commands.
[01:49:51] <bonhoeffer> how would i return the first element from a collection?
[04:30:53] <Havalx> Boomtime: Thanks for the message!
[04:31:39] <Havalx> Boomtime: I'm update it in a min.
[04:31:49] <Boomtime> np, glad you found the issue
[04:37:38] <Havalx> Boomtime: I'm generating a document from variables; what is the formal syntax for it's construction using find_one() the docs show {"key": "value"}
[04:38:25] <Havalx> When substituting key, value with python variables I have: d = {x, y}
[04:38:57] <Havalx> Boomtime: does d need to be strings?
[04:39:54] <Havalx> Boomtime: and proper " ' format.
[07:20:21] <adsf> i debugged and there is definitely an object there
[08:11:07] <adsf> can never find any examples of updating an existing document from an object queried with a codec :(
[08:31:17] <skiold> morning, what is the default value of :connect for Mongo::Client.new with the ruby driver (v2)?
[08:31:27] <skiold> as in http://api.mongodb.org/ruby/current/Mongo/Client.html#constructor_detailshttp://api.mongodb.org/ruby/current/Mongo/Client.html#constructor_details
[10:25:23] <aps> While trying to start mongos, I get following error:
[10:25:24] <aps> "ERROR: error upgrading config database to v5 :: caused by :: could not write initial changelog entry for upgrade :: caused by :: failed to write to changelog: could not verify config servers were active and reachable before write"
[10:26:29] <aps> I can connect to config members. what is the reason for this error?
[10:33:15] <arussel> I have a list of document {"a": "a"},{"a":"b"}, {"a":"c"} and a map (a -> 1, b -> 2, c -> 3) outside of mongo. Is there a way in an aggregate to have a replaced by 1, b by 2 and c by 3 so the list becomes {"a":1}, {"a":2},{"a":3} ?
[10:59:15] <synthotronic> Am following the instructions at http://docs.mongodb.org/v2.2/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ to install version 2.2.2, but it says "Package mongo-10gen is obsoleted by mongodb-org, trying to install mongodb-org-2.6.10-1.x86_64 instead", then tries to install 2.6.10-1. Anyone know the best way to actually install 2.2.2?
[11:17:19] <synthotronic> (I just grabbed the packages directly from http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/RPMS/ and installed with rpm command.)
[13:16:49] <cheeser> matthavard: what are you trying to do?
[13:17:31] <matthavard> cheeser I just want to use mongo for a small app that I just started making. I don't want to have to run the whole server and everything
[13:17:43] <matthavard> Like for the same purposes one would use sqlite
[13:18:29] <cheeser> what is "the whole server" to you?
[13:18:35] <matthavard> StephenLynx: There is a huge difference in the way mongo writes to a file and the way sqlite writes to a file. Let's not be pedantic here
[13:18:35] <cheeser> you want to embed mongo in your app?
[13:19:01] <matthavard> I don't want to have a mongod process running the whole time
[13:19:02] <StephenLynx> I am not being pedantic. That is LITERALLY what happens.
[13:19:13] <StephenLynx> if you don't know how sqlite works, don't call me pedantic.
[13:19:15] <cheeser> mongo isn't really set up to embed in applications.
[13:19:27] <matthavard> cheeser: that is what I am gathering
[13:19:30] <cheeser> but you can start/stop mongo with your app
[13:20:15] <matthavard> think I'll just dump to a json file
[13:20:37] <Derick> you might as well use sqlite then
[13:20:49] <Derick> as that's optimized for local on-disk manipulations
[13:20:59] <Derick> and handles locking a bit better than your app...
[14:51:29] <Absolute0> I have been using postgresql for all my projects. What will I be gaining by switching to mongo. What will I be losing?
[15:20:30] <amit001> Hi all project pymongo is managed by mongoDB?
[16:20:13] <danijoo> hey, i need to somehow reduce the size of a mongodb that is used for caching. all entries have an updatedAt field. If I set a TTL index, will this immidiatly delete all entries that are expired?
[16:30:36] <cheeser> probably your best one. though that requires downtime.
[16:30:54] <danijoo> thats fine. i already dumped all data from server1 to server2
[16:31:10] <danijoo> i can now do full maintance on the new collection before switching the frontend to use it
[16:38:10] <allisthere2love> Hi, can somebody help me with user authentication in a 3 mongod, 1 arbiter, 3 config servers and 2 mongos cluster?
[16:40:36] <allisthere2love> I've created an application user in the primary mongod, but it does not exists in mongos. For what I understood, I have to create the user in mongos, but this user created in mongos isn't 'synced' to mongod
[16:42:54] <danijoo> oh dammit. just realized my updatedAt fields are NumberLong, no dates :/
[16:43:26] <allisthere2love> thanks, Cheeser. I was thinking there was some problem in the fact that I've created the user X in mongos and can't authenticate with it in mongod. But as I was writing, I think I've understood it :)
[17:31:44] <danijoo> is there an easy way to replace a NumerLong field opf every document in a collection with the corresponding date?
[17:47:32] <joannac> danijoo: write a script and do it as a bulk update?
[18:50:38] <greyTEO> is there a limit or recommendation on how many indexes to have?
[18:51:59] <danijoo> i'd say as less as possible and make sure they all fit into your memory