[00:32:37] <Dr{Who}> Anyone have an efficient example or suggestions of tailing a collection that is not capped? prefer C++
[03:27:17] <bcow> how I am querying some documents through the mongo shell on windows, some of the fields are large text fields that are too big to display on the screen, how can I paginate/scroll the resultset from the shell
[05:02:42] <Lapith> Hey all, I am having an odd problem I have mongodb installed on OSX and the php extension installed. When I run new MongoClient(); the connection flag is set to false. I can connect to it in the shell and using umongo.
[05:03:10] <Lapith> I have not seen anything useful from php logs or debugging.
[06:27:16] <llac> thinking about setting up a mongodb instance for a high traffic messaging system, coming from a traditional mysql structure, really don't need the relational overhead and it seems like a great match for mongo
[07:33:52] <llac> _aegis_: oh we'll have plenty of servers all of which running 64GB of RAM and SSD's, planning on a 4 relica sets with sharding across them
[07:34:26] <_aegis_> you can write some tests for this and infer some things about scale
[07:35:01] <llac> _aegis_: that's what I'm working on now actually, just hoping to get some insight from others who are less green than myself with the tech
[07:35:41] <_aegis_> mongo's good at queries on nested keys
[07:36:09] <llac> _aegis_: we currently have 100's of millions of rows of message data and it's just a mess, I was hoping to keep data relative to the user to which it belongs
[07:36:55] <llac> _aegis_: so rather than having 100+ million rows we have 10 million rows with a few thousand related messages
[07:36:58] <_aegis_> you could snag a box with a crazy amount of ram and try importing a large chunk of your data
[07:49:55] <llac> _aegis_: yeah still trying to come up with a solid key pair
[07:50:25] <llac> _aegis_: we have highly active old accounts, hardly used new accounts, etc. was going to shard on userid but that will lead to hot spots for the newest users
[07:50:34] <llac> _aegis_: which are also fairly active
[07:51:10] <llac> _aegis_: might do a secondary shard key based on a modulus of the userid
[07:51:48] <llac> _aegis_: keep users spread across the cluster, but as said, still "thinking on it"
[07:52:41] <llac> _aegis_: also might chunk newer users across a couple replica sets of their own
[08:34:35] <Dr{Who}> do I need to read the entire document to update it or can I just update sub value of a document using dot notation in C++? Cant seen to find any examples of doing an update adding say an array to an existing document and not overwrite the entire doc.
[08:42:16] <_aegis_> Dr{Who}: $set with dot notation?
[09:10:04] <Dr{Who}> cool thanks. I think I converted that to BSON c++ shall see when I test.
[10:12:33] <joshua> Mongo support is pretty good. I guess the follow the sun thing helps
[11:52:26] <johnny_2329381> hello, i have a question: my secondary node wirtes in its logs "connection refused because too many open connections: 16000" , but a "lsof -i -P -n | grep mongodb| wc -l" shows me only 60 connections (all established)
[12:01:24] <oskie> johnny_2329381: usign PHP to access mongo?
[12:06:42] <johnny_2329381> no wi am using ruby on rails
[12:07:59] <johnny_2329381> i am wondering about the gap between mongodb.log ~16000 open connections and lsof, that shows me ~60 connections
[13:02:11] <One-Man-Bucket> hi, i'm using the reflectiondbobject for my 2 pojos
[13:02:20] <One-Man-Bucket> and mongo seems to store everything allright
[13:02:39] <One-Man-Bucket> but how do i fetch a document as a MyClass (that extends reflectiondbobject) ?
[17:55:27] <JakePee> If i'm writing a php mongo wrapper for a dev team, should I be abstracting out a base connection (MongoClient instance) that will be used across the session or multiple connections made and allow the connection pooling to sort it all out
[19:30:04] <stoneg> have mongodb running on SSD, but got very poor performance https://gist.github.com/65321285e9ab92ba4f33 , any suggestions /
[20:01:55] <Goopyo> is a count on collection fast? Compared to a count on a query
[20:02:07] <Goopyo> I now 2.3 is going to fix it but in 2.2
[20:40:09] <VinSpee> hey all, how can i remove a collection with a special character?