ChPi commented on issue #8128: URL: https://github.com/apache/incubator-doris/issues/8128#issuecomment-1043990946
> > > the row_number is not realtime value,should not use this statistic,just for query advice > > > > > > so need check visible version time. if this statistic expires, cannot use it. but the time which be reports is after visible version time, can we use this statistic? > > no,it is updated by tabletStatManager every 5 min, and it is not accurate in unique key and aggregate key model 补充一下,统计信息是be report的时候那个tablet条数,然后记一个report时间。 然后tablets需要满足三个条件 1、no delete rowset 2、rowset is non-overlapping 3、only one rowset has data 和report时间是在数据visible version时间后才能够使用。 不知道这样可行不?如果有问题请指正。 向量化执行能满足性能时间,提出的这个优化也不是必要了 -- 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]
