chessplay

Results 8 issues of chessplay

### Search before asking - [X] I had searched in the [feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement. ### Description FTP is a classical file transfer protocol, which is widely...

stale

我的明细表字段如下:gather_time,total_users,utc_code,我想要根据不同的utc_code来判断当前时区是否到达0点,如果到达0点,则对total_user进行天聚合,如果不区分utc_code每个小时聚合会造成计算资源上的浪费。这种情况下sql要怎么写,select sum(total_users) from table where utc_code=getCurrentUtcCode(NOW) interval(1d) sliding(1h),getCurrentUtcCode()是我的udf,这样好像不行,这样某个utc_code的数据每个小时都会有一份,我只需要天级别的数据,如果把不同时间的数据分开到不同的表又很麻烦,请问有没有什么简介高效的方法

help wanted
question

基础环境anaconda python3.8/源码编译的python3.8,cmake3.26.4,gcc10.2,用pip3 install taospyudf安装成功,在/usr/local/lib下已经有了动态链接库taospyudf.so,但是创建函数后执行还是出现动态链接库无法加载,采用官方例子 在/root/udf/目录下建立myfun.py文件,内容如下 def init(): pass def destroy(): pass def process(block): rows, _ = block.shape() return [block.data(i, 0) ** 2 + 1 for i in range(rows)] 并使用命令行创建函数成功:create function...

help wanted
question

I download the source code and try to compile it using maven,but i got failed.As the following image shows,some spark 2.4 packages are missing.So how should I resolve it? My...

**如何处理需要更新的字段?** 假设我有一组数据 包括下面几个字段:设备id,项目id,设备流量,用设备id作为表名,设备流量作为指标。现在的问题是:项目id要如何处理,因为同一个设备的项目id会发生变化,从业务上来说,一个设备一开始属于项目1,用了一段时间后会变更到项目2,但变更的频率不会太频繁。但是因为会产生变更,项目id就不能用作tag。这种情况下,项目id是作为采集量比较好,还是和设备id一起放到表名上比较好?怎么设计比较高效?我们的查询需求会基于设备id对流量聚合统计,也会基于项目id对流量统计

help wanted
question

请问下我们的业务场景最大的表差不多需要10亿这种量级的子表,qps大概是30w/s,数据一分钟上报一次,这种场景下需要的服务器资源大概需要多少啊,要如何估算,特别是cpu和内存这块,按照官方文档,好像是一个vnode可以管理100万个子表,一个vnode差不多核cpu的配比是1:1?那么十亿差不多要一千核,这样看下来要的cpu核数太多了,不知道有没有什么优化手段?

performance

使用taosbenchmark做性能测试,子表数量增加的写入性能急剧下降 我们的业务场景有1000万设备,因此模拟了1000万子表,使用tasobenchmark 用64个线程,每个子表插入1条数据,当子表数量达到百万级别后发现写入速度从最开始的几百条每秒降到了几十条每秒,请问是什么原因 ![image](https://github.com/taosdata/TDengine/assets/19639790/33ca66e1-7319-40d8-bbbb-9a7f55fd0b7d) ![image](https://github.com/taosdata/TDengine/assets/19639790/bd98c037-c992-40bc-8eb9-c3a4faed472b) * OS: Centos7.9 * Memory:64G, CPU:16core, current Disk Space :512G * TDengine Version 3.3.0 taosbenchmark的配置文件: { "childtable_prefix": "d", "auto_create_table": "yes", "batch_create_tbl_num": 32, "data_source": "rand", "insert_mode":...

performance

### Search before asking - [X] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement. ### Description Protobuf (Protocol Buffers) is a widely adopted method for serializing...

help wanted
feature