0
点赞
收藏
分享

微信扫一扫

orioledb 集成citus 测试

那小那小 2022-10-07 阅读 225

前边制作了一个简单的orioledb 集成citus 的docker 镜像​​dalongrong/orioledb:citus-11.0.5​​,以下是一个简单测试

环境准备

  • docker-compose 文件

version: '3'
services:
app:
image: dalongrong/orioledb:citus-11.0.5
environment:
- "POSTGRES_PASSWORD=dalong"
ports:
- "5432:5432"

- "5432:5432"

测试

  • 创建表

目前测试执行是正常的

CREATE TABLE github_events
(
event_id bigint,
event_type text,
event_public boolean,
repo_id bigint,
payload jsonb,
repo jsonb,
user_id bigint,
org jsonb,
created_at timestamp
) USING orioledb;;
SELECT create_distributed_table('github_events', 'user_id');

  • 导入数据
    目前测试也是正常的
    使用了官方的测试数据
    ​​​https://examples.citusdata.com/events.csv​​

说明

从目前测试来说与citus 集成是正常的,暂时没有什么异常,后边可以进行一给完整的测试,总的来说还是期待orioledb ga的

参考资料

​​https://github.com/orioledb/orioledb​​​
​​​https://github.com/citusdata/citus​​

举报

相关推荐

0 条评论