2018年8月6日

cratedb joins 原理(官方文档)

摘要: In this document we will present the following topics. First, an overview of the existing types of joins and algorithms provided. Then a description o 阅读全文

posted @ 2018-08-06 23:05 荣锋亮 阅读(786) 评论(0) 推荐(0) 编辑

cratedb geo 查询

摘要: cratedb支持的geo 查询还相对比较全,开发基本的功能已经够用了 安装cratedb 使用docker docker run -d -p 4200:4200 crate 创建数据库 创建表 CREATE TABLE country ( name string, country_code str 阅读全文

posted @ 2018-08-06 14:02 荣锋亮 阅读(838) 评论(0) 推荐(0) 编辑

cratedb nodejs 试用

摘要: 安装cratedb docker run -d -p 4200:4200 crate nodejs 项目初始化 yarn yarn init -y 添加依赖 yarn add node-crate 基本代码 app.js var crate = require('node-crate'); crate.connect('localhost', 4200); crat... 阅读全文

posted @ 2018-08-06 13:36 荣锋亮 阅读(170) 评论(0) 推荐(0) 编辑

cratedb json 数据导入

摘要: 基本环境的搭建,可以参考相关文档,或者直接使用docker 安装 docker run -d -p 4200:4200 crate 导出mongodb数据(可选,同时使用工具进行数据类型转换) mongoexport --db <dbname> --collection <data> --out o 阅读全文

posted @ 2018-08-06 13:21 荣锋亮 阅读(975) 评论(0) 推荐(0) 编辑

cratedb 集群 docker-compose 安装试用

摘要: 关于集群的配置说明可以参考官方文档,或者es 文档 详细代码参考 https://github.com/rongfengliang/cratedb-cluster-docker 参考配置 docker-compose version: "3" services: crate1: image: cra 阅读全文

posted @ 2018-08-06 10:25 荣锋亮 阅读(757) 评论(0) 推荐(0) 编辑

导航