TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

run a long sql through cmd, DB error:Unable to establish connection

Open YuMiaoPy opened this issue 5 years ago • 3 comments

I have built a TDengine cluster with three nodes,as below: image OS: [CentOS 7.6] Memory 20G, CPU 20核, Disk 2T TDengine Version [2.0.18.0] when I insert a simple sql through the command line,it works well. But when I insert a long sql as below, it fails. I have run the long sql on a stand-alone tDengine,it works well, where can prove the sql is right. 场景描述: 节点1主机名:tdengine1.ny.shuanghui.net 节点2主机名:tdengine2.ny.shuanghui.net 节点3主机名:tdengine3.ny.shuanghui.net [taos.cfg的maxSQLLength均设置为:700000] 我在节点1的命令行执行较长的sql语句,结果报错如下: image 附上debugFlag为135之后的跟踪日志,以及完整的sql语句,在线求助~

sql.txt node1-log.zip node2-log.zip node3-log.zip

YuMiaoPy avatar Apr 04 '21 16:04 YuMiaoPy

@yu285 will help to check it.

cpvmrd avatar Apr 06 '21 01:04 cpvmrd

I have built a TDengine cluster with three nodes,as below: image OS: [CentOS 7.6] Memory 20G, CPU 20核, Disk 2T TDengine Version [2.0.18.0] when I insert a simple sql through the command line,it works well. But when I insert a long sql as below, it fails. I have run the long sql on a stand-alone tDengine,it works well, where can prove the sql is right. 场景描述: 节点1主机名:tdengine1.ny.shuanghui.net 节点2主机名:tdengine2.ny.shuanghui.net 节点3主机名:tdengine3.ny.shuanghui.net [taos.cfg的maxSQLLength均设置为:700000] 我在节点1的命令行执行较长的sql语句,结果报错如下: image 附上debugFlag为135之后的跟踪日志,以及完整的sql语句,在线求助~

sql.txt node1-log.zip node2-log.zip node3-log.zip

您好,已收到您的问题正在排查。方便的话可以加我微信加快处理效率:15652223354,问题解决后会在本问题中添加解决方案。

yu285 avatar Apr 06 '21 01:04 yu285

请问中间有客户端参与吗?

yu285 avatar Apr 06 '21 01:04 yu285