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

备考刷题,请到

CDA认证小程序

Connected aggregation is a common calculation method for business metrics. In connected aggregation analysis, which of the following should be followed as much as possible?()
A. One table for dimensions
B. One table for measures
C. One-to-many connection relationships
D. Many-to-many connection relationships
上一题
下一题
收藏
点赞
评论
题目解析
题目评论(0)

To ensure complete and accurate aggregated calculations after connecting, one-to-many connections should be used as much as possible. Aggregations should use one table for dimensions and another for measures. So A and C are correct.

正确答案是:C: One-to-many connection relationships。

专业分析:
在进行连接聚合分析时,数据表之间的连接关系对分析结果的准确性和效率有着重要影响。以下是对各选项的分析:

A: One table for dimensions(一个表用于维度)
- 维度表通常包含描述性数据,例如时间、地理位置等。虽然将维度数据集中在一个表中可以简化管理,但在实际应用中,维度表可能会涉及多个不同的维度,因此不一定总是只有一个表。

B: One table for measures(一个表用于度量)
- 度量表通常包含数值数据,例如销售额、利润等。与维度表类似,度量数据可能会分散在多个表中,特别是在复杂的业务场景中。因此,这种做法也不一定总是适用。

C: One-to-many connection relationships(一对多连接关系)
- 一对多连接关系是数据建模中最常见的一种关系类型,特别是在星型和雪花型数据模型中。维度表和事实表之间通常是一对多的关系,这种关系有助于简化查询,提高查询性能,并确保数据的完整性和一致性。

D: Many-to-many connection relationships(多对多连接关系)
- 多对多连接关系在实际应用中较为复杂,通常需要通过中间表(桥接表)来实现。这种关系可能会导致查询复杂化,影响性能和可维护性。因此,在可能的情况下,应尽量避免多对多连接关系。

综上所述,选择C: One-to-many connection relationships是最合适的,因为这种连接方式能够更好地支持连接聚合分析,确保数据模型的简洁性和查询效率。