orioledb 集成citus 测试

前边制作了一个简单的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"

测试

  • 创建表

    目前测试执行是正常的

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');

说明

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

参考资料

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

posted on 2022-08-14 00:42  荣锋亮  阅读(59)  评论(0编辑  收藏  举报

导航