内容简介
《经典原版书库:数据库系统概念(英文精编版·第6版)》内容由浅入深,既包含数据库系统基本概念,又反映数据库技术新进展。它被国际上许多著名大学所采用,包括斯坦福大学、耶鲁大学、得克萨斯大学、康奈尔大学、伊利诺伊大学等。我国也有多所大学采用《经典原版书库:数据库系统概念(英文精编版·第6版)》作为本科生和研究生数据库课程的教材和主要教学参考书,收到了良好的效果。《经典原版书库:数据库系统概念(英文精编版·第6版)》基于该书第6版进行改编,保留其中的基本内容,压缩或删除了一些高级内容,更加适合作为国内高校计算机及相关专业本科生数据库课程教材。作者简介
AbrahamSilberchatz,于纽约州立大学石溪分校获得博士学位,现为耶鲁大学计算机科学SidneyJWeinberg教授,计算机科学系主任,曾任贝尔实验室信息科学研究中心副主任。
HenryF.Korth,于普林斯顿大学获得博士学位,现为利哈伊大学计算机科学与工程系Weiseman教授,曾任贝尔实验室数据库原理研究中心主任。他是ACMFellow和IEEEFellow,是VLDB10年贡献奖的获得者。
S.Sudarshan,于威斯康星大学麦迪逊分校获得博士学位,现为印度理工学院计算机科学与工程系教授,曾为贝尔实验室数据库研究组技术人员。目录
Chapter1Introduction
1.1Database-SystemApplications
1.2PurposeofDatabaseSystems
1.3ViewofData
1.4DatabaseLanguages
1.5RelationalDatabases
1.6DatabaseDesign
1.7DataStorageandQuerying
1.8TransactionManagement
1.9DatabaseArchitecture
1.10DataMiningandInformationRetrieval
1.11SpecialtyDatabases
1.12DatabaseUsersandAdministrators
1.13HistoryofDatabaseSystems
1.14Summary
ReviewTerms
PracticeExercises
Exercises
Tools
BibliographicalNotes
PARTONERELATIONALDATABASES
Chapter2IntroductiontotheRelationalModel
2.1StructureofRelationalDatabases
2.2DatabaseSchema
2.3Keys
2.4SchemaDiagrams
2.5RelationalQueryLanguages
2.6RelationalOperations
2.7Summary
ReviewTerms
PracticeExercises
Exercises
BibliographicalNotes
Chapter3IntroductiontoSQL
3.1OverviewoftheSQLQueryLanguage
3.2SQLDataDefinition3.3BasicStructureofSQLQueries
3.4AdditionalBasicOperations
3.5SetOperations
3.6NullValues
3.7AggregateFunctions
3.8NestedSubqueries
3.9ModificationoftheDatabase
3.10Summary
ReviewTerms
PracticeExercises
Exercises
Tools
BibliographicalNotes
Chapter4IntermediateSQL
4.1JoinExpressions
4.2Views
4.3Transactions
4.4IntegrityConstraints
4.5SQLDataTypesandSchemas
4.6Authorization
4.7Summary
ReviewTerms
PracticeExercises
Exercises
BibliographicalNotes
Chapter5AdvancedSQL
5.1AccessingSQLFromaProgrammingLanguage
5.2FunctionsandProcedures
5.3Triggers
5.4RecursiveQueries
5.5AdvancedAggregationFeatures
5.6OLAP
5.7Summary
ReviewTerms
PracticeExercises
Exercises
Tools
BibliographicalNotes
Chapter6FormalRelationalQueryLanguages
6.1TheRelationalAlgebra
6.2TheTupleRelationalCalculus
6.3TheDomainRelationalCalculus
6.4Summary
ReviewTerms
PracticeExercises
Exercises
BibliographicalNotes
PARTTWODATABASEDESIGN
Chapter7DatabaseDesignandtheE-RModel
7.1OverviewoftheDesignProcess
7.2TheEntity-RelationshipModel
7.3Constraints269
7.4RemovingRedundantAttributesinEntitySets
7.5Entity-RelationshipDiagrams
7.6ReductiontoRelationalSchemas
7.7Entity-RelationshipDesignIssues
7.8ExtendedE-RFeatures
7.9AlternativeNotationsforModelingData
7.100therAspectsofDatabaseDesign
7.11Summary
ReviewTerms
PracticeExercises
Exercises
Tools
BibliographicalNotes
Chapter8RelationalDatabaseDesign
8.1FeaturesofGoodRelationalDesigns
8.2AtomicDomainsandFirstNormalForm
8.3DecompositionUsingFunctionalDependencies
8.4Functional-DependencyTheory
8.5AlgorithmsforDecomposition
8.6DecompositionUsingMultivaluedDependencies
8.7MoreNormalForms
8.8Database-DesignProcess
8.9ModelingTemporalData
8.10Summary
ReviewTerms
PracticeExercises
Exercises
BibliographicalNotes
PARTTHREEDATASTORAGE,QUERYING,ANDTRANSACTIONMANAGEMENT
PARTFOURADVANCEDTOPICS
Bibliography精彩书摘
Atomicity:Supposethat,justbeforetheexecutionoftransactionTi,thevaluesofaccountsAandBare$1000and$2000,respectively.Nowsupposethat,duringtheexecutionoftransactionTi,afailureoccursthatpreventsTifromcompletingitsexecutionsuccessfully.Further,supposethatthefailurehappenedafterthewrite(A)operationbutbeforethewrite(B)operation.Inthiscase,thevaluesofaccountsAandBreflectedinthedatabaseare$950and$2000.Thesystemdestroyed$50asaresultofthisfailure.Inparticular,wenotethatthesumA+Bisnolongerpreserved.
Thus,becauseofthefailure,thestateofthesystemnolongerreflectsarealstateoftheworldthatthedatabaseissupposedtocapture.Wetermsuchastateaninconsistentstate.Wemustensurethatsuchinconsistenciesarenotvisibleinadatabasesystem.Note,however,thatthesystemmustatsomepointbeinaninconsistentstate.EveniftransactionTiisexecutedtocompletion,thereexistsapointatwhichthevalueofaccountAis$950andthevalueofaccountBis$2000,whichisclearlyaninconsistentstate.Thisstate,however,iseventuallyreplacedbytheconsistentstatewherethevalueofaccountAis$950,andthevalueofaccountBis$2050.Thus,ifthetransactionneverstartedorwasguaranteedtocomplete,suchaninconsistentstatewouldnotbevisibleexceptduringtheexecutionofthetransaction.Thatisthereasonfortheatomicityrequirement:Iftheatomicitypropertyispresent,allactionsofthetransactionarereflectedinthedatabase,ornoneare.
Thebasicideabehindensuringatomicityisthis:Thedatabasesystemkeepstrack(ondisk)oftheoldvaluesofanydataonwhichatransactionperformsawrite.Thisinformationiswrittentoafilecalledthelog.Ifthetransactiondoesnotcompleteitsexecution,thedatabasesystemrestorestheoldvaluesfromthelogtomakeitappearasthoughthetransactionneverexecuted.Ensuringatomicityistheresponsibilityofthedatabasesystem;specifically,itishandledbyacomponentofthedatabasecalledtherecoverysystem,whichwedescribeindetailinSection12.7.
Durability:Oncetheexecutionofthetransactioncompletessuccessfully,andtheuserwhoinitiatedthetransactionhasbeennotifiedthatthetransferoffundshastakenplace,itmustbethecasethatnosystemfailurecanresultinalossofdatacorrespondingtothistransferoffunds.Thedurabilitypropertyguaranteesthat,onceatransactioncompletessuccessfully,alltheupdatesthatitcarriedoutonthedatabasepersist,evenifthereisasystemfailure
afterthetransactioncompletesexecution.
Weassumefornowthatafailureofthecomputersystemmayresultinlossofdatainmainmemory,butdatawrittentodiskareneverlost.Wecanguaranteedurabilitybyensuringthateither:
1.Theupdatescarriedoutbythetransactionhavebeenwrittentodiskbeforethetransactioncompletes.
2.Informationabouttheupdatescarriedoutbythetransactioniswrittentodisk,andsuchinformationissufficienttoenablethedatabasetoreconstructtheupdateswhenthedatabasesystemisrestartedafterthefailure.
……前言/序言
数据库系统是对数据进行存储、管理、处理和维护的软件系统,是现代计算环境中的一个核心成分。随着计算机硬件、软件技术的飞速发展和计算机系统在各行各业的广泛应用,数据库技术的发展尤其迅速,引人注目。有关数据库系统的理论和技术是计算机科学技术教育中必不可少的部分。《数据库系统概念》是一本经典的、备受赞扬的数据库系统教科书,其内容由浅入深,既包含数据库系统的基本概念,又反映数据库技术新进展。《经典原版书库:数据库系统概念(英文精编版·第6版)》被国际上许多著名大学采用,并多次再版。
我们先后将《经典原版书库:数据库系统概念(英文精编版·第6版)》的第3版、第4版、第5版和第6版译成中文,由机械工业出版社分别于2000年、2003年、2006年和2012年出版发行。国内许多大学采用《数据库系统概念》作为本科生和研究生数据库课程的教材或主要教学参考书,收到了良好的效果。
我们基于《数据库系统概念》第5版进行了改编,保留其中的基本内容,压缩或删除了一些高级内容,形成了该书的本科教学版,其目的是使它更适合本科生的数据库课程使用。该本科教学版由机械工业出版社于2008年出版发行,被国内许多高校采用作为本科生数据库课程的教材或主要教学参考书。
现在我们又基于《数据库系统概念》第6版进行了改编工作,希望它能够成为一本效果更好、更实用的本科生数据库课程的教材。
……