原理很简单,就是通过griddb fdw 暴露griddb 的数据操作为正常的pg 操作,后然就可以使用hasura graphql-engine 了 参考环境准备 version: "3" services: graphql-engine: image: hasura/graphql-engine ...
分类:
数据库 时间:
2020-02-07 16:31:35
阅读次数:
95
目前的测试,pgspider 对于pg 的侵入不大,很多已有的pg扩展都是可以使用的,所以基于比较常用的 添加了mongdb,sql server 等的容器镜像,构建比较简单,都是基于现有构建的base mongdb FROM dalongrong/pgspider:base as build WO ...
分类:
其他好文 时间:
2020-02-05 18:18:12
阅读次数:
126
pgspider 是在pg 源码中直接打的patch,增强了FDW 的功能 执行的特性 多租户 并行处理 数据下推 说明 pgspider 是一个很不错的扩展,目前官方已经支持了sqlite,mysql,influxdb 等数据库 参考资料 https://github.com/pgspider/p ...
分类:
数据库 时间:
2020-02-04 20:33:23
阅读次数:
109
虽然http的response header类型众多,但是并不是所有的请求都会返回每一种response header类型。 示例:百度搜索soapui create http context www.baidu.com scheme=https get /s?tn=50000021_hao_pg& ...
分类:
Web程序 时间:
2020-02-02 21:55:26
阅读次数:
250
采用addplot()方法将多个图形添加到一个窗口。 首先利用numpy模块创建两个随机数组,用来作为图形绘制的数据: import pyqtgraph as pg import numpy as np x = np.random.random(50) y = np.random.random(10 ...
分类:
其他好文 时间:
2020-01-28 19:11:34
阅读次数:
86
首先利用numpy模块创建两个随机数组,用来作为图形绘制的数据: import pyqtgraph as pg import numpy as np x = np.random.random(50) y = np.random.random(10) z = np.r_[x,y] 使用Plot()绘制 ...
分类:
其他好文 时间:
2020-01-28 17:24:27
阅读次数:
275
安 装PostgreSQL数据库之后,默认是只接受本地访问连接。 配置远 程连接PostgreSQL数据库的步骤很简单,只需要修改data目录下的pg_hba.conf和postgresql.conf。 pg_hba.conf:配置对数据库的访问权限, postgresql.conf:配置Postg ...
分类:
数据库 时间:
2020-01-25 16:45:40
阅读次数:
116
pg_rewind 是postgresql主丛数据库之同步数据目录的工具。 pg_rewind只复制表数据文件中更改的块;所有其他文件都被完整复制,包括配置文件。pg_rewind相对于使用pg_basebackup备份或rsync等工具的优势在于,pg_rewind不需要读取数据库中未更改的块。这 ...
分类:
数据库 时间:
2020-01-20 16:21:10
阅读次数:
152
参考:https://www.postgresql.org/docs/current/install-procedure.html 完事开头难!!!如果想了解一门技术,看文档必不可少,实操更不可少,这篇博文记录了自己学习postgesql的测试安装文档,由于对pg的参数了解甚少,目前使用的默认的参数 ...
分类:
数据库 时间:
2020-01-19 22:07:16
阅读次数:
115
Ceph日常运维管理 集群监控管理 集群整体运行状态 id:集群ID health:集群运行状态,这里有一个警告,说明是有问题,意思是pg数大于pgp数,通常此数值相等。 mon:Monitors运行状态。 osd:OSDs运行状态。 mgr:Managers运行状态。 mds:Metadatas运 ...
分类:
其他好文 时间:
2020-01-14 13:17:30
阅读次数:
96