Scroll Top
19th Ave New York, NY 95822, USA

计算机代写|数据库代考Database代考|Determining the Associations

如果你也在 怎样代写数据库Database 这个学科遇到相关的难题,请随时右上角联系我们的24/7代写客服。数据库Database在计算机领域,数据库是一个有组织的数据集合,以电子方式存储和访问。小型数据库可以存储在文件系统中,而大型数据库则托管在计算机集群或云存储中。数据库的设计跨越了形式技术和实际考虑,包括数据建模、有效的数据表示和存储、查询语言、敏感数据的安全和隐私,以及分布式计算问题,包括支持并发访问和容错。

数据库Database数据库管理系统(DBMS)是与终端用户、应用程序和数据库本身交互的软件,用于捕获和分析数据。DBMS软件还包括了为管理数据库而提供的核心设施。数据库、DBMS和相关应用程序的总和可以被称为数据库系统。通常,术语 “数据库 “也被宽泛地用来指代任何一个DBMS、数据库系统或与数据库相关的应用程序。

数据库Database代写,免费提交作业要求, 满意后付款,成绩80\%以下全额退款,安全省心无顾虑。专业硕 博写手团队,所有订单可靠准时,保证 100% 原创。 最高质量的数据库Database作业代写,服务覆盖北美、欧洲、澳洲等 国家。 在代写价格方面,考虑到同学们的经济条件,在保障代写质量的前提下,我们为客户提供最合理的价格。 由于作业种类很多,同时其中的大部分作业在字数上都没有具体要求,因此数据库Database作业代写的价格不固定。通常在专家查看完作业要求之后会给出报价。作业难度和截止日期对价格也有很大的影响。

同学们在留学期间,都对各式各样的作业考试很是头疼,如果你无从下手,不如考虑my-assignmentexpert™!

my-assignmentexpert™提供最专业的一站式服务:Essay代写,Dissertation代写,Assignment代写,Paper代写,Proposal代写,Proposal代写,Literature Review代写,Online Course,Exam代考等等。my-assignmentexpert™专注为留学生提供Essay代写服务,拥有各个专业的博硕教师团队帮您代写,免费修改及辅导,保证成果完成的效率和质量。同时有多家检测平台帐号,包括Turnitin高级账户,检测论文不会留痕,写好后检测修改,放心可靠,经得起任何考验!

想知道您作业确定的价格吗? 免费下单以相关学科的专家能了解具体的要求之后在1-3个小时就提出价格。专家的 报价比上列的价格能便宜好几倍。

Two businessmen use magnifying glass to magnify arrows

计算机代写|数据库代考Database代考|Determining the Associations

