SH 範例綱要命令檔和物件

下表列出建立「銷售歷史記錄」(sh) 綱要的命令檔名稱,並描述綱要中的物件。

SH 範例綱要命令檔

命令檔名稱 描述
sh_create.sql 在綱要中建立物件
sh_install.sql 綱要 sh 的主要命令檔;呼叫其他命令檔
sh_populate.sql 填入物件
sh_uninstall.sql 解除安裝綱要

SH 範例綱要物件

物件類型 物件
維度 channels_dim, customers_dim, products_dim, promotions_dim, times_dim
索引 channels_pk, countries_pk, customers_gender_bix, customers_marital_bix, customers_pk, customers_yob_bix, dr$sup_text_idx$x, fw_psc_s_mv_chan_bix, fw_psc_s_mv_promo_bix, fw_psc_s_mv_subcat_bix, fw_psc_s_mv_wd_bix, products_pk, products_prod_cat_ix, products_prod_status_bix, products_prod_subcat_ix, promo_pk, sup_text_idx, times_pk
分割索引 costs_prod_bix, costs_time_bix, sales_channel_bix, sales_cust_bix, sales_prod_bix, sales_promo_bix, sales_time_bix
具體化視觀表 cal_month_sales_mv, fweek_pscat_sales_mv
表格 channels, countries, customers, products, promotions, times
分割表格 costs, sales
檢視 profits