Search Discussions
-
Hi, I have three Member Replica Set. 1. Primary 2. Secondary 3. Arbiter I am now introducing a new Secondary to replace Arbiter. I have some queries: 1. To add new secondary i will have to remove ...
Virendra Agarwal
Jun 1, 2016 at 10:38 am
Jun 16, 2016 at 8:21 am -
I'm using the async mongoDB driver for java and try to query data from a collection which does not exist yet by using .find().forEach(block, listener). I thought the "block" callback is called one ...
Champs89
Jun 9, 2016 at 8:23 pm
Jun 13, 2016 at 2:56 pm -
Hi all, I'm trying to parse a 'view' retrieved from my db. the document has nested objects. this is the output of bsoncxx::to_json(doc- view()) : { "_id": { "$oid": "57617d54016b8ed1ed76fde1" }, ...
Guy Shefer
Jun 16, 2016 at 4:20 pm
Jun 17, 2016 at 7:47 pm -
Hello everyone I have the following document: { "price": [ { "availability": { "available_dow": [ "1", "2", "3", "4", "5", "6" ] }, }, { "availability": { "available_dow": [ "0" ] }, } ], } And I am ...
Migsy
Jun 1, 2016 at 8:43 am
Jun 17, 2016 at 4:26 am -
bsoncxx::oid id; if(!id) std::cout<<"OK"; save this id to db and read it out: bsoncxx::oid id = bson["id"].get_oid().value; if(!id) std::cout<<"OK"; else std::cout<<"Not user want"; It print Not user ...
Li ning
Jun 16, 2016 at 3:56 am
Jun 18, 2016 at 4:17 am -
Hi, I need your help... I need a way to follow queries performance, run-time, statistics and more on my mongodb system. I'm trying to use the profiler... now, because I have sharding I enabled ...
Chen Shaulian
Jun 8, 2016 at 12:42 pm
Jun 15, 2016 at 11:47 am -
HI, I am trying to write output data into file.. while writing some data i was success. but when it comes to date format I was failed to generate the file. Please help me... below is the example: I ...
Murthy Jn
Jun 1, 2016 at 9:47 am
Jun 3, 2016 at 12:19 am -
I have 100 documents of customer data.Each document inturn have 300 transactions done .So in total 3000 transaction for 100 customers Now if I need to retrieve top 10 transactions done recently ...
Sandy555
Jun 13, 2016 at 12:10 pm
Jun 17, 2016 at 5:47 am -
Hi Guys, I am new to MongoDB and want to learn practise Sharding and Replication. I have installed MongoDB on local windows machine. Is it possible to create shards and Replica set without another ...
Karki
Jun 13, 2016 at 2:45 pm
Jun 17, 2016 at 5:47 am -
Command 'listDatabases' failed: db assertion failure (response: { "assertion" : "can't map file memory", "assertionCode" : 10085, "errmsg" : "db assertion failure", "ok" : 0.0 }) Type ...
Ravi Shankar Yadav
Jun 2, 2016 at 5:56 am
Jun 17, 2016 at 5:25 am -
Hi, We are having our mongodb cluster at AWS and our production DB mongo is very old - we are still using version 2.6 then latest version at the moment is 3.2.7. We need to upgrade mongodb binaries ...
Chen Shaulian
Jun 15, 2016 at 11:59 am
Jun 16, 2016 at 8:18 am -
Mongodb 3 provides the maxTimeMS() option. Is it possible to apply this through the Ruby Driver 2.2 and Mongoid 5? -- You received this message because you are subscribed to the Google Groups ...
Kirk Dawson
Jun 14, 2016 at 1:54 pm
Jun 14, 2016 at 3:46 pm -
HI All, I am replacing a member of replica set (new member have different IP address). What i am looking to do is as follows: 1. RSYNC data directory of existing secondary node to new Node. 2. Stop ...
Virendra Agarwal
Jun 9, 2016 at 10:49 am
Jun 13, 2016 at 5:47 am -
Hi, Isn't it possible to create/roll out a new replica set in mongodb 3.2 version and configure it to the existing data path of another replica set which is running in 2.6 version ? Of course, we ...
Rajkumar kalaiselvam
Jun 9, 2016 at 1:28 pm
Jun 9, 2016 at 3:24 pm -
Can you indicate what versions of Monogdb are supported by Mongoid. Specifically can mongodb version 3.0 be used by Mongoid version 3.1? -- You received this message because you are subscribed to the ...
Kirk Dawson
Jun 3, 2016 at 7:33 pm
Jun 7, 2016 at 2:27 pm -
Hey there! I'm going to build a new document from two old ons. I can successfully add parts of the other documents like arrays, documents ore single values. But adding a whole document causes some ...
Javantamt
Jun 3, 2016 at 3:18 pm
Jun 3, 2016 at 5:26 pm -
Mongodb 3.2, installed on centos 6, with plenty of RAM and disk. I've a collection with 10K documents of the following structure: { "id":5752034, "score":7.6, "name":"ASUS X551 15.6-inch Laptop", ...
Barak Yaish
Jun 2, 2016 at 9:38 am
Jun 2, 2016 at 12:22 pm -
Hi! I would like to access the same mongodb database via Python and JavaScript. So, I wanted to use two different drivers: pymongo and javascript driver. Calls to the same database could come at the ...
Yaroslav Kyrpych
Jun 2, 2016 at 10:35 pm
Jun 17, 2016 at 5:21 pm -
If is set mongod dbpath is give error like--- Problem signature: Problem Event Name: APPCRASH Application Name: mongod.exe Application Version: 0.0.0.0 Application Timestamp: 57212e05 Fault Module ...
Amarendra gupta
Jun 1, 2016 at 11:39 pm
Jun 17, 2016 at 5:07 am -
Hi, Minimum on what data size Sharding is recommended in MongoDB? Suppose my database size is 1 GB is sharding necessary? if i do not create shard will that work for me, for this data size. Thank you ...
Dilip Gupta
Jun 14, 2016 at 12:38 am
Jun 17, 2016 at 1:46 am -
Hello, I am trying to export few records using Mongexport option. I have successfully exported without query option. but not able to export the records using query. please help me and let me know the ...
Murthy Jn
Jun 5, 2016 at 1:28 pm
Jun 16, 2016 at 6:52 am -
Im a little new to Mongodb but we have mongodb setup on a Centos Linux box and our collections are getting larger. The mongo db data path folder is on /data/mongo with /data being its own disk. We ...
Lance Lyons
Jun 8, 2016 at 3:32 pm
Jun 16, 2016 at 1:54 am -
While trying to upgrade my mongodb from 2.4 to 2.6 I'm running into issue with yum packaging upgrade. Here are my steps that I'm have attempted which I'm following from ...
Ming
Jun 1, 2016 at 8:49 am
Jun 15, 2016 at 2:27 am -
I have this weird problem, that I cannot connect to the replicaSet. Connection to the servers separately works fine, but when I try replicaSet - pymongo disconnects straight away after connecting ...
Narūnas Krasauskas
Jun 12, 2016 at 12:19 pm
Jun 14, 2016 at 2:00 am -
Hey there, I'm going to build a bson in a loop. The first snippet is a single call. The second snipped are separate calls. In my opinion the reason why compiler says no to no 2 is, that open_array ...
Javantamt
Jun 7, 2016 at 2:50 am
Jun 9, 2016 at 12:39 am -
I have a 3 node Replica set. I need to be able to connect to the local DB whether its primary of secondary. I have enabled authentication so MongoClient mongoClient = new MongoClient( ); does not ...
Brian Stienstra
Jun 8, 2016 at 1:56 pm
Jun 8, 2016 at 6:51 pm -
Hey there, I'm reciving a JSON from an application. I know the structure, but not the names of the keys. I'm going to extract the URL's, which are placed in the arrays. But I don't know the names of ...
Javantamt
Jun 4, 2016 at 7:03 pm
Jun 7, 2016 at 3:55 pm -
Hello, I'm using the engine WiredTiger in MongoDB and I desperately seeking documentation about its limits. (like max collections in one DB, max documents in a collection, etc.) Can you help me ...
Gabriel MOUGEOT
Jun 6, 2016 at 12:12 pm
Jun 7, 2016 at 12:51 pm -
Hey there! I'm going to implement a low level application with static allocated memory and own memory managment system. the data should be stored in a container like this: #define MAX_SIZE_PER_ENTRY ...
Javantamt
Jun 5, 2016 at 3:48 pm
Jun 6, 2016 at 9:04 pm -
Hello Everyone, I understand in 3.0 I can swap from MMAPv1 to WiredTiger - but is it possible to swap back to MMAPv1 after moving to WiredTiger? Can't seem to see that listed anywhere. Thanks! -- You ...
J K
Jun 1, 2016 at 4:35 pm
Jun 6, 2016 at 12:04 am -
1. Can we Migrate all the tables for example 3 tables are there in a oracle database and 2 tables having child tables as well in this scenario can we migrate exactly in same pattern into mongodb? 2 ...
Bibhu patnaik
Jun 1, 2016 at 7:32 am
Jun 3, 2016 at 6:26 pm -
I am facing an issue while compiling mongodb from source: Steps to reproduce: git clone https://github.com/mongodb/mongo.git scons Error: scons: Reading SConscript files ... Mkdir("build/scons") ...
Astro
Jun 1, 2016 at 5:47 am
Jun 1, 2016 at 7:39 am -
I want to update weekly data for Projects every Monday. Total 52 weeks. I want to store and edit table as shown in figure. what is the best table design in mongodb?? this is the table am trying ...
Akhil ek
Jun 2, 2016 at 7:49 am
Jun 17, 2016 at 6:10 am -
Hi, I have a deployment with 3 shards (1 primary + 2 secondary on each shard) plus 3 config servers (1 primary + 2 secondary) on AWS (total 12 mongod). I also have a bunch of mongos running on ...
Jose Olcese
Jun 14, 2016 at 12:46 am
Jun 17, 2016 at 4:11 am -
Currently we are using mongo cloud to manage our mongo server. I am facing an issue now where my replicas are down all from one server. I am not sure how to debug this issue to find the root cause. I ...
Jame Ng
Jun 1, 2016 at 7:26 am
Jun 17, 2016 at 3:42 am -
Hi, I am using PyMongo to write a quite large bulks of data (~1-10k documents per bulk when the total is ~100k documents for one connection), but if I use it using one connection, it slows down ...
pyVlad
Jun 16, 2016 at 8:35 pm
Jun 17, 2016 at 12:51 am -
Hi, In our MongoDB sharded cluster, one of our shards consists of a mongo replica set(1 Primary + 1 Secondary + 1 arbiter) running on a single IBM Power Linux Server. Yesterday inserts to one db on ...
Kim..
Jun 16, 2016 at 8:33 am
Jun 16, 2016 at 8:35 pm -
We've a replica set of 3 members MongoDB 3.2: Primary, Secondary and Secondary. Following config is set: ReadPreference: secondaryPreferred WriteConcern: 3 Wtimeout: 2000 ms When one of the member of ...
Astro
Jun 16, 2016 at 2:45 am
Jun 16, 2016 at 1:34 pm -
Hello I am trying to connect my android app with mongodb, but so far not managed to insert documents I add my build.gradle: "Compile group: 'org.mongodb' name:" mongo-java-driver 'version' 3.0.4 '" ...
Christian Jiménez
Jun 6, 2016 at 10:38 pm
Jun 16, 2016 at 4:04 am -
We're finally looking at adding support for certain Java 8 types in Morphia. There are a number of options for how to encode each type. We've made an initial pass at it and have an implementation but ...
Justin Lee
Jun 2, 2016 at 6:26 pm
Jun 15, 2016 at 12:51 pm -
Hi All, Does anybody know how to get current server time using mongodb c# driver? -- You received this message because you are subscribed to the Google Groups "mongodb-user" group. For other MongoDB ...
Pavel
Jun 6, 2016 at 11:25 pm
Jun 15, 2016 at 7:43 am -
I have a simple question. If I upgrade my MongoDB cluster to version 3.1.6 and keep the config servers at version 3.0 will this work? Will there be any problem with this configuration? The reason we ...
Van P
Jun 14, 2016 at 6:55 pm
Jun 14, 2016 at 7:14 pm -
1
[mongodb-user] fastest way to call a python function on every document in a collection independently
Hello, I have a *text* attribute in every document that I want to split and store the list in a new field. Since this operation is independent of other documents, may I know what's the fastest way to ...Kevad
Jun 12, 2016 at 10:24 pm
Jun 14, 2016 at 2:21 am -
In my JSON I have the following: "data" : "2010-03-02T19:57:41.500Z" I want to insert this date with PyMongo as an ISODate. How do I do this? Thanks, Robert -- You received this message because you ...
Robert James Liguori
Jun 13, 2016 at 12:51 pm
Jun 14, 2016 at 1:49 am -
Hello, I have followed the instructions given in this guide "https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver)" When I try to compile the sample program using this ...
Danish jalil
Jun 11, 2016 at 1:52 pm
Jun 13, 2016 at 7:19 pm -
How can I perform MongoDB query asynchronously in PHP? For mysql we can use <?php mysqli_query ( $link , $query,MYSQLI_ASYNC); mysqli::poll ( $read , $error , $reject , $sec,$usec ) ...
Socketman2016
Jun 10, 2016 at 1:26 pm
Jun 10, 2016 at 7:28 pm -
I want to return only the NAME values where DOCUMENT ID = 10 Below is my data: { "_id" : ObjectId("1"), "DOCUMENT ID" : 10, "NAME" : "Peter", DATE" : "01/1/2016" }{ "_id" : ObjectId("2"), "DOCUMENT ...
Jason Darcy
Jun 9, 2016 at 8:23 pm
Jun 10, 2016 at 8:32 am -
I have a collection that has thousands of fields present in a document. And there are more than 2 million such documents present in a collection. The typical queries I do on this collection is to ...
Raghu
Jun 9, 2016 at 9:59 am
Jun 9, 2016 at 12:29 pm -
Hi, imagine that I've a collection with documents like this: {_id:123,a:1,b:1}, {_id:124,a:1,b:2}, {_id:125,a:1,b:3}, {_id:126,a:2,b:2}, {_id:127,a:2,b:3}, {_id:128,a:3,b:1}, {_id:129,a:3,b:2}, ...
Paulo
Jun 8, 2016 at 4:14 pm
Jun 9, 2016 at 11:04 am -
I was trying to find some information online regarding MongoDB connections and was wondering if it is normal to see connections spike up and down between 300-2000 on a regular basis. We were unable ...
Jarrett Lusso
Jun 1, 2016 at 11:37 pm
Jun 9, 2016 at 1:18 am
Group Overview
group | mongodb-user |
categories | mongodb |
discussions | 114 |
posts | 301 |
users | 132 |
website | mongodb.org |
irc | #mongodb |
132 users for June 2016
Archives
- June 2016 (313)
- May 2016 (549)
- April 2016 (600)
- March 2016 (577)
- February 2016 (516)
- January 2016 (614)
- December 2015 (662)
- November 2015 (684)
- October 2015 (745)
- September 2015 (635)
- August 2015 (575)
- July 2015 (564)
- June 2015 (561)
- May 2015 (707)
- April 2015 (998)
- March 2015 (1,229)
- February 2015 (765)
- January 2015 (805)
- December 2014 (721)
- November 2014 (978)
- October 2014 (968)
- September 2014 (767)
- August 2014 (982)
- July 2014 (1,085)
- June 2014 (200)
- May 2014 (615)
- April 2014 (1,295)
- March 2014 (1,046)
- February 2014 (970)
- January 2014 (1,122)
- December 2013 (703)
- November 2013 (1,002)
- October 2013 (924)
- September 2013 (840)
- August 2013 (1,011)
- July 2013 (1,113)
- June 2013 (1,026)
- May 2013 (1,565)
- April 2013 (1,485)
- March 2013 (1,759)
- February 2013 (1,398)
- January 2013 (1,861)
- December 2012 (1,318)
- November 2012 (1,762)
- October 2012 (2,048)
- September 2012 (2,319)
- August 2012 (2,442)
- July 2012 (2,076)
- June 2012 (2,363)
- May 2012 (3,180)
- April 2012 (2,964)
- March 2012 (2,896)
- February 2012 (3,079)
- January 2012 (2,521)
- December 2011 (2,461)
- November 2011 (2,940)
- October 2011 (2,603)
- September 2011 (1,415)