caiconghui opened a new 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
 
 
   Not only data but also replica size should be limited. Too much replica 
would occupy too much memory in fe and cause poor performance for tablet manage 
task in be, we need know the replica usage and set the quota in db level, like 
the following implementation. 
   mysql> alter database test set replica quota 1000;
   Query OK, 0 rows affected (0.06 sec)
   
   mysql> show data;
   +-------------+------------+-------------+
   | TableName   | DataSize   | ReplicaSize |
   +-------------+------------+-------------+
   | table_hash  | 1.771 KB   | 32          |
   | table_hash1 | .000       | 60          |
   | table_hash2 | .000       | 60          |
   | Total       | 1.771 KB   | 152         |
   | Quota       | 500.000 GB | 1000        |
   | Left        | 500.000 GB | 848         |
   +-------------+------------+-------------+
   6 rows in set (0.01 sec)
   
   mysql> 
   
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to