You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/08/19 10:37:19 UTC

[GitHub] [incubator-doris] caiconghui commented on pull request #6384: [Optimize] Speed up converting the data of other type to string in mysql_result_writer

caiconghui commented on pull request #6384:
URL: https://github.com/apache/incubator-doris/pull/6384#issuecomment-901804587


   > Did you do the benchmark ? how much it can improve ?
   
   CREATE TABLE `baseall` (
     `k1` tinyint(4) NULL COMMENT "",
     `k2` smallint(6) NULL COMMENT "",
     `k3` int(11) NULL COMMENT "",
     `k4` bigint(20) NULL COMMENT "",
     `k5` decimal(9, 3) NULL COMMENT "",
     `k6` char(5) NULL COMMENT "",
     `k10` date NULL COMMENT "",
     `k11` datetime NULL COMMENT "",
     `k7` varchar(20) NULL COMMENT "",
     `k8` double NULL COMMENT "",
     `k9` float NULL COMMENT ""
   ) ENGINE=OLAP
   DUPLICATE KEY(`k1`, `k2`, `k3`, `k4`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`k1`) BUCKETS 10
   PROPERTIES (
   "replication_num" = "1",
   "in_memory" = "false",
   "storage_format" = "V2"
   ); 
   
   and insert more than one hundred thousand record, the TupleConvertTime reduced from about 350ms to 180ms


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org