You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/04/09 07:38:15 UTC

[GitHub] [incubator-doris] caiconghui edited a comment on issue #3285: Replica usage should be limited in database level to reduce the fe memory pressure and the amount of tablet in be

caiconghui edited a comment on issue #3285: Replica usage should be limited in database level to reduce the fe memory pressure and the amount of tablet in be   
URL: https://github.com/apache/incubator-doris/issues/3285#issuecomment-611378683
 
 
   en, 
   1. Because there is replication_num property for table or partition create setting, which mean one tablet has "replication_num" replica, I use replicaSize instead of replica_num to  separate replica_num from replication_num clearly, and maybe replica_num is more accurate for the original meaning
   2. the replica statistics is collected by db->table -> partition -> MaterializedIndex -> tablet->replica 
   hierarchy,include all replicas with all replicaState in table, and we check it when create table, alter table, if current num of replica in db not exceed the replica quota in db,we doesn't prohibit the operation.
   3. at the moment ,we just limit the quota, I think it is a good idea to give user more options to optimize the usage of the replica, such as resize tablets of one partition when user doesn't need to reload the data, merge multiple partition to one partition, and we can also monitor the replica data size in every table, if serval replica data size are under low water level value for long time,then should remind user of  optimizing the setting for partition 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org