Re: The design doc of [IOTDB-965] add timeout in query

2020-11-30 Thread Xiangwei Wei
Software, Tsinghua University >> >> 乔嘉林 >> 清华大学 软件学院 >> >> > -----原始邮件- >> > 发件人: "Houliang Qi" >> > 发送时间: 2020-11-27 10:23:24 (星期五) >> > 收件人: "dev@iotdb.apache.org" >> > 抄送: >> > 主题: Re: The desi

Re: The design doc of [IOTDB-965] add timeout in query

2020-11-26 Thread Xiangwei Wei
; School of Software, Tsinghua University > > 乔嘉林 > 清华大学 软件学院 > > > -原始邮件- > > 发件人: "Houliang Qi" > > 发送时间: 2020-11-27 10:23:24 (星期五) > > 收件人: "dev@iotdb.apache.org" > > 抄送: > > 主题: Re: The design doc of [IOTDB-965] add t

Re: The design doc of [IOTDB-965] add timeout in query

2020-11-26 Thread Jialin Qiao
t; 抄送: > 主题: Re: The design doc of [IOTDB-965] add timeout in query > > Hi, > > > +1 for Tian Jiang ideas, > And I think we can extend the session api to add one parameter to indicate the operation timeouts(insert、query and so on), besides we can implement

Re: The design doc of [IOTDB-965] add timeout in query

2020-11-26 Thread Houliang Qi
Hi, +1 for Tian Jiang ideas, And I think we can extend the session api to add one parameter to indicate the operation timeouts(insert、query and so on), besides we can implement the `setQueryTimeout()` method in JDBC. Thanks, --- Houliang Qi BONC, Ltd On 11

Re: The design doc of [IOTDB-965] add timeout in query

2020-11-26 Thread Tian Jiang
Greetings, This is important indeed, but I have some suggestions: 1. This would best be based query cancellation, i.e., a query can be cancelled by a given interface, and the timed thread need only to call this interface to time out a query when needed. The merit of doing so is better abstracti

Re: The design doc of [IOTDB-965] add timeout in query

2020-11-26 Thread 谭新宇
Sorry, as this parameter is configurable, it seems my problem can be solved ~ Then I have no problem with this feature and design~ Best ——— Xinyu Tan > 在 2020年11月26日,下午9:32,Xiangwei Wei 写道: > > If a query takes too much time, we'd better interrupt this query instead of > hanging up the client.

??????The design doc of [IOTDB-965] add timeout in query

2020-11-26 Thread ??????
Hi, I'm a little skeptical about the motivation for this feature. If a large query really needs to take a long time to execute, is throwing an exception on the client side graceful? For example, in some test scenarios, I would usually write hundreds of millions of points of data, and then p

The design doc of [IOTDB-965] add timeout in query

2020-11-26 Thread Xiangwei Wei
If a query takes too much time, we'd better interrupt this query instead of hanging up the client. The design doc is in [1]. Any advice is appreciated :D A discussion is: How long can the query be considered as time out? maybe 5min, 10min? We need to set a default value, of course it can be modif