有什么方法可以使用Cassandra压力插入csv文件数据?

问题描述 投票:0回答:1

我已经使用yaml文件在cassandra压力工具上进行了探索,并且工作正常。我只是想知道是否可以在yaml配置文件中指定任何外部csv文件的位置,以便使用cassandra压力将数据插入到Cassandra表中?

因此,我希望查看该数据模型上特定数据负载上的cassandra stres测试结果,而不是随机数据?

cassandra datastax cassandra-3.0 cassandra-stress-tool
1个回答
0
投票

标准cassandra-stress没有这种功能,但是您可以使用DataStax最近开源的NoSQLBench tool。它还使用YAML来描述工作负载,但是它更加灵活,并且具有number of functions for sampling data from CSV files

P.S。还有一个单独的Slack workspace for this project(要获得邀请,请填写this form

© www.soinside.com 2019 - 2024. All rights reserved.