在好例子网,分享、交流、成长!
您当前所在位置:首页SQL 开发实例SQL基础 → database system

database system

SQL基础

下载此实例
  • 开发语言:SQL
  • 实例大小:16.56M
  • 下载次数:8
  • 浏览次数:63
  • 发布时间:2022-01-15
  • 实例类别:SQL基础
  • 发 布 人:renshok
  • 文件格式:.pdf
  • 所需积分:5
 相关标签: database system

实例介绍

【实例简介】database system

DATABASE SYSTEM CONCEPTS, SEVENTH EDITION
Published by McGraw-Hill Education, 2 Penn Plaza, New York, NY 10121. Copyright © 2020 by
McGraw-Hill Education. All rights reserved. Printed in the United States of America. Previous
editions © 2011, 2006, and 2002. No part of this publication may be reproduced or distributed in
any form or by any means, or stored in a database or retrieval system, without the prior written
consent of McGraw-Hill Education, including, but not limited to, in any network or other
electronic storage or transmission, or broadcast for distance learning.
Some ancillaries, including electronic and print components, may not be available to customers
outside the United States.
This book is printed on acid-free paper.
1 2 3 4 5 6 7 8 9 LCR 21 20 19
ISBN 978-0-07-802215-9 (bound edition)
MHID 0-07-802215-0 (bound edition)
ISBN 978-1-260-51504-6 (loose-leaf edition)
MHID 1-260-51504-4 (loose-leaf edition)
Portfolio Manager: Thomas Scaife Ph.D.
Product Developers: Tina Bower & Megan Platt
Marketing Manager: Shannon O’Donnell
Content Project Managers: Laura Bies & Sandra Schnee
Buyer: Susan K. Culbertson
Design: Egzon Shaqiri
Content Licensing Specialists: Shawntel Schmitt & Lorraine Buczek
Cover Image: © Pavel Nesvadba/Shutterstock
Compositor: Aptara®, Inc.
All credits appearing on page or at the end of the book are considered to be an extension
of the copyright page.

【实例截图】

from clipboard


【核心代码】

