《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 17 Database System Architectures

Chapter 17:Database System Architectures Centralized and Client-Server Systems Server System Architectures Parallel Systems Distributed Systems Network Types Database System Concepts-6th Edition 17.2 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.2 ©Silberschatz, Korth and Sudarshan th Edition Chapter 17: Database System Architectures Centralized and Client-Server Systems Server System Architectures Parallel Systems Distributed Systems Network Types

Centralized Systems Run on a single computer system and do not interact with other computer systems. General-purpose computer system:one to a few CPUs and a number of device controllers that are connected through a common bus that provides access to shared memory. Single-user system (e.g.,personal computer or workstation):desk-top unit,single user,usually has only one CPU and one or two hard disks;the OS may support only one user. Multi-user system:more disks,more memory,multiple CPUs,and a multi-user OS.Serve a large number of users who are connected to the system vie terminals.Often called server systems. Database System Concepts-6th Edition 17.3 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.3 ©Silberschatz, Korth and Sudarshan th Edition Centralized Systems Run on a single computer system and do not interact with other computer systems. General-purpose computer system: one to a few CPUs and a number of device controllers that are connected through a common bus that provides access to shared memory. Single-user system (e.g., personal computer or workstation): desk-top unit, single user, usually has only one CPU and one or two hard disks; the OS may support only one user. Multi-user system: more disks, more memory, multiple CPUs, and a multi-user OS. Serve a large number of users who are connected to the system vie terminals. Often called server systems

A Centralized Computer System mouse keyboard printer monitor disks on-line CPU disk USB controller graphics controller adapter memory Database System Concepts-6th Edition 17.4 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.4 ©Silberschatz, Korth and Sudarshan th Edition A Centralized Computer System

Client-Server Systems Server systems satisfy requests generated at m client systems,whose general structure is shown below: client client client client network server Database System Concepts-6th Edition 17.5 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.5 ©Silberschatz, Korth and Sudarshan th Edition Client-Server Systems Server systems satisfy requests generated at m client systems, whose general structure is shown below:

Client-Server Systems(Cont.) Database functionality can be divided into: Back-end:manages access structures,query evaluation and optimization,concurrency control and recovery. Front-end:consists of tools such as forms,report-writers,and graphical user interface facilities. The interface between the front-end and the back-end is through SQL or through an application program interface. SQL user forms report data mining front end and analysis interface interface generation tools tools interface (SQL API) SQL engine back end Database System Concepts-6th Edition 17.6 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.6 ©Silberschatz, Korth and Sudarshan th Edition Client-Server Systems (Cont.) Database functionality can be divided into: Back-end: manages access structures, query evaluation and optimization, concurrency control and recovery. Front-end: consists of tools such as forms, report-writers, and graphical user interface facilities. The interface between the front-end and the back-end is through SQL or through an application program interface

Client-Server Systems(Cont.) Advantages of replacing mainframes with networks of workstations or personal computers connected to back-end server machines: better functionality for the cost flexibility in locating resources and expanding facilities better user interfaces easier maintenance Database System Concepts-6th Edition 17.7 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.7 ©Silberschatz, Korth and Sudarshan th Edition Client-Server Systems (Cont.) Advantages of replacing mainframes with networks of workstations or personal computers connected to back-end server machines: better functionality for the cost flexibility in locating resources and expanding facilities better user interfaces easier maintenance

Server System Architecture Server systems can be broadly categorized into two kinds: transaction servers which are widely used in relational database systems,and data servers,used in object-oriented database systems Database System Concepts-6th Edition 17.8 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.8 ©Silberschatz, Korth and Sudarshan th Edition Server System Architecture Server systems can be broadly categorized into two kinds: transaction servers which are widely used in relational database systems, and data servers, used in object-oriented database systems

Transaction Servers Also called query server systems or SQL server systems Clients send requests to the server Transactions are executed at the server Results are shipped back to the client. Requests are specified in SQL,and communicated to the server through a remote procedure call(RPC)mechanism. Transactional RPC allows many RPC calls to form a transaction. Open Database Connectivity(ODBC)is a C language application program interface standard from Microsoft for connecting to a server, sending SQL requests,and receiving results. JDBC standard is similar to ODBC.for Java Database System Concepts-6th Edition 17.9 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.9 ©Silberschatz, Korth and Sudarshan th Edition Transaction Servers Also called query server systems or SQL server systems Clients send requests to the server Transactions are executed at the server Results are shipped back to the client. Requests are specified in SQL, and communicated to the server through a remote procedure call (RPC) mechanism. Transactional RPC allows many RPC calls to form a transaction. Open Database Connectivity (ODBC) is a C language application program interface standard from Microsoft for connecting to a server, sending SQL requests, and receiving results. JDBC standard is similar to ODBC, for Java

