TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

What's the difference between the connection pool for TDengine and for other Database? How to use the connection pool in case nodejs connecting to TDengine?

Open housheng4 opened this issue 6 years ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the circumstance is and what the associated problem is. Ex. I'm using TDengine for this use case: [...]. But I'm always frustrated when [...]

Describe your desired behavior A clear and concise description of what you want to happen. Ex. I want TDengine to be able to do [...] when I try to do [...] with it.

Describe your solutions/suggestions if you've any A clear and concise description of any solutions/suggestions to this problem or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

housheng4 avatar Feb 26 '20 10:02 housheng4

TDengine内部有一个连接池,因此应用程序不需要第三方连接池来连接TDengine,只需相应地选择TDengine提供的连接器即可。

但是没有在nodejs连接器中看到类似其他数据库的createpool函数呀,请问下tdengine的连接池接口在哪里?

housheng4 avatar Feb 28 '20 07:02 housheng4

TDengine内部有一个连接池,因此应用程序不需要第三方连接池来连接TDengine,只需相应地选择TDengine提供的连接器即可。

但是没有在nodejs连接器中看到类似的其他数据库的创建池函数呀,请问下tdengine的连接池接口在哪里? 不用考虑池的事情,直接建立连接,然后保持这个连接,写入查询的时间间隔就行

恩,明白了。非常感谢您的解答

housheng4 avatar Mar 02 '20 00:03 housheng4