Step 4 involves identification and implementation of all associations. As mentioned earlier, associations are the implementation of M:M relationships. They translate to base relations. In the example, associations are Assigned, Supports, Supplies, Uses, and I-Contains. Again, relying on the theory established in the previous two chapters (Sections 3.7 and 4.10) on the implementation of M:M relationships, we would introduce five base relations (called intersecting relations in Section 3.7) for the five associations – ProjWorkSchedule, SuppItemMap, ProjSuppMap, ItemProjMap, and ItemStruct. Additionally, and in keeping with the principle of having unique attribute names for the entire database, we will change the foreign key attribute names to names that are unique but easily traceable to the attributes they reference. The proposed associative entities are outlined below:
SuppItemMap {SI_Supp#, SI_Item#, SI_Ref#}; PK [SI_Ref#]; AK [SI_Supp#, SI_Item#] ItemProjMap {IP_Item#, IP_Proj#, IP_Ref#}; PK [IP_Ref#]; AK [IP_Item#, IP_Proj#] ProjSuppMap (PS_Supp#, PS_Proj#, PS_Ref# PK [PS_Ref#]; AK [PS_Supp#, PS_Proj#]
Note the introduction of an alternate key (AK) for each of the associative entities. While in each case, use of the surrogate is convenient, it is often important to preserve the original composite candidate key. Later, when it becomes time to actually create these relations, the AKs can be implemented as unique indexes (Chapter 11 discusses creation and management of indexes).
Turning to data integrity, the following strategies would be necessary for preserving the association relationship:
Null FKs are not allowed; otherwise, the referential integrity rule (Section 4.1) would be violated.
Deletion of referenced is restricted, and also in keeping with the referential integrity rule.
Update of referenced tuples is allowed so long as the update does not change the PK or AK values.
With respect to the matter of data accessibility, two alternatives exist for the choice of primary key:
a. Use the aggregation of the foreign keys to form a composite PK.
b. Introduce a surrogate and key on it; preserve the AK by creating a unique index for the aggregated composite key.

计算机代写|数据库代考Database代考|Determining Entity Subtypes and Super-Types

The fifth step relates to identifying and properly implementing subtype-super-type relationships among the entities. Care should be taken here in not introducing subtype-super-type relationships where traditional relationships would suffice. Each entity type translates to a base relation. Each base relation will contain attributes corresponding to the properties of the entities that apply within the type hierarchy. Again, being guided by principles established in Chapter 3 (Section 3.7), each subtype will share the primary key of its super-type. Further, the primary key of a subtype is also the foreign key of the said subtype. The illustrations provided in Chapter 3 (Figures 3.11 and 3.12) are also applicable here.
No subtype-super-type relationship appears in the model of Figure 5.1. However, in Figure 5.2, there are a few: Programmer, Engineer, and Accountant are subtypes of Employee; SystemProgrammer and ApplicationProgrammer are subtypes of Programmer. Note also that in a subtype, except for the primary key (which is also a foreign key), no additional attributes of the super-type need to be repeated, since they are inherited. However, additional attributes may be specified (in the subtype). For example (still referring to Figure 5.2), the Programmer entity may contain the attribute MainLanguage to store the programmer’s main programming language; this would not apply to Employee.
In the model shown in Figure 5.2, support for multiple inheritances (the case where a subtype inherits from multiple super-types) would be difficult. For instance, how would we represent the possibility of having a programmer who has credentials for both System Programmer and Application programmer? One strategy could be to promote that case to the level above, namely, Programmer. But what about a System Programmer and an Engineer — how would we represent that? That would be problematic. One possible treatment would be to resort to the use of surrogates and introduce a subtype that inherits (i.e., references) both SystemProgrammer and Engineer via references to their respective surrogate PKs.
Let us now address the matter of data integrity. For subtype-super-type relationships, the following integrity constraints would be applicable:

Null FKs are not allowed; this would violate the referential integrity rule.

Deletion of referenced tuples is restricted, again in keeping with the referential integrity rule. Alternately, one may consider a cascaded deletion that removes a referenced tuple and all referencing tuples to (from subtypes below in the hierarchy). As a general rule, it would be prudent to associate a warning with this latter approach.

Deletion or update of referencing tuples in a subtype is allowed (assuming those tuples are not also fulfilling the role of a super-type).

Update of referenced tuples is cascaded to the referencing (subtype) tuples, assuming no surrogates are being used; if surrogates are being used, update should be restricted.

计算机代写|数据库代考Database代考|Determining the Associations

数据库代考

计算机代写|数据库代考|Determining the Associations

第4步涉及识别和实施所有的关联。如前所述,关联是M:M关系的实现。它们转化为基础关系。在这个例子中,关联是 “分配”、”支持”、”供应”、”使用 “和 “包含”。同样,根据前两章(第3.7节和第4.10节)建立的关于M:M关系实现的理论,我们将为五个关联引入五个基础关系(在第3.7节中称为相交关系)–ProjWorkSchedule, SuppItemMap, ProjSuppMap, ItemProjMap, 和 ItemStruct。此外,为了保持整个数据库有唯一的属性名称的原则,我们将把外键属性名称改为唯一的,但容易追踪到它们所引用的属性的名称。拟议的关联实体概述如下:
SuppItemMap {SI_Supp#, SI_Item#, SI_Ref#}; PK [SI_Ref#]; AK [SI_Supp#, SI_Item#] ItemProjMap {IP_Item#, IP_Proj#, IP_Ref#}; PK [IP_Ref#]; AK [IP_Item#, IP_Proj#] ProjSuppMap (PS_Supp#, PS_Proj#, PS_Ref# PK [PS_Ref#]; AK [PS_Supp#, PS_Proj#] 。
注意为每个关联实体引入了一个备用键(AK)。虽然在每种情况下,使用代用钥匙都很方便,但保留原始的复合候选钥匙往往很重要。后来,当实际创建这些关系的时候,AK可以作为唯一的索引来实现(第11章讨论了索引的创建和管理)。
谈到数据完整性,以下策略对于保存关联关系是必要的:
不允许出现空的FKs;否则就会违反参照物完整性规则(第4.1节)。
删除被引用者是受限制的,这也符合引用的完整性规则。
只要更新不改变PK或AK值,被引用图元的更新是允许的。
关于数据可访问性的问题,在选择主键时有两种选择:
a. 使用外键的聚合来形成一个复合PK。
b. b. 引入一个代理和键;通过为聚合的复合键创建一个唯一索引来保留AK。

计算机代写|数据库代考|数据库代考|Determining Entity Subtypes and Super-Types

第五步涉及识别和正确实现实体之间的子类型-超类型关系。此处应注意不要引入传统关系就足够的子类型-超类型关系。每个实体类型都转换为基 本关系。每个基本关系将包含对应于在类型层次结构中应用的实体的属性的属性。同样,以第 3 章中确立的原则为指导Section3.7,每个子类型 将共享其超类型的主键。此外,子类型的主键也是该子类型的外键。第 3 章中提供的揷图Figures3.11and3.12在这里也适用。
图 5.1 的模型中没有出现子类型-超类型关系。然而,在图 5.2中,有几个:Programmer、Engineer 和 Accountant 是 Employee 的子类型;
SystemProgrammer 和ApplicationProgrammer 是 Programmer 的子类型。另请注意,在子类型中,除了主键whichisalsoaforeignkey,不需要重 复超类型的其他属性,因为它们是继承的。但是,可以指定其他属性inthesubtype. 例如stillreferringtoFigure 5.2, Programmer 实体可能包含 属性MainLanguage 来存储程序员的主要编程语言;这不适用于 Employee。
在图5.2所示的模型中,支持多重继承thecasewhereasubtypeinheritsfrommultiplesuper – types会很困难。例如,我们如何表示拥有一名 同时拥有系统程序员和应用程序程序员证书的程序员的可能性? 一种策略可能是将该案例提升到更高级别,即程序员。但是系统程序员和工程师 呢一-我们将如何表示呢? 那将是有问题的。一种可能的治疗方法是诉诸于使用替代品并引入继承的亚型i.e., referencesSystemProgrammer 和 Engineer 都通过引用各自的代理 $\mathrm{PK}^{\circ}$
现在让我们来解决数据完整性问题。对于子类型-超类型关系,以下完整性约束将适用:
不允许空 FK;这将违反参照完整性规则。
引用元组的删除是受限制的,再次与引用完整性规则保持一致。或者,可以考虑级联删除,删除引用的元组和所有引用元组 fromsubtypesbelowinthehierarchy. 作为一般规则,谨慎的做法是将警告与后一种方法相关联。
允许删除或更新子类型中的引用元组assumingthosetuplesarenotalsoful fillingtheroleofasuper – type.
引用元组的更新级联到引用subtype元组,假设没有使用代理;如果正在使用代理人,则应限制更新。

计算机代写|数据库代考Database代考

计算机代写|数据库代考Database代考 请认准UprivateTA™. UprivateTA™为您的留学生涯保驾护航。

微观经济学代写

微观经济学是主流经济学的一个分支,研究个人和企业在做出有关稀缺资源分配的决策时的行为以及这些个人和企业之间的相互作用。my-assignmentexpert™ 为您的留学生涯保驾护航 在数学Mathematics作业代写方面已经树立了自己的口碑, 保证靠谱, 高质且原创的数学Mathematics代写服务。我们的专家在图论代写Graph Theory代写方面经验极为丰富,各种图论代写Graph Theory相关的作业也就用不着 说。

线性代数代写

线性代数是数学的一个分支,涉及线性方程,如:线性图,如:以及它们在向量空间和通过矩阵的表示。线性代数是几乎所有数学领域的核心。

博弈论代写

现代博弈论始于约翰-冯-诺伊曼(John von Neumann)提出的两人零和博弈中的混合策略均衡的观点及其证明。冯-诺依曼的原始证明使用了关于连续映射到紧凑凸集的布劳威尔定点定理,这成为博弈论和数学经济学的标准方法。在他的论文之后,1944年,他与奥斯卡-莫根斯特恩(Oskar Morgenstern)共同撰写了《游戏和经济行为理论》一书,该书考虑了几个参与者的合作游戏。这本书的第二版提供了预期效用的公理理论,使数理统计学家和经济学家能够处理不确定性下的决策。

微积分代写

微积分,最初被称为无穷小微积分或 “无穷小的微积分”,是对连续变化的数学研究,就像几何学是对形状的研究,而代数是对算术运算的概括研究一样。

它有两个主要分支,微分和积分;微分涉及瞬时变化率和曲线的斜率,而积分涉及数量的累积,以及曲线下或曲线之间的面积。这两个分支通过微积分的基本定理相互联系,它们利用了无限序列和无限级数收敛到一个明确定义的极限的基本概念 。

计量经济学代写

什么是计量经济学?
计量经济学是统计学和数学模型的定量应用,使用数据来发展理论或测试经济学中的现有假设,并根据历史数据预测未来趋势。它对现实世界的数据进行统计试验,然后将结果与被测试的理论进行比较和对比。

根据你是对测试现有理论感兴趣,还是对利用现有数据在这些观察的基础上提出新的假设感兴趣,计量经济学可以细分为两大类:理论和应用。那些经常从事这种实践的人通常被称为计量经济学家。

Matlab代写

MATLAB 是一种用于技术计算的高性能语言。它将计算、可视化和编程集成在一个易于使用的环境中,其中问题和解决方案以熟悉的数学符号表示。典型用途包括:数学和计算算法开发建模、仿真和原型制作数据分析、探索和可视化科学和工程图形应用程序开发,包括图形用户界面构建MATLAB 是一个交互式系统,其基本数据元素是一个不需要维度的数组。这使您可以解决许多技术计算问题,尤其是那些具有矩阵和向量公式的问题,而只需用 C 或 Fortran 等标量非交互式语言编写程序所需的时间的一小部分。MATLAB 名称代表矩阵实验室。MATLAB 最初的编写目的是提供对由 LINPACK 和 EISPACK 项目开发的矩阵软件的轻松访问,这两个项目共同代表了矩阵计算软件的最新技术。MATLAB 经过多年的发展,得到了许多用户的投入。在大学环境中,它是数学、工程和科学入门和高级课程的标准教学工具。在工业领域,MATLAB 是高效研究、开发和分析的首选工具。MATLAB 具有一系列称为工具箱的特定于应用程序的解决方案。对于大多数 MATLAB 用户来说非常重要,工具箱允许您学习应用专业技术。工具箱是 MATLAB 函数(M 文件)的综合集合,可扩展 MATLAB 环境以解决特定类别的问题。可用工具箱的领域包括信号处理、控制系统、神经网络、模糊逻辑、小波、仿真等。

Related Posts

Leave a comment