[07:51:39] <Viesti> so at best run times I'm seeing something like this: http://pastebin.com/raw.php?i=UPUTZGvf
[07:52:50] <kali> Viesti: no, you can't alter the iops limit, you need to drop the block and recreate it
[07:53:30] <kali> Viesti: for what it's worth, not provisioning may actually be an option: un provisioned iops disk gets higher iops peak, but there is no warranty
[07:53:59] <kali> Viesti: we are not 100% convinced of the benefits of iops provisioning, here
[07:54:44] <Nopik_> hi. if i have collection with index on { a: 1, b: 1 } fields, will adding { a: 1 } and/or { b: 1 } indexes improve query performance? or such fully overlapping indexes makes no sense and just take time to build with no profits?
[07:56:28] <Viesti> here's another run, I'm guessing that reads from secondaries slow down writing: http://pastebin.com/raw.php?i=EsXwQL3D
[07:56:38] <Viesti> I might be totally wrong though :)
[07:57:39] <Viesti> kali: yep was wondering that too, since is the iops a kind of upper limit also (I'm supposing that it should guarantee iops levels too?)
[07:57:49] <Viesti> might be wrong again though :)
[08:09:29] <Zelest> frodo_baggins, http://de2.eu.apcdn.com/full/122279.gif .. is that you? :o
[08:37:27] <djlee> Hi all, we're looking at setting up just a single large instance for mongo on AWS until we get chance to look at replica sets (load of scaling work to everywhere, and not enough time before deadline). We're going for a memory optimised instance for our redis instance. But what is best for mongo? Should we be preferring cpu over memory or vica versa. Or should we be looking at a more general purpose machine.
[08:38:03] <djlee> We'll probably use EBS instead of the instance storage as instance storage is i believe volatile, so ive discounted all storage optimised instances
[09:54:50] <rasputnik> i'm building a replica set from a mongo with several interfaces. set builds, but the primary is connected via the wrong IP. Anyway to change that?
[09:55:54] <rasputnik> the 2 secondaries show their IPs in rs.status() but the node I created the set on appears as its hostname.
[10:03:20] <lxsameer> hey guys B embedded in A, Can i make query on B to get A ?
[10:15:06] <djlee> lxsameer: use dot notation "db.users.find({ 'names.firstname': "lee" });" for example
[10:15:32] <lxsameer> djlee: what if the was a C document which is embedded in B
[10:16:09] <djlee> lxsameer: assuming you have the data, why not try adding another ".field" and seeing if it works or not?
[10:16:49] <lxsameer> djlee: you mean like names.firstname.something ?
[14:18:41] <michaelchum> Hi, I would like to transfer the physical location of my mongo database to another hard drive (on the same server) can I just copy the content of my dbpath to the new drive and redirect mongod to the new path?
[14:19:23] <cheeser> if you shutdown, etc., properly that should be fine.
[15:13:53] <rspijker> findOne should not return an array
[15:14:28] <rspijker> I don’t know mongoose… it kind of looks like your Aschema collection contains documents that consist of a single field which has an array as a value though
[15:14:53] <rspijker> you sure that you aren’t secretly doing .findOne(…).item ?
[15:25:31] <berkley> Is it possible to do a geospatial query if I have to separate longitude and latitude fields instead of a single location field? Sorry, I'm very new to this.
[15:38:19] <gancl_> I've also asked here http://stackoverflow.com/questions/24187947/how-to-get-only-one-item-of-a-subdocument-in-mongoose
[15:49:03] <Nodex> gancl_ : look at the positional operator
[16:38:30] <niklask> Hello. I am writing my own CMS, for multiple websites, and is wondering what the best solution is; 1 collection per website created in the CMS, or store all website data in the same collection. Any thoughts?
[16:39:58] <magglass2> I'd use the same collection(s) for all the sites but have a field you can query on to get results specific to a certain site
[16:40:55] <niklask> Alright, thanks. That's how I've written it atm, was just wondering if multiple smaller collections would increase performance.
[16:52:30] <cheeser> niklask: having worked on a large CMS, having one collection a websiteId (as we called it) worked rather well.
[16:55:39] <niklask> cheeser: I'm just thinking about text indexes. If websiteA wants a blog, where you can do text searches on body and subject fields, but websiteB wants to index 1 more field, then it would be better to split it up in different collections - right?
[16:56:05] <cheeser> i don't know. we used solr for that.
[21:02:51] <hocza> If I have a Finance application, does it useful for mongoDB to store every registered users' data in separate database, or it does not matter.
[21:12:34] <cheeser> i wouldn't use separated databases, no.