中文字幕二区_国产精品免费在线观看_黄色网站观看_人人草人人澡_日本真实娇小xxxx

您的位置: 首頁 > 技術文檔 > 網絡編程 > Codd 提出的 RDBMS 12項準則
象 DEV-Club 那樣的彩色校驗碼 回到列表 保存WEB圖像或頁面到本地的類
 Codd 提出的 RDBMS 12項準則

作者:Dr. E.F. Codd 時間: 2003-09-10 文檔類型:翻譯 來自:oracle.com

Dr. E.F. Codd, an IBM researcher, first developed the relational data model in 1970. In 1985, Dr. Codd published a list of 12

rules that concisely define an ideal relational database, which have provided a guideline for the design of all relational

database systems ever since.

I use the term "guideline" because, to date, no commercial relational database system fully conforms to all 12 rules. They do
represent the relational ideal, though. For a few years, scorecards were kept that rated each commercial product's conformity to Codd's rules. Today, the rules are not talked about as much but remain a goal for relational database design.

Following is a list of Codd's 12 rules, including his original name for each rule and a simplified description. I also have included a note where certain rules are problematic to implement. Don't worry if some of these items are confusing to you, as we move further through this newsletter series we will fill in the details.

以下這12條規(guī)則的中文由 SilentKiller 翻譯,不保證全部正確。


Rule 1: The Information Rule
All data should be presented to the user in table form. Last week's newsletter already discussed the basics of this rule.
1,信息準則
關系數(shù)據(jù)庫中的所有信息都應在邏輯層上用表中的值顯式的表示。

Rule 2: Guaranteed Access Rule
All data should be accessible without ambiguity. This can be accomplished through a combination of the table name, primary key, and column name.
2,保證訪問準則
依于表名,主鍵和列名,保證能以邏輯方式訪問數(shù)據(jù)庫中的每個數(shù)據(jù)項。

Rule 3: Systematic Treatment of Null Values
A field should be allowed to remain empty. This involves the support of a null value, which is distinct from an empty string or a number with a value of zero. Of course, this can't apply to primary keys. In addition, most database implementations support the concept of a nun- null field constraint that prevents null values in a specific table column.
3,空值的系統(tǒng)化處理
RDBMS支持空值(不同于空的字符串或空白字符串,并且不為0)系統(tǒng)化的
表示缺少的信息,且與數(shù)據(jù)類型無關。

Rule 4: Dynamic On-Line Catalog Based on the Relational Model A relational database must provide access to its structure through the same tools that are used to access the data. This is usually accomplished by storing the structure definition within special system tables.
4,基于關系模型的聯(lián)機目錄
數(shù)據(jù)庫的描述在邏輯上應該和一般數(shù)據(jù)采用同樣的方式,使得授權用戶可以
使用查詢一般數(shù)據(jù)所用的關系語言來查詢數(shù)據(jù)庫的描述信息。

Rule 5: Comprehensive Data Sublanguage Rule
The database must support at least one clearly defined language that includes functionality for data definition, data manipulation, data integrity, and database transaction control. All commercial relational databases use forms of the standard SQL (Structured Query Language) as their supported comprehensive language.
5,合理廣泛的子語言準則
一個關系系統(tǒng)可以具有幾種語言和多種終端使用方式(表格填空方式,命令
方式等)。但是必須有一種語言,它的語句可以表示為具有嚴格語法規(guī)定的
字符串,并能全面的支持以下功能:數(shù)據(jù)定義,視圖定義,數(shù)據(jù)操作,完整約束
,授權,事物控制。

Rule 6: View Updating Rule
Data can be presented to the user in different logical combinations, called views. Each view should support the same full range of data manipulation that direct-access to a table has available. In practice, providing update and delete access to logical views is difficult and is not fully supported by any current database.
6,視圖更新準則
所有理論上可更新的視圖也應該允許由系統(tǒng)更新。

Rule 7: High-level Insert, Update, and Delete
Data can be retrieved from a relational database in sets constructed of data from multiple rows and/or multiple tables. This rule states that insert, update, and delete operations should be supported for any retrievable set rather than just for a single row in a single table.
7,高階的插入,更新和刪除
把一個基本關系或導出關系作為一個操作對象進行數(shù)據(jù)的檢索以及插入,更新和刪除。

Rule 8: Physical Data Independence
The user is isolated from the physical method of storing and retrieving information from the database. Changes can be made to the underlying architecture ( hardware, disk storage methods ) without affecting how the user accesses it.
8,數(shù)據(jù)的物理獨立性
無論數(shù)據(jù)庫的數(shù)據(jù)在存儲表示上或存取方法上做任何變化,應用程序和終端活動要都保持邏輯上的不變性。

Rule 9: Logical Data Independence
How a user views data should not change when the logical structure (tables structure) of the database changes. This rule is particularly difficult to satisfy. Most databases rely on strong ties between the user view of the data and the actual structure of the underlying tables.
9,數(shù)據(jù)的邏輯獨立性
當基本表中進行理論上信息不受損害的任何變化時,應用程序和終端和終端活動都要保持邏輯上的不變性。

