cassandra数据库简介
- 作者: 幕悠萧寂寂
- 来源: 51数据库
- 2020-09-29
Cassandra的文件包中,bin下有自带的数据库操作命令行工具cassandra-cli,
cassandra的文件包中,bin下有自带的数据库操作命令行工具cassandra-cli,lib中有可供java编程访问的driver.我们先介绍命令行工具的基本数据库操作:
$ bin/cassandra-cli
>> connected to: "test cluster" on 127.0.0.1/9160 welcome to cassandra cli version 2.0.3 the cli is deprecated and will be removed in cassandra 3.0. consider migrating to cqlsh. cql is fully backwards compatible with thrif
>> [default@unknown]
key space类似于数据库的概念,首先需要创建一个key space.
cassandra的文件包中,bin下有自带的数据库操作命令行工具cassandra-cli,lib中有可供java编程访问的driver.我们先介绍命令行工具的基本数据库操作:
$ bin/cassandra-cli
>> connected to: "test cluster" on 127.0.0.1/9160 welcome to cassandra cli version 2.0.3 the cli is deprecated and will be removed in cassandra 3.0. consider migrating to cqlsh. cql is fully backwards compatible with thrif
>> [default@unknown]
key space类似于数据库的概念,首先需要创建一个key space.
推荐阅读