Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 68599

All versions of MongoDB - a scalable, high-performance, open source, document-oriented database.

1
vote
your mongos config file or startup parameters or even the replication/shard configuration in your mongodb, it is adviced to use those CNAMES. Example of mongos with cname as configdb parameters …
answered Aug 17 '15 by aldwinaldwin
0
votes
://university.mongodb.com, you can get more information about this if you are interested. Following M202 MongoDB Advanced Deployment and Operations now, what offers some specific information to optimize. …
answered Jun 18 '15 by aldwinaldwin
1
vote
pymongo import MongoClient connection = MongoClient("mongodb://10.x.x.x", w=0) db=connection.testing test = db.test tstart = datetime.datetime.now() d = {'counter' : 0} while d['counter'] < 1000000: d …
answered Jun 23 '15 by aldwinaldwin
1
vote
You will need to study the BSON specs to create your own functions, or use one of the available libraries that others made already: http://bsonspec.org/implementations.html
answered Jul 8 '15 by aldwinaldwin
2
votes
information from MongoDB : Database Size The MMAPv1 storage engine limits each database to no more than 16000 data files. This means that a single MMAPv1 database has a maximum size of 32TB …
answered Aug 21 '15 by aldwinaldwin
4
votes
more information about this if you are interested. Following M202 MongoDB Advanced Deployment and Operations now, what offers some specific information to optimize. …
answered Jun 19 '15 by aldwinaldwin
3
votes
Create an admin to create users: > use admin > ( rs.initiate() ) > db.createUser({user:"siteUserAdmin",pwd:"password",roles:[{role:"userAdminAnyDatabase",db:"admin"}]}) Login as userAdmin: $ mongo …
answered Aug 27 '15 by aldwinaldwin
0
votes
You can send rs.stepDown(300) to the replicas on the SSD disks that you want as Secondary. Then they won't get chosen for the next 5 minutes. The replica on the HDD should be Primary when all the othe …
answered Aug 13 '15 by aldwinaldwin
1
vote
The error/exception is because you point to a local database with --configdb. That should be a serverip:port: ##shards/replicas: mongod --shardsvr --replSet ReplName --dbpath /data/mongodb (--port …
answered Aug 10 '15 by aldwinaldwin
0
votes
Please have a look at the Built-in Roles documentation of Mongo. There are different admin roles that can indeed only do some administration. But you can add multiple roles to your user. So adding …
answered Aug 11 '15 by aldwinaldwin
6
votes
:1,interests:1}'* ) Mongodump uses bson file structure and preserves the data types. Mongoexport will lose data type of the values. Such as NumberLong("1431677405876") would be converted to just 1431677405876. That's why mongodump is advised if you need to import back to MongoDB. …
answered Jul 21 '15 by aldwinaldwin
-1
votes
From http://docs.mongodb.org/manual/reference/ulimit/ : limit fsize unlimited unlimited # (file size) limit cpu unlimited unlimited # (cpu time) limit as unlimited unlimited # (virtual memory …
answered Jul 24 '15 by aldwinaldwin
0
votes
on a small server, practice moving chunks, adding tags, .... Have a look at the AllChunkInfo script of Adam Comerford for you scripts and testing : https://github.com/comerford/mongodb-scripts …
answered Aug 5 '15 by aldwinaldwin
-1
votes
MongoDB nodes will vote of who can be next Primary, with a majority of votes. 3 nodes : at least 2 have to choose a certain node. When 2 of the 3 can't vote, the the remaining one, has 1 vote out … for a node in rare cases.) (MongoDB has some free university/classes where they explain with exercises how all those situations can be handled.) …
answered Aug 21 '15 by aldwinaldwin
5
votes
To see if the hardware is not limiting: top/htop => cpu percentage iostat -x 1 => sysstat tool to see disk r/w limits (%util) Concerning locking: Mongo 2.6 : database locking Mongo 3.0 + MMAPv1 …
answered Jun 16 '15 by aldwinaldwin

15 30 50 per page