Re: Different number of replicas for different shards

2019-06-30 Thread Erick Erickson
where queries go. >>> >>> If you do somehow know some shards get more queries, one strategy is to >>> simply have more _replicas_ for those shards with the ADDREPLICA >>> collections API command. >>> >>> >>>> On Jun 29, 2019, at 7:00 AM, S

Re: Different number of replicas for different shards

2019-06-30 Thread Nawab Zada Asad Iqbal
y is to >> simply have more _replicas_ for those shards with the ADDREPLICA >> collections API command. >> >> >> > On Jun 29, 2019, at 7:00 AM, Shawn Heisey wrote: >> > >> > On 6/29/2019 12:23 AM, Nawab Zada Asad Iqbal wrote: >> >> is it po

Re: Different number of replicas for different shards

2019-06-30 Thread Nawab Zada Asad Iqbal
ve more _replicas_ for those shards with the ADDREPLICA > collections API command. > > > > On Jun 29, 2019, at 7:00 AM, Shawn Heisey wrote: > > > > On 6/29/2019 12:23 AM, Nawab Zada Asad Iqbal wrote: > >> is it possible to specify different number of replicas for di

Re: Different number of replicas for different shards

2019-06-29 Thread Erick Erickson
those shards with the ADDREPLICA collections API command. > On Jun 29, 2019, at 7:00 AM, Shawn Heisey wrote: > > On 6/29/2019 12:23 AM, Nawab Zada Asad Iqbal wrote: >> is it possible to specify different number of replicas for different >> shards? i.e if I expect some shar

Re: Different number of replicas for different shards

2019-06-29 Thread Shawn Heisey
On 6/29/2019 12:23 AM, Nawab Zada Asad Iqbal wrote: is it possible to specify different number of replicas for different shards? i.e if I expect some shard to get more queries , i can add more replicas to that shard alone, instead of adding replicas for all the shards. On initial collection

Different number of replicas for different shards

2019-06-28 Thread Nawab Zada Asad Iqbal
Hi, is it possible to specify different number of replicas for different shards? i.e if I expect some shard to get more queries , i can add more replicas to that shard alone, instead of adding replicas for all the shards. Thanks Nawab