`

ERD

 
阅读更多
http://folkworm.ceri.memphis.edu/ew/SCHEMA_DOC/comparison/erd.htm


Relationships
The lines with symbolized ends connecting database entities represent the relationship between two tables. Each line describe both directions of the relationship. There are four basic relationships that can be used to describe the relationship of one table to another.
KEY: Key to ERD relationships.
The diagram on the right shows these four possibilities by discussing the relationship of some entity B with another entity A. The first relationship shown is that of a one to one relationship between the two tables. Specifically this means that for every row in table A there is one and only one corresponding row in table B. This requires that the number of rows in A must be the same as the number of rows in B. Such relationships represent a kind of a choice, in that it would be possible to merge two tables related in this manner into a single table sharing all of the columns of both. Alternatively, and particularly for seismic applications, it might be better to keep two tables distinct, with B containing information of a specialized and possibly site specific nature, while A might contain information of a much more general nature. Generally one to one relationships are uncommon in database design.

The second relationship shown is much more common, and will help to understand the bidirectional nature of this notation. Simply put, the symbol is to be interpreted that every row of B is uniquely related to specific row of A, while every row of A is related to at most one row of B. As a pneumonic, I sometimes think of the symbol near the B entity as reading "0 or 1", since that is what it looks like. One thing that is difficult to keep sorted out, speaking for myself, is the directionality of the relationship. One can think of the terminal symbol as an arrow head, defining how one entity, A in the example, is related to another, B. Apparently some of the rows in A do not relate to any rows in B, and the corresponding "foreign key" is said to be null. On the other hand, every row of B is related to exactly one row of A. One can see, that table A must contain at least as many rows as table B, and possibly considerably more.

With the third relationship shown in diagam KEY, things get quite a bit more interesting. This notation reads that a given row of A is related to one or more rows in B. To accomplish this, particular values of some foreign key in B, which is also the primary key of A, might be duplicated one or more times. For example, a column in a table holding information on the arrival times of particular seismic phases might have a column (foreign key) containing an ID, which is the primary key of a table of hypocenters. In this example, the phase table is B, and the hypocenter list is A. In this way multiple phase arrivals can be "assocated" with a given hypocenter. The simple example below, however, shows that the situation is generally a bit more tricky than this for real applications. Note that every row of A must be associated with at least one row of B. The situation where a row of A corresponds to no row in B is shown in the fourth symbol. This reads that rows of A are associated with zero or more rows of B. For the phase arrival example, this would mean that there could be a location for which no phase data was available. The location, perhaps, was simply typed in without supporting data.

http://www.databasedesigning.com/ER2.html

  • 大小: 2.1 KB
  • 大小: 1.4 KB
分享到:
评论

相关推荐

    ERD_滑动窗口_信号检测_突发通信_突发检测_非合作信号

    本文将重点探讨一种用于检测此类信号的技术——滑动窗口能量比值法(Energy Ratio Detector, ERD),并结合提供的ERD.m代码和non-cooperative burst detection.pdf论文来深入理解这一方法。 滑动窗口(Sliding ...

    erd.concepts.v5.0.0.0

    标题“erd.concepts.v5.0.0.0”似乎是指一个关于实体关系图(Entity Relationship Diagram, ERD)的概念版本5.0.0.0的更新或软件包。ERD是一种在数据库设计中广泛使用的工具,用于可视化数据实体、它们之间的关系...

    Oracle EBS 11i ERD

    ### Oracle EBS 11i ERD:关键知识点解析 #### 一、功能安全(Function Security) **概述**: 功能安全是Oracle E-Business Suite (EBS) 11i中的一个重要组成部分,它确保只有经过授权的用户才能访问特定的功能或...

    ERD commander 2009 R2 简体中文安装包

    它可以制作ERD commander 2009 基于Windows 2008 R2和Windows 7系统(MS的说法是只支持这2个系统)。这只是个安装程序,安装后在制作ERD2009 R2时,需要Windows 2008 R2或Windows 7的安装盘作支持,如需支持最新硬件,...

    ERD commander 2009 简体中文安装包

    它可以制作ERD commander 2009 基于winpe 2.x 的系统修复工具,可处理Windows vista /Windows 2008等系统。这只是个安装程序,安装后在制作ERD2009时,需要Vista、Windows 2008的安装盘作支持(用哪一个,就看您对...

    经典ERD设计资料、数据库设计

    ERD(实体关系图)是数据库设计中的一个重要工具,用于可视化数据模型,表达实体、关系和属性之间的关系。在这个经典的ERD设计资料中,你将深入理解数据库设计的基础和实践。 首先,ERD是概念数据模型的一种表现...

    论文研究 - 关于模块化Erdös-Burgess常数

    令n为正整数。 对于任何整数a,如果a2≡a(mod n),我们说它是n的幂等模。... 我们给出了n模Erdös-Burgess常数的尖锐下界,特别是在n是素数幂或成对的不同质数的乘积的情况下,我们确定了n模Erdös-Burgess常数。

    自制ERD_Commander_Boot_CD_教程

    【ERD Commander Boot CD 制作教程】 ERD Commander Boot CD 是一款强大的系统恢复和故障诊断工具,尤其适用于系统管理员和IT专业人士。它允许在Windows系统无法正常启动时,通过引导CD进入系统进行修复和数据恢复...

    ERD commander 2011 x64 安装包

    它可以制作ERD commander 基于Windows 2008 R2 x64和Windows 7 x64系统(MS的说法是只支持这2个系统)。这只是个安装程序,安装后在制作ERD Commander x64时,需要Windows 2008 R2 x64或Windows 7 x64安装盘作支持,如...

    \光盘上的操作系统-ERDCOMMANDER2003汉化....rar

    ERD Commander 2003是一款在光盘上运行的操作系统工具,主要设计用于系统管理员在Windows环境中进行故障排除和修复。它是一个轻量级的环境,允许用户在不启动原生操作系统的情况下,访问和管理硬盘上的Windows安装。...

    ERD.PDF台湾 林伟川著

    ### ERD.PDF 台湾 林伟川著 #### 重要知识点概览: 1. **ER图(Entity-Relationship Diagram)**:一种用于描述实体及其之间关系的图形表示法,广泛应用于数据库设计中。 2. **软件工程基础概念与实践**:包括系统...

    方案-erd模板.zip

    "方案-erd模板.zip"这个压缩包文件包含的是一个用于项目实施的资源集合,特别关注于数据库设计和系统集成方面。让我们详细探讨一下其中涉及的知识点。 首先,"统一认证服务设计方案(2).docx"这个名字暗示了这是一个...

    dell erd 2005

    在IT领域,特别是服务器管理和维护方面,Dell ERD(Emergency Recovery Disk)2005是一个重要的工具,它主要用于在紧急情况下对Dell服务器进行恢复和管理。在本篇文章中,我们将深入探讨Dell ERD 2005加载RAID驱动的...

    ERD commander 2008 安装包

    Microsoft Diagnostics and Recovery Toolset 6.0 (MSDaRT),可以制作ERD commander 2008 基于winpe 2.x的系统修复工具,可处理vista /2008系统。 此为X86版式,经测试非常好用(仅为大侠提供,菜鸟千万不要下载,...

    starUml-erd

    StarUML是一款强大的建模工具,主要用于创建各种类型的软件模型,包括ERD(实体关系图)。在软件开发过程中,ERD是一种重要的设计工具,它帮助开发者直观地理解数据库的结构和实体之间的关系。标题提到的"starUml-...

    创建ERD修复U盘

    创建ERD修复U盘可以针对那些没有光驱的电脑进行系统修复工作,解决了因为没有光驱而不能用ERD进行系统修复的烦恼,ERD是一款很好的系统修复工具,利用它可以进行不同层次的系统修复工作,现在我们结合U盘使用,确实...

    ERD60破解win2008口令

    ERD60破解win2008口令 Win2008系统,如果忘记了管理员口令,可以用ERD6.0重置管理员口令

    基于ERD/ERS现象的运动想象脑电信号分类研究 (2015年)

    为了提高分类正确率,通过对脑电信号的特征提取和分类识别方法的研究,根据运动想象过程中的 ERD/ERS现象,提出利用独立分量分析法对采集到的多导联运动想象脑电信号进行盲源分离,获取与想象任务相关的ICA滤波器,将其...

    schem spi erd

    根据提供的文件信息,我们可以推断出此文档是关于SmartPlant Instrumentation (SPI)的一个版本,具体涉及的是实体关系图(Entity Relationship Diagrams, ERD)的相关内容。由于文档中的部分内容较为晦涩,主要包含...

Global site tag (gtag.js) - Google Analytics