xujin-wk
xujin-wk
or say,when jdbc call JNI function library, Is there a memory recovery mechanism?
@18378333917 taos-jdbcdriver 2.0.0 which I used in this test,and instead of get jdbc from maven lib,I compile the jdbc-driver 2.0.0 by myself from tdengine2.0.1 source
+1,我也遇到了,测试了2.0.1版本和2.0.4版本,都是相同问题,issue里有人提交memory leak fix,所以下载最新版又测试了一遍,但是问题依旧存在
1.6版本的可以集群吗
count(*) 和 count(某一字段名)的结果也不一样,所以count的逻辑是什么?是统计行数吗?包括副本数吗?
taos> select * from train_signal limit 5; ts | p_id | value | train_id | v_id | ================================================================================================= 2020-09-01 09:10:21.685 | 109 | 0.000000000 | NLCJ_T2 | 4999 | 2020-09-01...
如上,总共20000000条数据,count(v_id),count(train_id)统计的数字为20000,数据中也没有null值
> > 如上,总共20000000条数据,count(v_id),count(train_id)统计的数字为20000,数据中也没有null值 > > 他们底层实现应该是自动去重了,你看一下你的数据是否v_id和train_id是不唯一的 应该没有distinct,v_id是0到9999连续不重复,去重后应该是10000,train_id去重后应该为2
我尝试对bool类型字段求平均: select avg(value) from train_signal where v_id=7500 and ts>1598313600000 and ts