一.背景介紹
數(shù)據(jù)分析和探索是日常常見(jiàn)的需求,Superset 就是能否符合該要求的一款工具。
Superset is a modern data exploration and data visualization platform. Superset can
replace or augment proprietary business intelligence tools for many teams. Superset
integrates well with a variety of data sources.
https://github.com/apache/superset
二.看板示例

三.superset 環(huán)境搭建
1.查找 image

2.下載 image

3.啟動(dòng)服務(wù)

4.數(shù)據(jù)庫(kù)初始化

5.Superset 初始化

6.設(shè)置賬戶

7.設(shè)置服務(wù)域名

8.登錄驗(yàn)證


四.postgres 環(huán)境搭建
1.image 查找

2.image 下載

3.服務(wù)啟動(dòng)

4.測(cè)試數(shù)據(jù)構(gòu)造
create table bigdata(ctime timestamp,c1 numeric(10,2),c2 numeric(10,2));
truncate bigdata;
insert into bigdata(ctime,c1,c2) values('2022-08-13 00:00:00',1,10)
,('2022-08-13 01:00:00',1,10),('2022-08-13 02:00:00',2,20)
,('2022-08-13 03:00:00',3,30),('2022-08-13 04:00:00',4,40)
,('2022-08-13 05:00:00',5,50),('2022-08-13 06:00:00',6,60)
,('2022-08-13 07:00:00',7,70),('2022-08-13 08:00:00',8,80)
,('2022-08-13 09:00:00',9,90),('2022-08-13 10:00:00',1,10)
,('2022-08-13 11:00:00',1,10),('2022-08-13 12:00:00',2,20)
,('2022-08-13 13:00:00',3,30),('2022-08-13 14:00:00',4,40)
,('2022-08-13 15:00:00',5,50),('2022-08-13 16:00:00',6,60)
,('2022-08-13 17:00:00',7,70),('2022-08-13 18:00:00',8,80)
,('2022-08-13 19:00:00',9,90),('2022-08-13 20:00:00',1,10)
,('2022-08-13 21:00:00',1,10),('2022-08-13 22:00:00',2,20)
,('2022-08-13 23:00:00',3,30);
五.連接 postgres 數(shù)據(jù)庫(kù)
1.選擇數(shù)據(jù)源類型

2.設(shè)置連接參數(shù)

3.保存設(shè)置

六.BI 分析
1.創(chuàng)建數(shù)據(jù)集

2.創(chuàng)建 chart

3.創(chuàng)建 DashBoard

4.Chart 保存到 DashBoard
