问题标签 [cassandra-0.7]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
cassandra - 你能用例子解释一下如何在 Cassandra 中创建视图吗
如何在 Cassandra 中创建视图,你能给我举个例子,哪些数据来自两个或多个表。
nosql - 如何从 Cassandra 数据库中的两个表中检索数据
我必须从两个表中检索数据,
这是我在 Cassandra 数据库中的两个表。
员工是键空间,
两张表:
- emp:- “eno”是主键,“用户名”,“密码”
- 部门:-“dno”是主键,“eno”,“dname”
现在我想从两个表中检索数据,例如 eno、username、password、dno、dname。
如何从两个表中检索数据?
cassandra - index by time cassandra
In mysql if would like to index some rows by for example by time I would index the column time and every time I would enter new data it would get indexed automatically and it would look like that if would like to retrieve the data using that index
- How could I do the same in cassandra?
One way I could think of is by creating an object with a primary index (not using uuid) looking like that 20-4-2013
and then literally search through every date beginning at for example 22-6-2013 (the highest) until I find an object or row.
- Is there another way of doing that?
cassandra - 将相同的数据插入到 cassandra 数据库
我有一个问题,如果我们尝试将相同的数据插入 cassandra 数据库会怎样。在这里,我的意思是 cassandra 数据库中已经存在一组 100 行,例如在测试列族中。再次,如果我们尝试将相同的 100 行插入 cassandra 数据库,即具有相同行键的行,它会再次插入吗?.
cassandra - 如何在cassandra中构建朋友关系
我目前在 Cassandra 中有一个用户表。
我想创建一个朋友关系表,但我不确定最好的方法是什么。首先,我想把like key作为当前用户,把column作为朋友,但我想实现发送朋友请求的功能,所以我认为应该有另一个名为accepted的对象来处理两个人是不是真正的朋友,或者不是其他人是否接受了好友请求。我认为这将是多对多表。例如在友谊关系中。
任何方向表示赞赏。
java - cassandra:有没有办法获取以特定前缀开头的所有列值?
我需要为一个键获取所有 column:column_value 对。约束是列有一个共同的前缀,有没有办法使用赫克托得到它?
c++ - Apache Thrift 做不到
当我尝试配置和制作 thrift 0.9.1 时,它会出现一些错误。谁能告诉我这样做的原因以及我应该怎么做才能克服这个问题。错误如下所示。
cassandra - 如何更改 YCSB 中的一致性级别?
我需要在 YCSB 中将 Cassandra ONE 的写入和读取一致性级别更改为 QUORUM。是否需要在 Java 客户端程序内部进行更改或作为命令行参数传递。请给我一些建议
cassandra - 即使在 Cassandra TTL(生存时间)之后,磁盘空间大小也保持不变
我已经在我的代码中实现了 TTL 功能并成功删除了记录。但数据存储大小保持不变。应立即减少。最新的 Cassandra 文档说数据将在第一次压缩后被删除(它没有清晰)。
我的简单问题
我需要在完成 TTL 后立即确保大小。那么如何保证磁盘空间是否减少呢?
请分享你的想法..
谢谢
cassandra - Cassandra:如何获取进程列表?
您好 Cassandra 专家,
如何获取 Cassandra 集群中的进程列表(类似于show processlist
MySQL 的命令)?我很困惑为什么我在任何地方都找不到关于这个主题的任何帖子。
谢谢。