root 3 lat temu
rodzic
commit
daeca9d8be
4 zmienionych plików z 156 dodań i 0 usunięć
  1. 63 0
      catalog-novel.md
  2. 44 0
      novel/polarDB-ads.md
  3. 49 0
      novel/polarDB-quchen_text.md
  4. 0 0
      temp.sql

+ 63 - 0
catalog-novel.md

@@ -0,0 +1,63 @@
+# 数据系统小说业务文档整理
+
+## 数据仓库【clickhouse】
+
+### default
+
+小说业务 DWD的数据差不多都在这
+
+### ADS
+
+面向业务展示的数据(大部分都是DWD上聚合出来的,通过 clickhouse的mysql引擎同步自小说业务库-dm)
+
+### DWD
+
+中间层数据(通过 clickhouse的mysql引擎同步自小说业务库-dm)
+
+### DWDClickhouse
+
+中间层数据
+
+### quchen_text
+
+(通过 clickhouse的mysql引擎同步自小说业务库-quchen_text)
+
+### JavaErp
+
+直接拷贝自业务系统的 zx_erp库(预计2022年5月底就废弃了)
+
+### datatest
+
+测试库
+
+### mysqldatatest
+
+测试库
+
+### mysqldatatest2
+
+测试库
+
+## 数仓【polarDB】
+
+### ads
+
+### dm
+
+### quchen_text
+
+### superset
+
+superset服务部署的时候自建的表
+
+### advertisement
+
+不知道干嘛的,已废弃
+
+### lake
+
+不知道干嘛的,已废弃
+
+### datatest
+
+测试库

+ 44 - 0
novel/polarDB-ads.md

@@ -0,0 +1,44 @@
+# ads业务数据展示库
+
+## ads_advertising
+
+广告投放数据
+
+|字段名|类型|注释|
+|---|:---:|---|
+|date|varchar|统计日期|
+|channel|varchar|公众号|
+|pitcher|varchar|投手|
+|stage|varchar|期数|
+|book|varchar|书|
+|type|varchar|投放类型|
+|first_order_user|int|首次充值人数|
+|reg_user_amount|double|注册用户充值(ex:1000人注册,这些人总共充值了1w)|
+|first_order_amount|double|当天注册用户的下单金额|
+|user_per_amount|double|客单价|
+|first_amount_per_user|double|首日客单价|
+|view_count|int|浏览量|
+|click_count|int|点击量|
+|click_rate|double|点击率|
+|follow_rate|double|关注率|
+|follow_user|int|关注用户数|
+|follow_order_rate|double|关注充值率(当日关注充值人数/关注人数)|
+|follow_per_cost|double|关注成本()|
+|order_per_cost|double||
+|order_rate|double||
+|cost|double||
+|first_order_count|double||
+|order_count|double||
+|order_user|double||
+|order_amount|double||
+|old_order_amount|double||
+|amount_per_follow|double||
+|first_cost_per_user|double||
+|new_user_order_rate|double||
+|day_roi|double||
+|roi|double||
+|old_user_once_order_rate|double||
+|click_follow_rate|double||
+|first_order_user_per_cost|double||
+|reg_order_user|double||
+|reg_order_user_again|double||

+ 49 - 0
novel/polarDB-quchen_text.md

@@ -0,0 +1,49 @@
+# quchen_text业务数据(包含原始数据及)
+
+## daily_tt 字节消耗数据(天数据,每小时拉一次)
+
+字节跳动消耗数据表(保存了按天拉取的所有账号消耗数据)\
+备注:订单信息不会上报给字节,所以这部分拉去的订单数据没有意义(点击、浏览、关注等是有意义的)
+
+|字段名|类型|注释|
+|---|:---:|---|
+|account_id|varchar|广告主账号|
+|date|datetime|消耗日期(yyyy-MM-dd 00:00:00)|
+|cost|int|消耗(分)|
+|view_count|int|浏览次数|
+|valid_click_count|int|点击次数|
+|ctr|double|点击率(浏览次数/点击次数)|
+|official_account_follow_rate|double|公众号关注率(关注次数/点击次数)|
+|order_amount|int|下单金额|
+|order_roi|double|下单花费回报率(下单金额/消耗)|
+|order_count|int|下单次数|
+|order_rate|double|下单率(下单次数/人数)|
+|order_unit_price|int|客单价(下单金额/下单人数)|
+|web_order_cost|int|网页下单花费|
+|first_day_order_amount|int|首日下单金额|
+|first_day_order_count|int|首日下单次数|
+
+## daily_qq GDT消耗数据(天,每小时拉一次)
+
+|字段名|类型|注释|
+|---|:---:|---|
+|account_id|varchar||
+|date|datetime||
+|view_count|int|浏览次数|
+|valid_click_count|int|点击次数|
+|ctr|double|点击率|
+|cpc|int|点击均价|
+|cost|int|消耗, 单位为分|
+|web_order_count|int|网页下单次数|
+|web_order_rate|double|网页下单率|
+|web_order_cost|int|网页下单花费|
+|follow_count|int|微信朋友圈关注量|
+|order_amount|int|下单次数|
+|order_roi|double|下单花费回报率|
+|platform_page_view_count|int|平台落地页浏览量|
+|web_commodity_page_view_count|int|商品页浏览量|
+|from_follow_uv|int|公众号关注量|
+
+## daily_vx MP消耗数据表(天,每小时拉一次)
+
+## daily_bytes 废弃的测试表

+ 0 - 0
temp.sql