今天,介绍一个快速入门 FusionDB 的一个[GitHub工程],使用 FQL 实现跨不同数据源的联邦查询。现提供 Docker 版的 FusionDB,安装有 Docker 的机器都可以快速体验 FusionDB 的功能。
fql-training: https://github.com/FusionDB/fql-training
FusionDB Document: http://www.fusionlab.cn/zh-cn/fdb/quickstart.html
FusionDB FQL Training
This repository provides a training for FusionDB FQL.
In this training you will learn to:
run SQL queries on FusionDB
run SQL++ queries on FusionDB
use FusionDB’s SQL JDBC Server
write the result of SQL queries to RDBMS (MySQL、PostgreSQL、Oracle)、S3、ADLS and HDFS
Requirements
Remote HDFS or RDBMS (MySQL、PostgreSQL、Oracle)/S3/ADLS/GCP/OSS etc.
Optional: Jupyter Notebook、PSequel
You only need Docker to run this training.
You don’t need Java, Scala, or an IDE.
For more information, please refer to FusionDB Document
Quickstart
Fusiondb is a simple and powerful federated database engine.
Start FusionDB
1 | docker run --name fdb -p 54322:54322 -itd fusiondb/fusiondb:0.1.0-beta |
Check FusionDB server
1 | docker ps -a|grep fdb |
Psycopg2 connecting FusionDB
1 | import psycopg2 |
For more information, please refer to FusionDB Document
原创文章,转载请注明: 转载自Itweet的博客
本博客的文章集合:
http://www.itweet.cn/archives/