Contents
Chapter 1 Introduction
1.1 Database-System Applications 1
1.2 Purpose of Database Systems 5
1.3 View of Data 8
1.4 Database Languages 13
1.5 Database Design 17
1.6 Database Engine 18
1.7 Database and Application Architecture 21
1.8 Database Users and Administrators 24
1.9 History of Database Systems 25
1.10 Summary 29
Exercises 31
Further Reading 33
PART ONE RELATIONAL LANGUAGES
Chapter 2 Introduction to the Relational Model
2.1 Structure of Relational Databases 37
2.2 Database Schema 41
2.3 Keys 43
2.4 Schema Diagrams 46
2.5 Relational Query Languages 47
2.6 The Relational Algebra 48
2.7 Summary 58
Exercises 60
Further Reading 63
Chapter 3 Introduction to SQL
3.1 Overview of the SQL Query Language 65
3.2 SQL Data Definition 66
3.3 Basic Structure of SQL Queries 71
3.4 Additional Basic Operations 79
3.5 Set Operations 85
3.6 Null Values 89
3.7 Aggregate Functions 91
3.8 Nested Subqueries 98
3.9 Modification of the Database 108
3.10 Summary 114
Exercises 115
Further Reading 124
vii
viii Contents
Chapter 4 Intermediate SQL
4.1 Join Expressions 125
4.2 Views 137
4.3 Transactions 143
4.4 Integrity Constraints 145
4.5 SQL Data Types and Schemas 153
4.6 Index Definition in SQL 164
4.7 Authorization 165
4.8 Summary 173
Exercises 176
Further Reading 180
Chapter 5 Advanced SQL
5.1 Accessing SQL from a Programming
Language 183
5.2 Functions and Procedures 198
5.3 Triggers 206
5.4 Recursive Queries 213
5.5 Advanced Aggregation Features 219
5.6 Summary 231
Exercises 232
Further Reading 238
PART TWO DATABASE DESIGN
Chapter 6 Database Design Using the E-R Model
6.1 Overview of the Design Process 241
6.2 The Entity-Relationship Model 244
6.3 Complex Attributes 249
6.4 Mapping Cardinalities 252
6.5 Primary Key 256
6.6 Removing Redundant Attributes in Entity
Sets 261
6.7 Reducing E-R Diagrams to Relational
Schemas 264
6.8 Extended E-R Features 271
6.9 Entity-Relationship Design Issues 279
6.10 Alternative Notations for Modeling
Data 285
6.11 Other Aspects of Database Design 291
6.12 Summary 292
Exercises 294
Further Reading 300
Chapter 7 Relational Database Design
7.1 Features of Good Relational Designs 303
7.2 Decomposition Using Functional
Dependencies 308
7.3 Normal Forms 313
7.4 Functional-Dependency Theory 320
7.5 Algorithms for Decomposition Using
Functional Dependencies 330
7.6 Decomposition Using Multivalued
Dependencies 336
7.7 More Normal Forms 341
7.8 Atomic Domains and First Normal
Form 342
7.9 Database-Design Process 343
7.10 Modeling Temporal Data 347
7.11 Summary 351
Exercises 353
Further Reading 360
Contents ix
PART THREE APPLICATION DESIGN AND
DEVELOPMENT
Chapter 8 Complex Data Types
8.1 Semi-structured Data 365
8.2 Object Orientation 376
8.3 Textual Data 382
8.4 Spatial Data 387
8.5 Summary 394
Exercises 397
Further Reading 401
Chapter 9 Application Development
9.1 Application Programs and User
Interfaces 403
9.2 Web Fundamentals 405
9.3 Servlets 411
9.4 Alternative Server-Side Frameworks 416
9.5 Client-Side Code and Web Services 421
9.6 Application Architectures 429
9.7 Application Performance 434
9.8 Application Security 437
9.9 Encryption and Its Applications 447
9.10 Summary 453
Exercises 455
Further Reading 462
PART FOUR BIG DATA ANALYTICS
Chapter 10 Big Data
10.1 Motivation 467
10.2 Big Data Storage Systems 472
10.3 The MapReduce Paradigm 483
10.4 Beyond MapReduce: Algebraic
Operations 494
10.5 Streaming Data 500
10.6 Graph Databases 508
10.7 Summary 511
Exercises 513
Further Reading 516
Chapter 11 Data Analytics
11.1 Overview of Analytics 519
11.2 Data Warehousing 521
11.3 Online Analytical Processing 527
11.4 Data Mining 540
11.5 Summary 550
Exercises 552
Further Reading 555
x Contents
PART FIVE STORAGE MANAGEMENT AND
INDEXING
Chapter 12 Physical Storage Systems
12.1 Overview of Physical Storage Media 559
12.2 Storage Interfaces 562
12.3 Magnetic Disks 563
12.4 Flash Memory 567
12.5 RAID 570
12.6 Disk-Block Access 577
12.7 Summary 580
Exercises 582
Further Reading 584
Chapter 13 Data Storage Structures
13.1 Database Storage Architecture 587
13.2 File Organization 588
13.3 Organization of Records in Files 595
13.4 Data-Dictionary Storage 602
13.5 Database Buffer 604
13.6 Column-Oriented Storage 611
13.7 Storage Organization in Main-Memory
Databases 615
13.8 Summary 617
Exercises 619
Further Reading 621
Chapter 14 Indexing
14.1 Basic Concepts 623
14.2 Ordered Indices 625
14.3 B -Tree Index Files 634
14.4 B -Tree Extensions 650
14.5 Hash Indices 658
14.6 Multiple-Key Access 661
14.7 Creation of Indices 664
14.8 Write-Optimized Index Structures 665
14.9 Bitmap Indices 670
14.10 Indexing of Spatial and Temporal Data 672
14.11 Summary 677
Exercises 679
Further Reading 683
PART SIX QUERY PROCESSING AND
OPTIMIZATION
Chapter 15 Query Processing
15.1 Overview 689
15.2 Measures of Query Cost 692
15.3 Selection Operation 695
15.4 Sorting 701
15.5 Join Operation 704
15.6 Other Operations 719
15.7 Evaluation of Expressions 724
15.8 Query Processing in Memory 731
15.9 Summary 734
Exercises 736
Further Reading 740
Contents xi
Chapter 16 Query Optimization
16.1 Overview 743
16.2 Transformation of Relational
Expressions 747
16.3 Estimating Statistics of Expression
Results 757
16.4 Choice of Evaluation Plans 766
16.5 Materialized Views 778
16.6 Advanced Topics in Query
Optimization 783
16.7 Summary 787
Exercises 789
Further Reading 794
PART SEVEN TRANSACTION MANAGEMENT
Chapter 17 Transactions
17.1 Transaction Concept 799
17.2 A Simple Transaction Model 801
17.3 Storage Structure 804
17.4 Transaction Atomicity and Durability 805
17.5 Transaction Isolation 807
17.6 Serializability 812
17.7 Transaction Isolation and Atomicity 819
17.8 Transaction Isolation Levels 821
17.9 Implementation of Isolation Levels 823
17.10 Transactions as SQL Statements 826
17.11 Summary 828
Exercises 831
Further Reading 834
Chapter 18 Concurrency Control
18.1 Lock-Based Protocols 835
18.2 Deadlock Handling 849
18.3 Multiple Granularity 853
18.4 Insert Operations, Delete Operations, and
Predicate Reads 857
18.5 Timestamp-Based Protocols 861
18.6 Validation-Based Protocols 866
18.7 Multiversion Schemes 869
18.8 Snapshot Isolation 872
18.9 Weak Levels of Consistency in
Practice 880
18.10 Advanced Topics in Concurrency
Control 883
18.11 Summary 894
Exercises 899
Further Reading 904
Chapter 19 Recovery System
19.1 Failure Classification 907
19.2 Storage 908
19.3 Recovery and Atomicity 912
19.4 Recovery Algorithm 922
19.5 Buffer Management 926
19.6 Failure with Loss of Non-Volatile
Storage 930
19.7 High Availability Using Remote Backup
Systems 931
19.8 Early Lock Release and Logical Undo
Operations 935
19.9 ARIES 941
19.10 Recovery in Main-Memory Databases 947
19.11 Summary 948
Exercises 952
Further Reading 956
xii Contents
PART EIGHT PARALLEL AND DISTRIBUTED
DATABASES
Chapter 20 Database-System Architectures
20.1 Overview 961
20.2 Centralized Database Systems 962
20.3 Server System Architectures 963
20.4 Parallel Systems 970
20.5 Distributed Systems 986
20.6 Transaction Processing in Parallel and
Distributed Systems 989
20.7 Cloud-Based Services 990
20.8 Summary 995
Exercises 998
Further Reading 1001
Chapter 21 Parallel and Distributed Storage
21.1 Overview 1003
21.2 Data Partitioning 1004
21.3 Dealing with Skew in Partitioning 1007
21.4 Replication 1013
21.5 Parallel Indexing 1017
21.6 Distributed File Systems 1019
21.7 Parallel Key-Value Stores 1023
21.8 Summary 1032
Exercises 1033
Further Reading 1036
Chapter 22 Parallel and Distributed Query Processing
22.1 Overview 1039
22.2 Parallel Sort 1041
22.3 Parallel Join 1043
22.4 Other Operations 1048
22.5 Parallel Evaluation of Query Plans 1052
22.6 Query Processing on Shared-Memory
Architectures 1061
22.7 Query Optimization for Parallel
Execution 1064
22.8 Parallel Processing of Streaming Data 1070
22.9 Distributed Query Processing 1076
22.10 Summary 1086
Exercises 1089
Further Reading 1093
Chapter 23 Parallel and Distributed Transaction Processing
23.1 Distributed Transactions 1098
23.2 Commit Protocols 1100
23.3 Concurrency Control in Distributed
Databases 1111
23.4 Replication 1121
23.5 Extended Concurrency Control
Protocols 1129
23.6 Replication with Weak Degrees of
Consistency 1133
23.7 Coordinator Selection 1146
23.8 Consensus in Distributed Systems 1150
23.9 Summary 1162
Exercises 1165
Further Reading 1168
Contents xiii
PART NINE ADVANCED TOPICS
Chapter 24 Advanced Indexing Techniques
24.1 Bloom Filter 1175
24.2 Log-Structured Merge Tree and
Variants 1176
24.3 Bitmap Indices 1182
24.4 Indexing of Spatial Data 1186
24.5 Hash Indices 1190
24.6 Summary 1203
Exercises 1205
Further Reading 1206
Chapter 25 Advanced Application Development
25.1 Performance Tuning 1210
25.2 Performance Benchmarks 1230
25.3 Other Issues in Application
Development 1234
25.4 Standardization 1237
25.5 Distributed Directory Systems 1240
25.6 Summary 1243
Exercises 1245
Further Reading 1248
Chapter 26 Blockchain Databases
26.1 Overview 1252
26.2 Blockchain Properties 1254
26.3 Achieving Blockchain Properties via
Cryptographic Hash Functions 1259
26.4 Consensus 1263
26.5 Data Management in a Blockchain 1267
26.6 Smart Contracts 1269
26.7 Performance Enhancement 1274
26.8 Emerging Applications 1276
26.9 Summary 1279
Exercises 1280
Further Reading 1282
PART TEN APPENDIX A
Appendix A Detailed University Schema 1287
Index 1299
PART ELEVEN ONLINE CHAPTERS
Chapter 27 Formal Relational Query Languages
Chapter 28 Advanced Relational Database Design
Chapter 29 Object-Based Databases
Chapter 30 XML
Chapter 31 Information Retrieval
Chapter 32 PostgreSQL

标签: database system

实例下载地址

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警