考试报名
考试报名
考试内容
考试大纲
在线客服
返回顶部

备考刷题,请到

CDA认证小程序

For the sales analysis of an e-commerce company, order tables, product tables and customer tables are used to build a multidimensional data model. Which of the following statements correctly describes the connection between the three tables when performing multidimensional pivot analysis?
A. The three tables form a star schema
B. The three tables form a galaxy schema
C. The three tables form a snowflake schema
D. The three tables form a cross schema
上一题
下一题
收藏
点赞
评论
题目解析
题目评论(0)

The multidimensional data model with order, product and customer tables is one fact table connected to two dimension tables, forming a star schema. So select A.

正确答案是:A: The three表格形成一个星型模式。

专业分析:

在多维数据模型中,星型模式(Star Schema)是一种常见的设计模式。它由一个事实表和多个维度表组成。具体到电子商务公司的销售分析,订单表通常是事实表,而产品表和客户表则是维度表。

1. **事实表(Order Table)**:包含销售数据,如订单ID、日期、销售金额等。
2. **维度表(Product Table 和 Customer Table)**:分别包含产品信息和客户信息。

在星型模式中,事实表位于中心,多个维度表围绕在周围,类似于星形结构。每个维度表通过一个或多个键与事实表相连。

- **星型模式的优点**:
- 结构简单,查询效率高。
- 易于理解和实现。

其他选项的分析:
- **B: Galaxy Schema(星系模式)**:由多个星型模式组成,通常用于更复杂的数据仓库环境,不适用于只有一个事实表和几个维度表的情况。
- **C: Snowflake Schema(雪花模式)**:维度表进一步归一化,分解为多个相关的子维度表。虽然这种模式更规范化,但查询复杂度较高,不适用于简单的订单、产品和客户关系。
- **D: Cross Schema(交叉模式)**:这种模式在数据仓库设计中并不常见,通常也不适用于描述简单的订单、产品和客户关系。

因此,基于上述分析,正确答案是A: The three tables form a star schema。