morningman commented on a change in pull request #2764: [Doc] Add en doc for 
dynamic partition feature
URL: https://github.com/apache/incubator-doris/pull/2764#discussion_r366409068
 
 

 ##########
 File path: docs/documentation/en/administrator-guide/dynamic-partition_EN.md
 ##########
 @@ -0,0 +1,182 @@
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# Dynamic Partition
+
+Dynamic partition is a new feature introduced in Doris verion 0.12. It's 
designed to manage partition's Time-to-Life (TTL), reducing the burden on users.
+
+The original design, implementation and effect can be referred to [ISSUE 
2262](https://github.com/apache/incubator-doris/issues/2262)。
+
+Currently, the function of adding partitions dynamically is implemented, and 
the next version will support removing partitions dynamically.
+
+## Noun Interpretation
+
+* FE: Frontend, the front-end node of Doris. Responsible for metadata 
management and request access.
+* BE: Backend, Doris's back-end node. Responsible for query execution and data 
storage.
+
+## Principle
+
+In some scenarios, the user will create partitions for the table according to 
the day and perform routine tasks regularly every day.In this case, the user 
needs to manually manage the partition, otherwise the data import may fail 
because the partition is forgot to create, which brings additional maintenance 
costs to the user.
+
+The design of implementation is that FE will starts a background thread that 
determines whether or not to start the thread and the scheduling frequency of 
the thread based on the parameters' dynamic_partition_enable 'and' 
dynamic_partition_check_interval_seconds' in fe.conf.
+
+When create a olap table, the dynamic_partition properties will be assigned, 
FE will parse dynamic_partition properties and check the legitimacy of the 
input parameters firstly, and then persist the properties to FE metadata, 
register the table to the list of dynamic partition at the same time. Daemon 
thread will scan the dynamic partition list periodically according to the 
configuration parameters, 
 
 Review comment:
   ```suggestion
   When create a olap table, the `dynamic_partition` properties will be 
assigned. FE will parse `dynamic_partition` properties and check the legitimacy 
of the input parameters firstly, and then persist the properties to FE 
metadata, register the table to the list of dynamic partition at the same time. 
Daemon thread will scan the dynamic partition list periodically according to 
the configuration parameters,
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to