freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

第2章數(shù)據(jù)倉庫的數(shù)據(jù)存儲(chǔ)與處理(參考版)

2025-01-13 13:12本頁面
  

【正文】 主流建模技術(shù) 51 多維建模技術(shù)簡介 基于關(guān)系數(shù)據(jù)庫的多維數(shù)據(jù)建模 ?星型模式 ?雪花模式 ?事實(shí)星座模式 52 1)星型模式由一個(gè)事實(shí)表和一系列維表組成 time_key day day_of_the_week month quarter year time location_key street city state_or_province country location Sales Fact Table time_key item_key branch_key location_key units_sold dollars_sold avg_sales Measures item_key item_name brand type supplier_type item branch_key branch_name branch_type branch 53 ?雪花模式中維表是規(guī)范的 time_key day day_of_the_week month quarter year time location_key street city_key location Sales Fact Table time_key item_key branch_key location_key units_sold dollars_sold avg_sales Measures item_key item_name brand type supplier_key item branch_key branch_name branch_type branch supplier_key supplier_type supplier city_key city state_or_province country city 54 ?事實(shí)星座模式中多個(gè)事實(shí)表共享維表 time_key day day_of_the_week month quarter year time location_key street city province_or_state country location Sales Fact Table time_key item_key branch_key location_key units_sold dollars_sold avg_sales Measures item_key item_name brand type supplier_type item branch_key branch_name branch_type branch Shipping Fact Table time_key item_key shipper_key from_location to_location dollars_cost units_shipped shipper_key shipper_name location_key shipper_type shipper 55 關(guān)于事實(shí)表、維表及鍵的設(shè)計(jì) 1)關(guān)于事實(shí)表 ?事實(shí)表與維表的關(guān)系:主鍵與外鍵 ?一個(gè)事實(shí)表對應(yīng)一個(gè)主題 ?同一主題不同的粒度對應(yīng)不同的事實(shí)表 ?度量的計(jì)算 2)關(guān)于維表 ?維表的組成:主鍵、分類層次、屬性說明 主鍵:自然鍵,代理鍵 ?維表的作用:說明性信息,為事實(shí)表的檢索條件 ?維表的個(gè)數(shù): 415個(gè) 56 銷 售 分 析 表P K , F K 2 時(shí) 間 編 號(hào)P K , F K 1 產(chǎn) 品 編 號(hào)P K , F K 3 地 址 編 號(hào) 銷 售 數(shù) 量 銷 售 金 額產(chǎn) 品 維 表P K 產(chǎn) 品 編 號(hào) 產(chǎn) 品 類 別 產(chǎn) 品 名 稱時(shí) 間 維 表P K 時(shí) 間 編 號(hào) 年 度 月 份 周 日地 區(qū) 維 表P K 地 址 編 號(hào) 國 家 省 份 城 市 門 店 一個(gè)星型模式的例子 57 作業(yè): P45 ?18 做到書上即可 ?作業(yè): 9, 10, 12 ?補(bǔ)充題:請給出一個(gè)實(shí)際問題,設(shè)計(jì)其面向主題的數(shù)據(jù)倉庫星型模式或者雪花模型,或者事實(shí)星座模型。 優(yōu)點(diǎn):信息全面 、 系統(tǒng)靈活 。 ROLAP將數(shù)據(jù)的多維結(jié)構(gòu)劃分為兩類表:事實(shí)表和維表 。 ? 關(guān)系數(shù)據(jù)庫 存儲(chǔ) OLAP數(shù)據(jù)的另一種主要方式 , 與之對應(yīng)的是關(guān)系聯(lián)機(jī)分析處理 ( ROLAP) 。 ?事實(shí)星座 ( Fact constellations) 多個(gè)事實(shí)表共享維表 , 這種模式可以看作星型模式集 , 因此稱為 星 系 模 式 ( galaxy schema ) , 或 者 事 實(shí) 星 座 ( fact constellation) 43 ?星型模式實(shí)例 time_key day day_of_the_week month quarter year time location_key street city state_or_province country location Sales Fact Table time_key item_key branch_key location_key units_
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1