HappenLee opened a new pull request, #53982:
URL: https://github.com/apache/doris/pull/53982

   
   cherry pick #52243 
   
   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.
   


-- 
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]

Reply via email to