Repeatedly scanning files #2775
Closed
lurnagao-dahua
started this conversation in
General
Replies: 1 comment 1 reply
-
Yes, in the current optimizing process, both the evaluation and plan stages involve scanning files. During the evaluation stage, the system assesses whether tables need optimizing. This evaluation occurs periodically. When the evaluation determines that a table requires optimizing, the table's status changes from idle to pending, triggering the formal planning process. In the future, we can attempt to optimize the evaluation process by having it determine whether tables need to be optimized based on certain states on the tables, eliminating the need to scan all files. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have some doubts about TableRuntimeRefreshExecutor and DefaultOptimizingService.
TableRuntimeRefreshExecutor scans all files to confirm the partition of the table to be optimized.
DefaultOptimizingService will scans files filter by TableRuntimeRefreshExecutor.
So will it repeatedly scan the files that need optimization?
Beta Was this translation helpful? Give feedback.
All reactions