随笔分类 -  cratedb

摘要:环境: Python:3.6.5 Cratedb:4.5.1 写入程序 #!/usr/bin/env python #coding=utf-8 from crate import client import os, time, datetime ##client = Client(host='192 阅读全文
posted @ 2021-06-21 17:53 slnngk 阅读(225) 评论(0) 推荐(0) 编辑
摘要:报错信息如下: [2021-02-20T08:56:57,870][WARN ][o.e.b.JNANatives ] [Titlis] These can be adjusted by modifying /etc/security/limits.conf, for example: # allo 阅读全文
posted @ 2021-02-20 09:09 slnngk 阅读(1151) 评论(0) 推荐(0) 编辑
摘要:CentOs下安装cratedb集群 环境: OS:CentOs 7 Cratedb:4.2.1 1.安装步骤 1.1 环境部署 数据库部署 节点 ip 角色 Host01 192.168.1.134 Host02 192.168.1.135 Host03 192.168.1.136 1.2 安装j 阅读全文
posted @ 2021-02-19 17:42 slnngk 阅读(291) 评论(0) 推荐(0) 编辑
摘要:版本:4.2.1 1.查看操作日志 select date_format('%Y%m%d %H',started),name,count(1)from sys.operations_log group bydate_format('%Y%m%d %H',started),name limit 100 阅读全文
posted @ 2020-08-17 15:02 slnngk 阅读(346) 评论(0) 推荐(0) 编辑
摘要:1.下载安装介质Cratedb下载地址:https://cdn.crate.io/downloads/releases/nightly/cratedb官方文档手册:https://crate.io/docs/crate/reference/en/latest/2.安装java安装java,确保版本在 阅读全文
posted @ 2020-07-30 13:42 slnngk 阅读(735) 评论(0) 推荐(0) 编辑
摘要:1.修改参数文件-bash-4.2$ cd /cratedb/crate-3.2.0/configvi crate.yml 修改如下项path.repo: /cratedb/snapdata 2.创建目录mkdir -p /cratedb/snapdata 3.创建仓库mysnapdatacreat 阅读全文
posted @ 2020-03-16 10:55 slnngk 阅读(206) 评论(0) 推荐(0) 编辑
摘要:1.查询数据 echo -e "select count(1) from sentinel_dev.metric where app='sentinel-dashboard' and id=1141889973611356200"|/cratedb/crash --host=192.168.1.12 阅读全文
posted @ 2019-11-29 09:32 slnngk 阅读(408) 评论(0) 推荐(0) 编辑
摘要:Cratedb下载地址:https://cdn.crate.io/downloads/releases/nightly/ cratedb官方文档手册:https://crate.io/docs/crate/reference/en/latest/ 1.安装java 安装java,确保版本在1.8以上 阅读全文
posted @ 2019-11-29 09:17 slnngk 阅读(707) 评论(0) 推荐(0) 编辑
摘要:环境:OS:centos 7db:3.2.0 原有节点 新添加节点192.168.1.118 192.168.1.85 新节点部署cratedb 1.安装python3安装步骤可以参考:http://blog.chinaunix.net/uid-77311-id-5787558.html 2.下载c 阅读全文
posted @ 2019-09-03 09:17 slnngk 阅读(656) 评论(0) 推荐(0) 编辑
摘要:1.在原主机上进行备份create repository mysnapdata type fs with (location='/cratedb/snapdata', compress=true);注意这里的location='/cratedb/snapdata',需要在cratedb的配置文件(c 阅读全文
posted @ 2019-08-15 17:32 slnngk 阅读(301) 评论(0) 推荐(0) 编辑
摘要:1.修改参数文件-bash-4.2$ cd /cratedb/crate-3.2.0/configvi crate.yml 修改如下项path.repo: /cratedb/snapdata 2.创建目录mkdir -p /cratedb/snapdata 3.创建仓库mysnapdatacreat 阅读全文
posted @ 2019-08-15 16:22 slnngk 阅读(378) 评论(0) 推荐(0) 编辑
摘要:环境: OS:centos 7 db:3.2.0 1.准备数据文件myuser.json文件内容如下:{"id": 1, "name": "foo", "day_joined": 1408312800, "bio": "Lorem ipsum dolor sit amet, consectetuer 阅读全文
posted @ 2019-06-21 15:45 slnngk 阅读(409) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示