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