Nosql
飞关系数据库
_玖-幽
博客地址:http://blog.csdn.net/iong_l
GitHub:https://github.com/CiaraLi
展开
-
Apache Cassandra 的安装及使用 (一)
1、安装Cassandra: - 检查java版本,确保安装jdk8以上版本:$ java -version.在文件 /etc/yum.repos.d/datastax.repo 中添加 Apache Cassandra 3.0 yum配置:[datastax]name = DataStax Repo for Apache Cassandrabaseurl = http://rpm.d原创 2017-04-28 16:52:20 · 4115 阅读 · 0 评论 -
Apache Cassandra 的安装及使用 (二)
一、cassandra-php扩展1、cassandra扩展依赖库:- The C/C++ driver and its dependencies.- The GNU Multiple Precision Arithmetic Library.- Libuv使用homebrew安装依赖 brew install libuv cmake gmp git使用apt-get安装 sudo原创 2017-05-03 16:33:14 · 2145 阅读 · 0 评论 -
Apache Cassandra (三)solr 的使用
检查cassandra运行状态check cassandra run status by below command : $ nodetool statuscheck the “UN” status ,or there are some problem on it; Check nodetool tpstats then check blocked is all “0”; $ node原创 2017-06-16 10:47:43 · 1398 阅读 · 0 评论 -
Apache Cassandra (四):使用php-cassandra进行分页查询,
1、使用 prepare 函数,设置 page_size=5 成功查询5条记录 , $cql ="select * from revall_books where solr_query = 'companyid:2 && status:0 '"; $preparedData = $this->conn->prepare($cql); $response = $this->con原创 2017-06-21 11:08:36 · 1539 阅读 · 0 评论