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閱讀 373評論 0 1
  • 如果你在春天到來 黃四娘家是最好的民宿 哪怕人如流水馬游龍 桃花也依舊笑對春風 早鶯爭暖你無須勸架 新燕啄春你休要...
    袁衛星閱讀 854評論 2 8
  • 見鬼的疲累,擾亂著身軀和頭顱,透露著頹唐腐敗的氣息 看天,是熱得發燙,浪把腳絆了跟頭 如果還有什么要撕碎的,大概就...
    十二在路上閱讀 202評論 0 0
  • 上周六去爬北京第二高峰海陀山,半年有余沒有參加戶外,身體素質可能有所下降,同時沒有把握好節奏,起初走得太快,能量嚴...
    祁百草閱讀 2,128評論 2 12