Arnav
11/11/2025, 4:25 AM"task": {
"taskTypeConfigsMap": {
"UpsertCompactionTask": {
"schedule": "0 0 */4 ? * *",
"bufferTimePeriod": "1h",
"invalidRecordsThresholdPercent": "0",
"invalidRecordsThresholdCount": "1",
"validDocIdsType": "SNAPSHOT"
}
}
},
Its taking too much time how can i optimise it?robert zych
11/11/2025, 4:56 PMArnav
11/12/2025, 10:54 AMrobert zych
11/12/2025, 2:29 PMArnav
11/12/2025, 3:47 PM"taskTypeConfigsMap": {
"UpsertCompactMergeTask": {
"schedule": "0 */5 * ? * *",
"bufferTimePeriod": "1m",
"outputSegmentMaxSize": "200MB"
}
}
and in tasks i can see only 2 segments are considered for merging and its output segment has 75 mb but my limit was 200 mb and segments docs around 1Million but default is 5Million
"maxNumRecordsPerSegment": "5000000",
"crc": "591908278,1164424178",
"segmentName": "compacted__iot_advance_session_upsert__17__1762953010500__0,iot_advance_session_upsert__17__122__20251110T1235Z",
"TASK_ID": "Task_UpsertCompactMergeTask_acc8e121-edc7-403a-abd4-49d466b9d3a0_1762961400458_0",
"triggeredBy": "CRON_TRIGGER",
"tableName": "iot_advance_session_upsert_REALTIME",robert zych
11/13/2025, 4:43 PMArnav
11/14/2025, 10:53 AM44 segments unavailable, sampling 10: [iot_last_session_events_test__14__7__20251114T0235Z, iot_last_session_events_test__20__10__20251114T0541Z, iot_last_session_events_test__8__10__20251114T0555Z, iot_last_session_events_test__28__2__20251113T1940Z, iot_last_session_events_test__10__6__20251114T0116Z, iot_last_session_events_test__30__10__20251114T0541Z, iot_last_session_events_test__4__7__20251114T0233Z, iot_last_session_events_test__2__11__20251114T0652Z, iot_last_session_events_test__10__12__20251114T0759Z, iot_last_session_events_test__30__2__20251113T1937Z], with routing policy: strictReplicaGroup [realtime]robert zych
11/14/2025, 5:23 PMrobert zych
11/14/2025, 5:27 PM