Best unofficial Apache Server developers community |
| Threads | Replies | First post | Last post | |
|---|---|---|---|---|
|
Problems with slow update By: gbalthasar Hi, on a single MongoDB 2.0.2 instance I have collection with
documents like this: > db.assortment.findOne() { "_id" :
ObjectId("4f3279b85e53cee38eefa2fa"), "pk" :
"2j1IRLU8g0kSvJv9CBYV58-1", "code" : "323948-40", "referenceNr" :
"TLP…
|
2 | Feb 8 2012 08:14 |
Feb 9 2012 00:52 |
|
|
Do we have Java API wrapper for Mongo Import? By: vasi Hello, I have a csv file which needs to be imported into a Mongo
collection. Is there a way I can run Mongo Import through Java using
any API/ driver instead of running the mongoimport.exe command?
Thanks in advance.
|
3 | Feb 8 2012 17:56 |
Feb 9 2012 00:23 |
|
|
mongostat result By: yuhuofei insert query update delete getmore command flushes mapped vsize res
faults locked % idx miss % qr|qw ar|aw netIn netOut conn
time 0 5608 0 0 0 1 0 15.9g 32.4g
7.53g 0 0 0 …
|
0 | Feb 9 2012 00:10 |
Feb 9 2012 00:10 |
|
|
SplitVector Command failed By: juhi bhatia Hi I am in testing phase and testing my apps performance with
inserting a million records in mongodb. After 239673 number of
records got inserted in mongodb, I am getting following error at
mongos.log : Wed Feb 8 14:37:40 [conn16] warning:…
|
0 | Feb 8 2012 23:58 |
Feb 8 2012 23:58 |
|
|
How do config servers know if replica member has been removed? By: Bulgogi For example, assume: - replica set consists of r1.replica.db,
r2.replica.db, r3.replica.db - config server adds this replica set as
a shard using 1) log into member of replica set and use
rs.remove(r3.replica.db) command. Assume r3.replica.db is…
|
4 | Feb 7 2012 18:47 |
Feb 8 2012 23:36 |
|
|
finding documents with wildcard key By: John Hello All, I'd like to be able to find documents where the specified
value is found in any key - sort of like a wildcard for the query key
and a literal for the query value. Is this possible? Thanks! --john
|
4 | Feb 7 2012 23:15 |
Feb 8 2012 22:47 |
|
|
Is MongoDB producing more than 100% storage overhead? i.e., I insert 22GB data and it occupies 50GB By: X Chen I have done an simple experiment to test MongoDB's performance and
disk usage. I insert 22GB data and it occupies 50GB on the disk. I
will describe this experiment in details as below. Setup:
Version - MongoDB 2.0.2 Environment: …
|
5 | Jan 26 2012 10:42 |
Feb 8 2012 22:43 |
|
|
Importing Data to Primary not getting replicated to secondary By: Joseph Rodriguez I have a replication set of 2 servers and 1 arbiter. I imported a new
collection to a primary and it didn't sync it to the secondary. What
am I doing wrong? I used the mongoimport.exe and specified the primary
port number and journal flag. I do see…
|
1 | Feb 8 2012 16:42 |
Feb 8 2012 22:26 |
|
|
replicaSet config By: Martinus Martinus Hi, I have three of my mongod as my first replicaSet and right now I
changed one of the machine names. How can I edit my replicaSet
configuration and run back the replicaSet again? Thanks.
|
1 | Feb 8 2012 21:21 |
Feb 8 2012 22:25 |
|
|
how to configure master and slave replication configuration By: Mahalingam Moorthy Hi all, I have a question to you all. I need to configure mongodb
master and slave setup. My setup: Master server Slave server -both
are different physical servers. configuration for Master and slave
server: Master server: -- mongod …
|
2 | Feb 7 2012 23:14 |
Feb 8 2012 22:14 |
|
|
facing issues with unique and dropDups By: Abhishek kumar My db is having a collection having documents like: { _id :
ObjectId(.....) a : 1, b : 2, c : [{a1 : 2, a2 : 4}, {a1 : 3, a2
: 1}, {a1 : 6, a2 : 7}] } I want to have a unique value for 'c.a1'.
My collection design is such that each time I…
|
1 | Feb 8 2012 20:53 |
Feb 8 2012 21:01 |
|
|
mongoimport -f OR --fieldFile By: Charles Agnello The documentation regarding this feature isn't too clear to me. Does
this imply anything about the data you are importing if you use this
option? What I mean is if I use mongoimport with "-f" or "--fieldFile"
does this mean that the data does…
|
1 | Feb 8 2012 19:02 |
Feb 8 2012 19:21 |
|
|
ConvertToCapped 29TB - "can't map file memory" when replication is off By: Thorn Roby I'm trying to convert an existing 4TB collection to capped 29TB. I
started on the replica set secondary, bringing it up without the
replSet argument because I'm not sure if the table lock might cause
replication problems if it's actively…
|
4 | Feb 8 2012 13:06 |
Feb 8 2012 19:10 |
|
|
update failed b/c of StaleConfigException By: Dustin Norlander Getting tons of these in the mongos logs: Thu Feb 9 00:35:17
[conn259] ns: twitter_users.twitter_user_meta_data
ClusteredCursor::query ShardConnection had to change attempt: 0 Thu
Feb 9 00:35:25 [conn258] ns:…
|
0 | Feb 8 2012 18:44 |
Feb 8 2012 18:44 |
|
|
Graduation Project By: bruno farina hey guys .. I need a help with my graduation project .. Can you help
me with something? Something that uses MongoDB ? For example :
mongodb using replication in a web project .. I really need different
ideas of everything that exists using…
|
5 | Jan 30 2012 06:16 |
Feb 8 2012 17:46 |
|
|
Export raw data without invalidating memory pages By: Mihnea Giurgea From our current understanding of MongoDB, iterating through 100GB of
data will load 100GB into RAM (assuming swap is disabled) and will
invalidate 100GB worth of memory pages. Is there any way to avoid
that? Can MongoDB iterate through a…
|
3 | Feb 7 2012 08:29 |
Feb 8 2012 17:16 |
|
|
Grow Document With Updates Or Make A Separate Collection By: Brian Carpio This might be an obvious question for some pros but I am a little bit
confused. Lets say I am making an application lets say a "Weight
Loss" app where a user each day logs in and reports what their current
weight is. It seems there are two ways to…
|
1 | Feb 8 2012 15:46 |
Feb 8 2012 16:45 |
|
|
Mongos socket exceptions against shards that are down - breaks connectivity to whole shard? By: BernieD I am running mongos with three config servers against two shards.
When I bring a shard down (just by stopping mongod on all nodes of one
shard), I was expecting that that the mongos process will catch this
and then inserts to the missing shard…
|
9 | Dec 2 2011 19:44 |
Feb 8 2012 16:43 |
|
|
2 Datacenter sharding advice wanted By: Jon Schneider We are currenty running out of one datacenter but will soon be moving
to another and our current datacenter will become the failover
location. Currently running 2 shards made up of a replica set of 3
server each. Just looking for an experienced…
|
4 | Feb 7 2012 15:38 |
Feb 8 2012 16:40 |
|
|
how to use $in in c++ By: sam I want to query a match on an element in an embedded object which is
in an array, the doc is like this: "user": "admin", "members": [
"user1", "user2" ] I want to construct a query like this:
QUERY("user" << "admin" << "members"…
|
0 | Feb 8 2012 16:38 |
Feb 8 2012 16:38 |