Segment compaction on upserts
Use segment compaction on upsert-enabled real-time tables.
Overview of segment compaction
Compact segments on upserts in a real-time table
"task": {
"taskTypeConfigsMap": {
"UpsertCompactionTask": {
"schedule": "0 */5 * ? * *",
"bufferTimePeriod": "7d",
"invalidRecordsThresholdPercent": "30",
"invalidRecordsThresholdCount": "100000",
"tableMaxNumTasks": "100",
"validDocIdsType": "SNAPSHOT"
}
}
}Example




Was this helpful?

