Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

mongodb users February, 2012

Threads Replies First post Last post
I got rakefile error, when mongo-ruby-driver install
By: Surisuri
i got as below.. it's too hard to use mongo.. T^T Plz somebody help me.. $ rake gem:install /Users/suri/mongo-ruby-driver/Rakefile:14: Use RbConfig instead of obsolete and deprecated Config. i'm using xcode 4.3 / osx 10.7.3 / ruby 1.9.3 thank…
2 Feb 26, 2012
11:07
Feb 26, 2012
21:10
MongoDB / SubQuery
By: Daniele Tassone
Hi at all, I'm building an gaming based on the MongoDB. Today i need to understand how i can build subquery. Collection 1 (User): - id - name Collection 2 (Point): - UserId - Score (Int32) Basically, i need to select all User and order by Score…
13 Feb 1, 2012
01:51
Feb 2, 2012
05:16
design questions
By: cutout33
Hi, Am new to mongo and am trying to use it for my new application, what am thinking abut is to create separate set of collections for each user on the system but I found that there is a limitation on the number of collections in one database…
5 Feb 1, 2012
02:41
Feb 1, 2012
11:01
BasicDBObject.toString() throw RuntimeException when contain Symbol , but it is success to insert
By: Wendal Chen
Code: Mongo mongo = new Mongo(); DB db = mongo.getDB("wendal_test"); DBCollection ps = db.getCollection("person"); ps.drop(); BasicDBObject obj = new BasicDBObject(); obj.append("wendal", new Symbol("http://wendal.net")); ps.save(obj); …
1 Feb 1, 2012
02:41
Feb 1, 2012
02:45
Using set command on item within an array
By: pchengdev
I want to do a very simple update on an object within an array but I'm not having any luck so far. I've searched the forums but haven't found anything that quite matches what I need. Suppose I have the following structure { "_id" : "1234", …
1 Feb 1, 2012
02:41
Feb 1, 2012
02:47
Fwd: What would be the equivalent of ERD for a NoSQL database such as MongoDB?
By: Sam Millman
Forwarding this to mongodb-user, noticed a few errors too so I have corrected them: Column names are not valid ERD syntax due to the nature of an ERD. ERDs are designed to only detail relations between entities, at most you place the connecting…
0 Feb 1, 2012
03:14
Feb 1, 2012
03:14
connectionPerHost maxed at 507
By: sasher
I don’t understand why, but no matter how many clients I put against my servers, I bounded to 250 connections per host with connectionPerHost=20000 in driver configuration I ran the application server with connectionPerHost=1000 on 2 server and…
6 Feb 1, 2012
03:26
Feb 1, 2012
08:31
inserts handling in server
By: Abhishek kumar
Consider the Scenario: 1. I have to insert documents to collection X 2. total documents to be inserted are 10,000, each with 1 KB 3. Consider the default page size is 4KB so my doubts are 1) when mongo server ask for new pages from the disk(I…
1 Feb 1, 2012
04:57
Feb 1, 2012
05:43
Distributed query to slaves within the shard server
By: Gennadii Omelchenko
Hi! As I know, there is a feature that allows distributing read queries to the slaves (in a replica set) by some drivers using (slaveOkay in the connection string). But what if i have a shard cluster where each node is a replica set itself? Would…
1 Feb 1, 2012
04:59
Feb 1, 2012
05:01
Re: Fwd: What would be the equivalent of ERD for a NoSQL database such as MongoDB?
By: shinn
Thanks for clarifying, I'd use class diagram I think. Btw what is DTD(pre normalisation)? Does it mean Document Type Definition ? On Feb 1, 5:13 pm, Sam Millman <sam.m### @gmail.com> wrote: > Forwarding this to mongodb-user, noticed a…
1 Feb 1, 2012
04:59
Feb 1, 2012
05:29
Pictorial representation of the index made
By: Vineeth Mohan
Hi , I would like to see the pictorial or tree representation of the B tree made for each index created in Mongo tree. Is there any UI which facilitates this ? Thanks Vineeth
9 Feb 1, 2012
05:55
Feb 1, 2012
08:34
Schema Advice
By: AndyB
Hi, I wonder if you could advise the best way to structure data in mongo which has to add remove items from a complex list? Stripping away other items the basic structure is shown below. I'd like to be able to add/remove items to the 'tasks'…
2 Feb 1, 2012
06:26
Feb 1, 2012
11:01
lost the data when update with java driver
By: Wangpe
Hello everyone, I am using java to control the mongodb. i have now a problem about the update. I used a for loop to insert three documents one by one in my collection. It was so strange. If i run the programm normale, i got only two rows in my…
1 Feb 1, 2012
06:39
Feb 1, 2012
14:36
redundancy for GridFS?
By: project2501
Hi, Does GridFS support any kind of replication or redundancy? For example, a chunk of a file is unavailable on one node, but found on another. thanks.
4 Feb 1, 2012
07:08
Feb 1, 2012
13:17
Restarting replica sets on Amazon EC2 after machines have been stopped.
By: stefanoric
Hi, I am running a test environment on Amazon AWS where I have 2 mongo DB instances on two separate hosts. On those 2 hosts I had configured a "2 servers" replica set and all has been working fine in the past few days. I subsequently had to stop…
8 Feb 1, 2012
07:53
Feb 1, 2012
11:22
MongoDB / C# - Inserting document with an automatically populated timestamp
By: Sam Martin
I'm trying to insert into a MongoDB collection. I have a data model containing an Id (ObjectId) and a Timestamp (long) as the first two properties. From here (http://www.mongodb.org/display/DOCS/Timestamp+data+type - second para), i understand…
7 Feb 1, 2012
09:04
Feb 1, 2012
23:12
Question on index tree creation
By: Vineeth Mohan
Hi , I am trying here to get a insight on how the B tree is created. - Lets say i am using a number as a index variable. How will the tree be created with depth =1 or Would it be like this - http://bit.ly/ygwlEp - If so what would be…
1 Feb 1, 2012
10:08
Feb 1, 2012
14:57
Positional Operator Trouble in PHP
By: Devin Dixon
I am trying house $addToSet, a user ID to a messages.has_read array. My query looks like this in array format: Query: Array ( [$addToSet] => Array ( [messages.$.has_read] => MongoId Object ( [$id] => 4f26fc710a56352159000003 ) ) ) …
12 Feb 1, 2012
10:42
Feb 2, 2012
08:46
mongos in one server and mongo shard and mongod on another
By: dimka
Hello at all, I am completely new to mongodb so I would like to be excused. I have already installed mongodb in one server(serverA) and did some basic testing. I installed it in a CentOS 5.7 system using the 10gen packages which I guess since I…
2 Feb 1, 2012
12:13
Feb 3, 2012
02:53
Keeping track of position in a capped collection
By: oscarBravo
I couldn't think of a clearer subject line, so I'll try to explain. I have an application that will need to write a fairly substantial amount of data across a network to a Mongo DB every five minutes or so. This application gathers netflow data -…
2 Feb 1, 2012
12:13
Feb 1, 2012
12:50
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 > [34]