orioledb 集成citus 测试

2022/8/14 6:22:59

本文主要是介绍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');
  • 导入数据
    目前测试也是正常的
    使用了官方的测试数据
    https://examples.citusdata.com/events.csv

说明

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

参考资料

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



这篇关于orioledb 集成citus 测试的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程