clickhouse批量入库异常日志

业务场景

使用clickhouse批量插入数据

异常日志

2024-01-31 14:32:04 [http-nio-18811-exec-1] ERROR com.***.controller.XXX - upload csv file exception.
org.springframework.jdbc.UncategorizedSQLException:
### Error updating database.  Cause: ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 252, host: 192.168.0.2, port: 18123; Code: 252, e.displayText() = DB::Exception: Too many partitions for single INSERT block (more than 100). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (version 21.7.3.14 (official build))

### The error may exist in class path resource [mapper/clickhouse/UEMRDataMapper.xml]
### The error may involve com.***.db.clickhouse.mapper.UEMRDataMapper.saveBatchData-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO uemrdata           (           time,xdr_id,gnb_id,cell_id,msisdn,imsi,gnb_rcv_power,ul_sinr,cqi,ul_tb_num,ul_retrns_tb,         dl_tb_num,dl_retrns_tb,ul_mac_thrpt,dl_mac_thrpt,ue_ran_delay,gnb_ulran_delay,gnb_dlran_delay,         ul_pcktloss_rate,dl_pcktloss_rate,ul_mac_delay,dl_rlc_delay,dl_mac_delay,cce_length,         dtx_ratio,ul_cce_allc_fail_rate,dl_cce_allc_fail_rate,csi_rs_rsrp,nr_arfcn       )          VALUES                        (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)          ,              (?,?,?,?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?,?,?,             ?,?,?,?,?)
### Cause: ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 252, host: 192.168.0.2, port: 18123; Code: 252, e.displayText() = DB::Exception: Too many partitions for single INSERT block (more than 100). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (version 21.7.3.14 (official build))

; uncategorized SQLException; SQL state [null]; error code [252]; ClickHouse exception, code: 252, host: 192.168.0.2, port: 18123; Code: 252, e.displayText() = DB::Exception: Too many partitions for single INSERT block (more than 100). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (version 21.7.3.14 (official build))
; nested exception is ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 252, host: 192.168.0.2, port: 18123; Code: 252, e.displayText() = DB::Exception: Too many partitions for single INSERT block (more than 100). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (version 21.7.3.14 (official build))

        at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
        at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:441) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
        at com.sun.proxy.$Proxy64.insert(Unknown Source) ~[?:?]
        at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
        at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:62) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:152) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:85) ~[mybatis-3.5.6.jar!/:3.5.6]
        at com.sun.proxy.$Proxy65.saveBatchData(Unknown Source) ~[?:?]
        at com.***.db.clickhouse.service.UEMRDataService.saveBatchData(UEMRDataService.java:22) ~[classes!/:0.0.1-SNAPSHOT]
        at com.***.service.DataInputService$1.saveData(DataInputService.java:104) ~[classes!/:0.0.1-SNAPSHOT]
        at com.***.service.DataInputService$1.doAfterAllAnalysed(DataInputService.java:97) ~[classes!/:0.0.1-SNAPSHOT]
        at com.alibaba.excel.read.processor.DefaultAnalysisEventProcessor.endSheet(DefaultAnalysisEventProcessor.java:52) ~[easyexcel-3.0.5.jar!/:?]
        at com.alibaba.excel.analysis.v07.XlsxSaxAnalyser.execute(XlsxSaxAnalyser.java:222) ~[easyexcel-3.0.5.jar!/:?]
        at com.alibaba.excel.analysis.ExcelAnalyserImpl.analysis(ExcelAnalyserImpl.java:123) ~[easyexcel-3.0.5.jar!/:?]
        at com.alibaba.excel.ExcelReader.read(ExcelReader.java:67) ~[easyexcel-3.0.5.jar!/:?]
        at com.alibaba.excel.ExcelReader.read(ExcelReader.java:57) ~[easyexcel-3.0.5.jar!/:?]
        at com.***.service.DataInputService.processUEMRdata(DataInputService.java:118) ~[classes!/:0.0.1-SNAPSHOT]
        at com.***.service.DataInputService.processInput(DataInputService.java:47) ~[classes!/:0.0.1-SNAPSHOT]
        at com.***.controller.XXX.uploadCsvFile(XXX.java:42) [classes!/:0.0.1-SNAPSHOT]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) [spring-web-5.3.19.jar!/:5.3.19]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) [spring-web-5.3.19.jar!/:5.3.19]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.19.jar!/:5.3.19]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.62.jar!/:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.19.jar!/:5.3.19]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.19.jar!/:5.3.19]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.19.jar!/:5.3.19]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.19.jar!/:5.3.19]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.19.jar!/:5.3.19]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.19.jar!/:5.3.19]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.62.jar!/:?]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.62.jar!/:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 252, host: 192.168.0.2, port: 18123; Code: 252, e.displayText() = DB::Exception: Too many partitions for single INSERT block (more than 100). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (version 21.7.3.14 (official build))

        at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:58) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:28) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.checkForErrorAndThrow(ClickHouseStatementImpl.java:875) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.getInputStream(ClickHouseStatementImpl.java:616) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:117) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:100) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:95) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:90) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.execute(ClickHouseStatementImpl.java:226) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHousePreparedStatementImpl.execute(ClickHousePreparedStatementImpl.java:105) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) ~[HikariCP-4.0.3.jar!/:?]
        at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) ~[HikariCP-4.0.3.jar!/:?]
        at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184) ~[mybatis-3.5.6.jar!/:3.5.6]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
        ... 67 more
