C4 Relational Databases

  • Database: a set of interrelated, centrally coordinated files

  • DBMS (Database Management System): an interface between the database and applications

  • Database system: the database + DBMS + applications

  • DBA (Database administrator): person responsible for the database

  • Schemas: the logical structure of database

  • Conceptual-level: organization-wide view of the entire database

  • External-level: a set of individual user views of portions of a database (subschema)

  • Internal-level: low-level view; details about data storage

  • Data dictionary: information about the structure of the database

  • DBMS languages: DDL (definition), DML (manipulation), DQL (query), Report writer

  • Relational Databases

  • Data model: an abstract representation of the contents of a database

  • Relational data model: database stored in tables (relations)

  • Tuple: a row in a relation (entry)

  • Primary key / Foreign key / Non-key

  • If all data stored in one table

  • Update anomaly, insert anomaly, delete anomaly, waste of space

  • Requirements of a RD

  1. All data single-valued
  2. Primary keys not null
  3. Foreign key values correspond to self-titled primary key
  4. Non-keys describe characteristics identified by the primary key
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 文案:吞吞@周没思想 生命里第一次承受失去亲人的痛苦,是因为你的离去。 那天我在上课,她们打电话对我说,你...
    LanweFM阅读 380评论 0 1
  • 如果你在春天到来 黄四娘家是最好的民宿 哪怕人如流水马游龙 桃花也依旧笑对春风 早莺争暖你无须劝架 新燕啄春你休要...
    袁卫星阅读 856评论 2 8
  • 见鬼的疲累,扰乱着身躯和头颅,透露着颓唐腐败的气息 看天,是热得发烫,浪把脚绊了跟头 如果还有什么要撕碎的,大概就...
    十二在路上阅读 208评论 0 0
  • 上周六去爬北京第二高峰海陀山,半年有余没有参加户外,身体素质可能有所下降,同时没有把握好节奏,起初走得太快,能量严...
    祁百草阅读 2,170评论 2 12