HappenLee opened a new pull request, #52243:
URL: https://github.com/apache/doris/pull/52243
### What problem does this PR solve?
Now we can set dict page size in create tableļ¼
```
CREATE TABLE `customer_bak` (
`c_custkey` int NOT NULL,
`c_name` varchar(26) NOT NULL,
`c_address` varchar(41) NOT NULL,
`c_city` varchar(11) NOT NULL,
`c_nation` varchar(16) NOT NULL,
`c_region` varchar(13) NOT NULL,
`c_phone` varchar(16) NOT NULL,
`c_mktsegment` varchar(11) NOT NULL
) ENGINE = OLAP DUPLICATE KEY(`c_custkey`) COMMENT 'OLAP' DISTRIBUTED BY
HASH(`c_custkey`) BUCKETS 12 PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"storage_dict_page_size" = "148576",
"storage_page_size" = "148576", "min_load_replica_num" = "-1",
"is_being_synced" = "false", "colocate_with" = "groupa2",
"storage_medium" = "hdd", "storage_format" = "V2",
"inverted_index_storage_format" = "V2",
"light_schema_change" = "true", "disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
);
```
some case if dict page size too bigger cause too mush memory, some case if
dict page too small, the query performance not good. so we need set the dict
page size by user self.
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [x] Regression test
- [x] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [x] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [x] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]