已阅读5页,还剩21页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1,An Introduction to Database Systems 資料庫系統,陳日昌 Fall 2009,2,Contents 內容綱要,Introduction (1 wk) SQL: DML and DDL (4 wks) Constraints and Triggers (1 wk), E/R modeling (2 wks) and E/R CASE Tool (2 wks) Functional Dependencies (1 wk), Sqlite or Postgres (optional) Drills and Exams,3,Why learn this? 我可以學到什麼?,目標 資料庫系統的基本知識 操作資料庫的方法 (Data Manipulation) 分析並定義資料庫 (Modeling and Definition) 程式介面 (Programming Interface) 工作與就業能力,4,Prerequisites 預修與要件,Data structures 基本的資料結構知識 C/C+ programming language 作業系統操作與概念 平台: MS Windows或Linux MySQL: Oracle (甲骨文): Feb. 2008 SUN acquired MySQL ($1Bn), July 2009 Oracle acquired SUN ($7.4Bn) Watch out!,5,Syllabus 授課規定,時間:每週三小時 Textbook 課本:講義與Internet 作業就是考試題目 課堂時間規定:請尊重他人權益 聯絡:.tw Subject: DB4S主旨 例如: DB4S考試時間?,6,主要參考書與網路資料,Database Systems The Complete Book, (“DSCB”) Garcia-Molina, Ullman, Widom Jeff Ullmans offering of the CS145 course in the Autumn of 2004 Chap 1-2 Free Download 滄海書局,7,圖書館指定參考書,“Database Design, Application Development & Administration,” 2nd Ed. Michael V. Mannino 資料庫管理設計及其應用 翻譯:劉金順 普林斯頓 出版 高立圖書,8,經典教課書,An Introduction to Database Systems, Eighth Edition by C.J. Date,9,Course Website 講義資料,.tw/jctan/ 請自行查看講義並下載軟體 .tw/ 多媒體補救教學資料 有關英文 從Keywords關鍵字學起 把握技術英文以及常用字:一再出現才查 正確觀念:不必恐懼或崇拜,10,Grading 作業與考試評分,Midterm 50 pts, Final 40 pts, other 10 pts 上機實作考試 Open book and notes No discussion, no communication (獨立作業) 1 makeup* 作弊? 當掉!沒有補考或補救方法 延畢? 依照校規處理,11,Questions?,歡迎提問,12,“Database Systems? Why?”,什麼是資料庫系統? 為何需要這樣的系統?,13,Chapter 1 (DSCB) The Worlds of Database Systems,Databases are everywhere! Internal records and management 內部管理 Presenting data (e.g., WWW) Scientific or engineering data Specialized software for this is called a database management system, DBMS, or simply “database system.”,14,Key Features,Persistent storage more than a file system Programming interface through a powerful query language Transaction management supports concurrent, i.e., simultaneous, access to data by multiple processes (called “transactions” 交易),15,“What is a database?”,通常只是持續存在多年的一些資訊 常識上而言 由DBMS管理的一些資訊 DBMS通常能夠提供以下功能 經由Data-Definition Language (DDL)定義新資料庫或稱Schema 經由Data-Manipulation Language (DML)或稱Query Language讓使用者詢問或修改 大量資料、長時間、多使用者 同時使用,16,The Evoluation,Since late 1960s, evolved from file systems Early important applications Airline Reservation Systems Seat Reservation, Assignment, Cancellation, etc. Flight information Concurrent processing Banking Systems ATM,17,“Relational Databases” Ted Codd, 1970,A simple view of data in tables or called relations,18,DSCB Example,A relation named Accounts,欄位名稱Attributes (屬性) 如accountNo, balance, type.,資料列稱為Rows或Tuples,19,Some Queries,要查帳號67890的餘額 SELECT balance FROM Accounts WHERE accountNo = 67890 要查儲蓄餘額為負的帳號 SELECT accountNo FROM Accounts WHERE type=saving AND balance 0 存取、處理詢問、增進處理效率等問題都交給資料庫管理系統,20,需求演變,小型化 在低價電腦上能普遍應用 大型化 資料越來越多;超大容量 三級貯存系統 (Tertiary Storage) Primary Storage? Secondary Storage? (also RAID) Parallel Computing (平行計算) Multiprocessors, GRID,21,Client-Server and Multi-Tier Architecture,客戶-伺服器 Two-Tier (兩層) 到 Three-Tier (三層) Client-Webserver-DBMS Four-Tier (四層) Client-Web server-Application Server-DBMS More,22,Embedded Databases,不區分客戶-伺服器,附帶於單一程式內 例如SQLite () 使用於: Mozilla (browser) Symbian (Smartphone OS) iPhone (Apple smartphone) gPhone (Google smartphone),23,Multimedia Data,Video, images, audio, and other “signals.” “BLOB” (BLock Of Binary) data type How to search for a particular blob data? For example, google image search OO (Object Oriented) approach Multimedia data delivery is not conventional; 音樂/電影資料庫的播放,24,XML Databases,XML (eXtensible Markup Language) as the data definition language (DDL) Flexible Web (http) oriented but not limited to web,25,Overview of a DBMS (Fig. 1.1, DSCB),DML processing Query compiler Execution engine File manager, buffer manager, storage manager Transaction processing Transaction man
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年广东省阳春市小学一年级上册道德与法治期末考试考试卷含答案详解【综合题】
- 2026学年辽宁省凌海市二年级语文期末点睛提升创新思维题(详细参考解析)详细答案和解析
- 丹东市振安区2025年数学三年级下学期期中复习检测模拟试题含答案解析
- 2026年望奎县带编教师招聘考试备考题库及答案解析
- 2027年贵阳市中考数学押题试卷(含答案解析)
- 2026年明溪县带编教师招聘考试模拟试题及答案解析
- 2026年西盟佤族自治县带编教师招聘考试参考题库及答案解析
- DB32/T 5300-2025 后备种鸽饲养管理技术规程
- DB32/T 5331-2025 内陆淡水湿地生态修复固碳增汇成效评估技术规程
- 2026年措美县带编教师招聘考试备考试题及答案解析
- 2026电动重卡换电模式推广障碍与基础设施需求报告
- 2026年云南睿城建设项目管理有限公司、云南朗锐工程咨询服务有限公司招聘(6人)笔试备考题库及答案详解
- 心房颤动防治科普课件
- 《2.我的肖像》课件2026-2027学年人美版五年级上册美术
- 2026年秋季学期学校德育工作计划
- 2026年应急救援知识安全生产应用试题题库(附答案)
- 第7课《培养德智体美劳全面发展的社会主义建设者和接班人》课件
- 新版部编人教版四年级上册道德与法治(课件)11学会合理消费
- DB11-T 383-2023 建筑工程施工现场安全资料管理规程
- CJT 288-2017 预制双层不锈钢烟道及烟囱
- 铁路防雷及接地工程技术规范(TB 10180-2016)
评论
0/150
提交评论