--
You received this message because you are subscribed to the Google Groups "NOSQL" group.
To post to this group, send email to nosql-di...@googlegroups.com.
To unsubscribe from this group, send email to nosql-discussi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nosql-discussion?hl=en.
Hi,
I'm actually working in mongodb database I am want to know what is the difference between horizontal scaling and sharding .
thnx
--
You received this message because you are subscribed to the Google Groups "NOSQL" group.
To post to this group, send email to nosql-di...@googlegroups.com.
To unsubscribe from this group, send email to nosql-discussi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nosql-discussion?hl=en.
Replication is used to scale reads - you have more copies of your data so you can read from more locations.
Sharding is used to scale writes - there are more locations available to write data.
---
Jeremiah Peschka
Founder, Brent Ozar PLF
SQL MVP, MCITP: DBA, Database Developer
On Apr 29, 2011, at 9:43 AM, Aziz Nait Oumghar wrote:
>
> thanx for your answers ,
>
> In mongodb I think sharding is splitting a collection of documents across different nodes (servers) but I don't know any examples of horizontal scaling in mongodb.Can some one give me an example (replication,I think, is not an example of horizontal scaling)
>
Horizontal scaling means splitting tables across different servers (e.g. one row per server), but with only one instance of the same date. Sharding is basically the same, but allow multiple instances of the same data to be spread across multiple servers.
2011/4/29 Aziz Nait Oumghar <aziznai...@gmail.com>
Hi,
I'm actually working in mongodb database I am want to know what is the difference between horizontal scaling and sharding .
--
You received this message because you are subscribed to the Google Groups "NOSQL" group.
To post to this group, send email to nosql-di...@googlegroups.com.
To unsubscribe from this group, send email to nosql-discussi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nosql-discussion?hl=en.
I would use the term "sharding" for what you called "horizontal scaling", and I would use the term "replication" for what you called "sharding". And I would reserve the term "horizonal scaling" as the general scheme to enable infinite growth.
I know there is not strict definition on these terms by the way.
Rgds,
Ricky
--
You received this message because you are subscribed to the Google Groups "NOSQL" group.
To post to this group, send email to nosql-di...@googlegroups.com.
To unsubscribe from this group, send email to nosql-discussi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nosql-discussion?hl=en.