Skip to content

Commit

Permalink
[AMORO-1935] Change the default value of Self-Optimizing split task s…
Browse files Browse the repository at this point in the history
…ize to 128MB (#2073)

change default value of self-optimizing.max-task-size-bytes to 128MB
  • Loading branch information
wangtaohz authored Oct 10, 2023
1 parent 1ca1ada commit 5b4208c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private TableProperties() {
public static final int SELF_OPTIMIZING_MAX_FILE_CNT_DEFAULT = 10000;

public static final String SELF_OPTIMIZING_MAX_TASK_SIZE = "self-optimizing.max-task-size-bytes";
public static final long SELF_OPTIMIZING_MAX_TASK_SIZE_DEFAULT = 1073741824L; // 1 GB
public static final long SELF_OPTIMIZING_MAX_TASK_SIZE_DEFAULT = 134217728; // 128 MB

public static final String SELF_OPTIMIZING_FRAGMENT_RATIO = "self-optimizing.fragment-ratio";
public static final int SELF_OPTIMIZING_FRAGMENT_RATIO_DEFAULT = 8;
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guides/configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Self-optimizing configurations are applicable to both Iceberg Format and Mixed s
| self-optimizing.execute.num-retries | 5 | Number of retries after failure of Self-optimizing |
| self-optimizing.target-size | 134217728(128MB) | Target size for Self-optimizing |
| self-optimizing.max-file-count | 10000 | Maximum number of files processed by a Self-optimizing process | |
| self-optimizing.max-task-size-bytes | 1073741824(1GB) | Maximum file size bytes in a single task for splitting tasks | |
| self-optimizing.max-task-size-bytes | 134217728(128MB) | Maximum file size bytes in a single task for splitting tasks | |
| self-optimizing.fragment-ratio | 8 | The fragment file size threshold. We could divide self-optimizing.target-size by this ratio to get the actual fragment file size |
| self-optimizing.minor.trigger.file-count | 12 | The minimum numbers of fragment files to trigger minor optimizing |
| self-optimizing.minor.trigger.interval | 3600000(1 hour) | The time interval in milliseconds to trigger minor optimizing |
Expand Down

0 comments on commit 5b4208c

Please sign in to comment.