网站建设管理的规章制度,网站合作建设方案,wordpress 无法创建页面,建筑图纸字母代号大全一、环境版本
环境版本docker clickhouse22.3.10.22
二、UDF运行速度时快时慢
udf配置文件xxx_function.xml type- 可执行类型。如果type设置为executable则启动单个命令。如果设置为#xff0c;executable_pool则创建命令池。 pool_size- 命令池的大小。可选参数#xff…一、环境版本
环境版本docker clickhouse22.3.10.22
二、UDF运行速度时快时慢
udf配置文件xxx_function.xml type- 可执行类型。如果type设置为executable则启动单个命令。如果设置为executable_pool则创建命令池。 pool_size- 命令池的大小。可选参数默认值为16。
typeexecutable_pool/type
pool_size60/pool_size三、UDF超时
udf配置文件xxx_function.xml max_command_execution_time- 处理数据块的最大执行时间以秒为单位。该设置仅对命令有效executable_pool。可选参数默认值为10。 command_termination_timeout- 管道关闭后命令应完成的时间以秒为单位。此后时间SIGTERM被发送到执行命令的进程。可选参数默认值为10。 command_read_timeout- 从命令标准输出读取数据的超时时间以毫秒为单位。默认值 10000。可选参数。 command_write_timeout- 将数据写入命令 stdin 的超时以毫秒为单位。默认值 10000。可选参数。
max_command_execution_time120/max_command_execution_time
command_termination_timeout120/command_termination_timeout
command_read_timeout120000/command_read_timeout
command_write_timeout120000/command_write_timeout四、完整xml配置
functionsfunctiontypeexecutable_pool/typenamedemo_clickhouse_udf/namemax_command_execution_time120/max_command_execution_timecommand_termination_timeout120/command_termination_timeoutcommand_read_timeout120000/command_read_timeoutcommand_write_timeout120000/command_write_timeoutpool_size60/pool_sizereturn_typeString/return_typeargumenttypeUInt64/typenameargument_1/name/argumentargumenttypeUInt64/typenameargument_2/name/argumentformatJSONEachRow/formatexecute_direct0/execute_directcommand/usr/bin/java -jar /var/lib/clickhouse/user_scripts/demo_clickhouse_udf-1.0-SNAPSHOT-jar-with-dependencies.jar/command/function
/functions