我正在读取一个28行的简单CSV文件,将其放入sping引导POJO中,并使用CassandraRepository并调用insert(POJO列表)。该操作似乎需要2到3秒钟,我认为这太高了吗?还是我错了? (对不起,我是一个刚开始使用nosql的新手)。我目前正在执行以DEV模式运行单节点Cassandra 3.11.2的POC。我要插入的表如下所示(由Spring Boot POJO自动创建)。
CREATE TABLE ngw.tableparams (
col_1 text,
col_2 text,
col_3 text,
col_4 text,
col_5 text,
data_map map<text, text>,
col_6 text,
col_7 text,
col_8 text,
col_9 text,
stale boolean,
ts timestamp,
PRIMARY KEY ((col_1, col_2, col_3, col_4, col_5))
) WITH bloom_filter_fp_chance = 0.01
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = ''
AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';