cassandra 导入数据好慢。ftp_db.sql 数据文件200G,导入一个晚上没完成,还在进行中,半天又过去了。 同样的数据文件,我用mysql已经导入完成。
cassandra 导入数据好慢。ftp_db.sql 数据文件200G,导入一个晚上没完成,还在进行中,半天又过去了。 同样的数据文件,我用mysql已经导入完成。
可以试一下Datastax的DSE Bulkloader(https://docs.datastax.com/en/dsbulk/doc/dsbulk/install/dsbulkInstall.html)。
这个程序使用最新的DataStax Java CQL Driver,利用了很多driver提供的优化,比你自己写程序用INSERT插入记录或者cqlsh COPY命令要更快。
5 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use