網頁

搜尋此網誌

2011年4月6日 星期三

Database 資料庫

資料庫(Database)看來是越來越重要了!幾乎只要有電腦的地方都會使用資料庫,例如每天都使用的搜尋引擎,後端就是一個龐大的資料庫,紀錄Internet上的網頁內容供User搜尋。

討論一個議題,必須先定義清楚。首先,依據「Ramez Elmasri & Shamkant B. Navathe, Fundamentals of Database Systems 5th edition, Addison-Wesley, 2007」,資料庫的定義是:「A database is a collection of related data.」這個定義相當簡略,就是「資料」。這裡還要提一點,描述資料庫的資料,稱為meta-data(或metadata,中文稱為中繼資料、元資料...)。

什麼又是資料庫管理系統(Database Management System, DBMS)?所謂DBMS定義:「A DBMS is a collection of programs that enables users to create and maintain a database.」管理資料庫的軟體。DBMS的主要功能有四項:定義(Defining)、創建(Constructing)、操作(Manipulating)與分享(Sharing)資料庫。另外,多數DBMS也會提供保護(Protecting)與維護(Maintaining)兩項功能。

注意,上述提到Database與DBMS兩個觀念,我們一般說資料庫通常是指「資料庫系統(Database System)」,Database System = Database + DBMS,像是MySQL、Microsoft SQL等等。

關於資料庫的書籍,中文可以閱讀這本:
楊先民,實戰資料庫設計,台北:精誠資訊,2009。

英文的書籍,則推薦Ramez Elmasri & Shamkant B. Navathe撰寫的Fundamentals of Database Systems第五版。
###

沒有留言:

張貼留言

熱門文章