Caused by: java.lang.Throwable: Code: 252, e.displayText() = DB::Exception: Too many partitions for single INSERT block (more than 100). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (version 21.7.3.14 (official build))

        at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:53) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.except.ClickHouseExceptionSpecifier.specify(ClickHouseExceptionSpecifier.java:28) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.checkForErrorAndThrow(ClickHouseStatementImpl.java:875) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.getInputStream(ClickHouseStatementImpl.java:616) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:117) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:100) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:95) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.executeQuery(ClickHouseStatementImpl.java:90) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHouseStatementImpl.execute(ClickHouseStatementImpl.java:226) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at ru.yandex.clickhouse.ClickHousePreparedStatementImpl.execute(ClickHousePreparedStatementImpl.java:105) ~[clickhouse-jdbc-0.2.4.jar!/:?]
        at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) ~[HikariCP-4.0.3.jar!/:?]
        at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) ~[HikariCP-4.0.3.jar!/:?]
        at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197) ~[mybatis-3.5.6.jar!/:3.5.6]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184) ~[mybatis-3.5.6.jar!/:3.5.6]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) ~[mybatis-spring-2.0.6.jar!/:2.0.6]
        ... 67 more

参数
max_partitions_per_insert_block
配置值放大或代码中没批插入数据量改为限制的100

相关推荐

  1. clickhouse批量入库异常

    2024-02-03 13:04:02       30 阅读
  2. clickhouse清理

    2024-02-03 13:04:02       33 阅读
  3. muduo异步

    2024-02-03 13:04:02       17 阅读
  4. python之异常

    2024-02-03 13:04:02       37 阅读
  5. Android-实现记录“异常闪退“

    2024-02-03 13:04:02       12 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-02-03 13:04:02       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-02-03 13:04:02       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-02-03 13:04:02       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-02-03 13:04:02       20 阅读

热门阅读

  1. 前端工程化之:webpack1-11(其他配置)

    2024-02-03 13:04:02       32 阅读
  2. XML要点总结

    2024-02-03 13:04:02       25 阅读
  3. uniapp本地存储的几种方式localStorage

    2024-02-03 13:04:02       35 阅读
  4. 工厂模式与抽象工厂模式

    2024-02-03 13:04:02       26 阅读
  5. uniapp中封装一个svg转base64的组件

    2024-02-03 13:04:02       30 阅读
  6. 构建高效可靠的消息队列系统:设计与实现

    2024-02-03 13:04:02       32 阅读
  7. 2401cmake,学习cmake4

    2024-02-03 13:04:02       31 阅读