0 | I have 300 milion records so can mongodb is suitable for that. ? I already Mongodb database which contains milions of data but when i query then it will takes more time .so can is it possible any feasible to these data in mongodb? |
It depends on the size of the records, the speed of your disks and how much memory is in your server, and how much of the data is concurrent and in the working set.
0I have 300 milion records so can mongodb is suitable for that. ? I already Mongodb database which contains milions of data but when i query then it will takes more time .so can is it possible any feasible to these data in mongodb?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/dd0d94ef-4b86-4a1d-b24d-d61927ade564%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
hi Tim,
You still have not given us any information about your data, how big is the documents, how much memory do you have in your server, are you using slow disks, you would be supprised how many people do benchmarking on a 2Gb laptop with a 5400 rpm drive.
hi Tim,if i used sharding concept then is it possible ?or i have to move on another technology like hadoop + mongodb.. ?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/f1a271e1-dd3a-427a-90e3-a4080d1baea8%40googlegroups.com.
Hi Tim,
How much memory does the machine have?, what type of disks, 5400?, 7200?, raid? Ssd?
Hi Tim,i have 50GB data, these are already in my mongodb database so when i try to retrieve any data from that or do any aggregation on that data, it will takes more time so for that i have asked question, should if i used sharding then got any improvement on that?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/1bebe1cc-a9fa-47cf-a7e7-63526174e6a7%40googlegroups.com.
4GB RAM and disk type is 7200.
Then no 50gb of data and only 3gb of ram. Then unless most of your data is not going to be read, then its not going to be fast and will spend most of its time swapping data in from disk. Rather than sharding you are better off putting the RAM you would have had in the other servers into your first machine. Until you have a reasonable amount of coverage of the dataset.
HI Tim4GB RAM and disk type is 7200.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/2ae5872c-512f-418d-ada3-48cc24801f12%40googlegroups.com.
Did you create an index on a suitable field? To support the sorting of the results
Ie
db.mycollection.find().sort({"added":-1}).limit(20)
Where "added" is a timestamp field set to the time the document was added, and you have an index on the added element
db.mycollection.ensureIndex({"added":-1})
okay i got it but my problem is, i have 300 million records now i want to try fetch last 20 record then its take more time to fetching those data so for that what i have to do?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/84461582-81a4-4f57-906d-a3f10d103fc0%40googlegroups.com.
mongodb _id field bydefault contains timestamp then is it necessary to took another time stamp?