clickhouse批量入库异常日志

业务场景

使用clickhouse批量插入数据

异常日志

yaml 复制代码
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

相关推荐
VaporGas几秒前
Spring-bean实例化的方式
java·数据库·spring
代码吐槽菌16 分钟前
基于SSM的校园自助洗衣系统【附源码】
java·数据库·毕业设计·ssm·计算机专业
湖南罗泽南36 分钟前
C# 事件和委托的详细介绍
服务器·数据库·c#
网恋被骗四块五1 小时前
ssm模糊知识点整合
数据库·mysql
蜗牛学苑_武汉1 小时前
Springboot3保存日志到数据库
数据库
DieSnowK1 小时前
[Redis][主从复制][上]详细讲解
数据库·redis·分布式·缓存·集群·高可用·主从复制
Mephisto.java1 小时前
【力扣 | SQL题 | 每日三题】力扣1148, 1327, 1211, 1174
数据库·sql·leetcode
多多*1 小时前
OJ在线评测系统 前端开发整合开源组件 Monaco Editor 并且开发创建题目页面
服务器·前端·javascript·数据库·算法·开源
Lily_Mei2 小时前
力扣高频 SQL 50 题(基础版)|分析、题解
sql·leetcode
wclass-zhengge2 小时前
Redis篇(应用案例 - 短信登录)(持续更新迭代)
数据库·redis·缓存