ARCHIVELOG
Notes and Constraints
This section applies only to MRS 3.2.0-LTS or later.
Function
This command is used to archive instants on the timeline and remove archived instants from the timeline based on configurations. This process keeps the timeline compact and improves the performance of timeline-related operations.
Syntax
RUN ARCHIVELOG ON tableIdentifier;
RUN ARCHIVELOG ON tablelocation;
Parameter Description
| Parameter | Description |
|---|---|
| tableIdentifier | Name of the Hudi table |
| tablelocation | Storage path of the Hudi table |
Example
run archivelog on h1; run archivelog on "/tmp/hudi/h1";
Precautions
- Only instants that are not cleaned can be archived.
- No matter whether the compaction operation is performed, at least x (x indicates the value of hoodie.compact.inline.max.delta.commits) instants are retained and not archived to ensure that there are enough instants to trigger the compaction schedule.
Response
You can view command execution results in the driver log or on the client.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot