Data Models: Preface XV
Data Models: Preface XV
Data Models: Preface XV
Preface xv
Chapter 1 Introduction
1.1 Database System Applications 1 1.7 Transaction Management 15
1.2 Database Systems versus File 1.8 Database System Structure 16
Systems 3 1.9 Application Architectures 18
1.3 View of Data 5 1.10 History of Database Systems 18
1.4 Data Models 7 1.11 Summary 21
1.5 Database Languages 11 Exercises 23
1.6 Database Users and Administrators 13 Bibliographical Notes 24
vii
viii Contents
Chapter 4 SQL
4.1 Background 135 4.10 Joined Relations 163
4.2 Basic Structure 137 4.11 Data-Definition Language 168
4.3 Set Operations 144 4.12 Embedded SQL 172
4.4 Aggregate Functions 146 4.13 Dynamic SQL 175
4.5 Null Values 148 4.14 Other SQL Features 180
4.6 Nested Subqueries 149 4.15 Summary 182
4.7 Views 154 Exercises 183
4.8 Complex Queries 155 Bibliographical Notes 186
4.9 Modification of the Database 157
Chapter 10 XML
10.1 Background 361 10.6 Storage of XML Data 381
10.2 Structure of XML Data 364 10.7 XML Applications 384
10.3 XML Document Schema 367 10.8 Summary 386
10.4 Querying and Transformation 372 Exercises 388
10.5 The Application Program Interface 380 Bibliographical Notes 390
x Contents
Chapter 15 Transactions
15.1 Transaction Concept 565 15.7 Implementation of Isolation 583
15.2 Transaction State 568 15.8 Transaction Definition in SQL 584
15.3 Implementation of Atomicity and 15.9 Testing for Serializability 584
Durability 571 15.10 Summary 586
15.4 Concurrent Executions 573 Exercises 588
15.5 Serializability 576 Bibliographical Notes 590
15.6 Recoverability 582
Chapter 25 Oracle
25.1 Database Design and Querying 25.5 Concurrency Control and
Tools 921 Recovery 940
25.2 SQL Variations and Extensions 923 25.6 System Architecture 942
25.3 Storage and Indexing 925 25.7 Replication, Distribution, and External
25.4 Query Processing and Data 945
Optimization 934 25.8 Database Administration Tools 946
Bibliographical Notes 947
PART 9 APPENDICES
Appendix A Network Model (contents online)
A.1 Basic Concepts A1 A.6 DBTG Set-Processing Facility A22
A.2 Data-Structure Diagrams A2 A.7 Mapping of Networks to Files A27
A.3 The DBTG CODASYL Model A7 A.8 Summary A31
A.4 DBTG Data-Retrieval Facility A13 Exercises A32
A.5 DBTG Update Facility A20 Bibliographical Notes A35
Bibliography 1007
Index 1043