Transaction Server Process Structure A typical transaction server consists of multiple processes accessing data in shared memory. Server processes These receive user queries(transactions),execute them and send results back Processes may be multithreaded,allowing a single process to execute several user queries concurrently Typically multiple multithreaded server processes Lock manager process More on this later Database writer process Output modified buffer blocks to disks continually Database System Concepts-6th Edition 17.10 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.10 ©Silberschatz, Korth and Sudarshan th Edition Transaction Server Process Structure A typical transaction server consists of multiple processes accessing data in shared memory. Server processes These receive user queries (transactions), execute them and send results back Processes may be multithreaded, allowing a single process to execute several user queries concurrently Typically multiple multithreaded server processes Lock manager process More on this later Database writer process Output modified buffer blocks to disks continually

Transaction Server Processes(Cont.) Log writer process Server processes simply add log records to log record buffer Log writer process outputs log records to stable storage. Checkpoint process Performs periodic checkpoints Process monitor process Monitors other processes,and takes recovery actions if any of the other processes fail E.g.,aborting any transactions being executed by a server process and restarting it Database System Concepts-6th Edition 17.11 @Silberschatz,Korth and Sudarshan
Database System Concepts - 6 17.11 ©Silberschatz, Korth and Sudarshan th Edition Transaction Server Processes (Cont.) Log writer process Server processes simply add log records to log record buffer Log writer process outputs log records to stable storage. Checkpoint process Performs periodic checkpoints Process monitor process Monitors other processes, and takes recovery actions if any of the other processes fail E.g., aborting any transactions being executed by a server process and restarting it
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 16 Recovery System.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 15 Concurrency Control.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 14 Transactions.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 13 Query Optimization.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 12 Query Processing.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 11 Indexing and Hashing.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 10 Storage and File Structure.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 1 Introduction(Avi Silberschatz Henry F. Korth S. Sudarshan).ppt
- 电子科技大学:《大数据时代商业模式创新 Business model innovation》研究生课程教学资源(课件讲稿,杜义飞).pdf
- 电子科技大学:《大数据时代商业模式创新 Business model innovation》研究生课程教学资源(讲座)换一个视角看清商业本质.pdf
- 电子科技大学:《大数据时代商业模式创新 Business Model Innovation in the Times of Big Data》研究生课程教学资源(教学大纲,杜义飞).pdf
- 《物联网技术导论 Introduction of Internet of Things》课程教学资源(参考文献)群智感知计算(清华大学:在后台操纵的同时,用户对于污染、扭曲文字的识 刘云浩).pdf
- 南京大学:《物联网技术导论 Introduction of Internet of Things》课程教学资源(参考文献)基于位置服的务(架构与研究进展).pdf
- 南京大学:《物联网技术导论 Introduction of Internet of Things》课程教学资源(参考文献)Wi-Fi雷达 - 从RSSI到CSI.pdf
- 南京大学:《物联网技术导论 Introduction of Internet of Things》课程教学资源(参考文献)Survey of Wireless Indoor Positioning Techniques and Systems.pdf
- 南京大学:《物联网技术导论 Introduction of Internet of Things》课程教学资源(参考文献)Location, Localization, and Localizability.pdf
- RFID标签数目估算机制研究(参考文献)ZOE - Fast Cardinality Estimation for Large-Scale RFID Systems.pdf
- RFID标签数目估算机制研究(参考文献)Every Bit Counts - Fast and Scalable RFID Estimation.pdf
- RFID标签数目估算机制研究(参考文献)Energy Efficient Algorithms for the RFID Estimation Problem.pdf
- RFID标签数目估算机制研究(参考文献)Counting RFID Tags Efficiently and Anonymously.pdf
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 18 Parallel Databases.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 19 Distributed Databases.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 2 Introduction to the Relational Model.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 20 Data Analysis.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 21 Information Retrieval.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 22 Object-Based Databases.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 23 XML.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 24 Advanced Application Development.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 25 Advanced Data Types and New Applications.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 26 Advanced Transaction Processing.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 3 Introduction to SQL.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 4 Intermediate SQL.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 5 Advanced SQL.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 6 Formal Relational Query Languages.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 7 Database Design - The Entity-Relationship Approach.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 8 Relational Database Design.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,PPT课件讲稿,英文版)Chapter 9 Application Design and Development.ppt
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,附录,英文版)Advanced Relational Database Design.pdf
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,附录,英文版)Other Relational Query Languages.pdf
- 《数据库系统概念 Database System Concepts》原书教学资源(第六版,附录,英文版)Network Model.pdf