Rule 10: Integrity Independence
The database language (like SQL) should support constraints on user input that maintain database integrity. This rule is not fully implemented by most major vendors. At a minimum, all databases do preserve two constraints through SQL. No component of a primary key can have a null value. (see rule 3) If a foreign key is defined in one table, any value in it must exist as a primary key in another table.
10,數(shù)據(jù)完整的獨立性
關系數(shù)據(jù)庫的完整性約束必須是用數(shù)據(jù)子語言定義并存貯在目錄中的,而不是在應用程序中加以定義的。至少要支持以下兩種約束:實體完整性:主鍵中的屬性不允許為NULL ; 參照完整性:對于關系數(shù)據(jù)庫中每個不同的非空的外碼值,必須存在一個取自同一個域匹配的主鍵值。

Rule 11: Distribution Independence
A user should be totally unaware of whether or not the database is distributed (whether parts of the database exist in multiple locations). A variety of reasons make this rule difficult to implement; I will spend time addressing these reasons when we discuss distributed databases.
11,分布的獨立性
一個RDBMS應該具有分布獨立性。用戶不必了解數(shù)據(jù)庫是否是分布式的。(無論數(shù)據(jù)庫是否有部分處于復雜多重環(huán)境中)

Rule 12: Nonsubversion Rule
There should be no way to modify the database structure other than through the multiple row database language (like SQL).
12,無破壞準則
若RDBMS有某種低級語言,這一低級語言不能違背或繞過完整性準則以及高級關系
語言表達的約束。

Most databases today support administrative tools that allow some direct manipulation of the datastructure.

Over the life of this newsletter, I will be expanding on the concepts covered by each of Codd's rules. I will use the

relational query language of choice, SQL, to illustrate these concepts and explain relational database structure in detail.

出處:oracle.com
責任編輯:cjj

◎進入論壇網絡編程版塊參加討論

相關文章
FWMX系列:數(shù)據(jù)驅動圖形向導
廣告大師 - 奧格威的廣告準則
作者文章
Codd 提出的 RDBMS 12項準則
關鍵字搜索 常規(guī)搜索 推薦文檔
熱門搜索:CSS Fireworks 設計比賽 網頁制作 web標準 用戶體驗 UE photoshop Dreamweaver Studio8 Flash 手繪 CG
站點最新 站點最新列表
周大!熬•自然”設計大賽開啟
國際體驗設計大會7月將在京舉行
中國國防科技信息中心標志征集
云計算如何讓安全問題可控
云計算是多數(shù)企業(yè)唯一擁抱互聯(lián)網的機會
阿里行云
云手機年終巨獻,送禮標配299起
阿里巴巴CTO王堅的"云和互聯(lián)網觀"
1499元買真八核 云OS雙蛋大促
首屆COCO桌面手機主題設計大賽
欄目最新 欄目最新列表
淺談JavaScript編程語言的編碼規(guī)范
如何在illustrator中繪制臺歷
Ps簡單繪制一個可愛的鉛筆圖標
數(shù)據(jù)同步算法研究
用ps作簡單的作品展示頁面
CSS定位機制之一:普通流
25個最佳最閃亮的Eclipse開發(fā)項目
Illustrator中制作針線縫制文字效果
Photoshop制作印刷凹凸字體
VS2010中創(chuàng)建自定義SQL Rule

藍色理想版權申明:除部分特別聲明不要轉載,或者授權我站獨家播發(fā)的文章外,大家可以自由轉載我站點的原創(chuàng)文章,但原作者和來自我站的鏈接必須保留(非我站原創(chuàng)的,按照原來自一節(jié),自行鏈接)。文章版權歸我站和作者共有。

轉載要求:轉載之圖片、文件,鏈接請不要盜鏈到本站,且不準打上各自站點的水印,亦不能抹去我站點水印。

特別注意:本站所提供的攝影照片,插畫,設計作品,如需使用,請與原作者聯(lián)系,版權歸原作者所有,文章若有侵犯作者版權,請與我們聯(lián)系,我們將立即刪除修改。

您的評論
用戶名:  口令:
說明:輸入正確的用戶名和密碼才能參與評論。如果您不是本站會員,你可以注冊 為本站會員。
注意:文章中的鏈接、內容等需要修改的錯誤,請用報告錯誤,以利文檔及時修改。
不評分 1 2 3 4 5
注意:請不要在評論中含與內容無關的廣告鏈接,違者封ID
請您注意:
·不良評論請用報告管理員,以利管理員及時刪除。
·尊重網上道德,遵守中華人民共和國的各項有關法律法規(guī)
·承擔一切因您的行為而直接或間接導致的民事或刑事法律責任
·本站評論管理人員有權保留或刪除其管轄評論中的任意內容
·您在本站發(fā)表的作品,本站有權在網站內轉載或引用
·參與本評論即表明您已經閱讀并接受上述條款
推薦文檔 | 打印文檔 | 評論文檔 | 報告錯誤  
專業(yè)書推薦 更多內容
網站可用性測試及優(yōu)化指南
《寫給大家看的色彩書1》
《跟我去香港》
眾妙之門—網站UI 設計之道
《Flex 4.0 RIA開發(fā)寶典》
《贏在設計》
犀利開發(fā)—jQuery內核詳解與實踐
作品集 更多內容

雜⑦雜⑧ Gold NORMANA V2