Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Worlds of Database Systems From: Ch. 1 of A First Course in Database Systems, by J. D. Pullman and H. Widom.

Similar presentations


Presentation on theme: "The Worlds of Database Systems From: Ch. 1 of A First Course in Database Systems, by J. D. Pullman and H. Widom."— Presentation transcript:

1 The Worlds of Database Systems From: Ch. 1 of A First Course in Database Systems, by J. D. Pullman and H. Widom

2 The World of DBS2 Background Business applications of DBs –maintaining internal records, –presenting data to customers and clients on the WWW, and –supporting many other commercial processes Scientific applications, representing data gathered –by astronomers, –by investigators of the human genome, and –by biochemists exploring the medicinal properties of proteins, –etc.

3 The World of DBS3 Background A database management system (DBMS or a database system) is a powerful tool for creating and managing large amount of data efficiently and allowing it to persist over long period of time, safely. Capabilities of a DBMS –Persistent storage –Programming interface –Transaction management

4 The World of DBS4 1.1 The Evolution of Database Systems The DBMS is expected to: 1.Allow users to create new data and specify their schema. 2.Give users the ability to query the data 3.Support the storage of very large amount of data 4.Control access to data from many users at once

5 The World of DBS5 1.1.1 Early Database Management Systems The first commercial DBMS appears in late 1960 ’ s. –Evolved from file systems Providing (3), storage of large amount of data No direct support of query language Supporting (1), a limited schema for the creation of directory structures of files Not satisfying (4) Applications of the first DBMS –Airline reservation systems –Banking systems –Corporate Records

6 The World of DBS6 1.1.2 Relational Database Systems accountNobalancetype 123451000saving 678902846.92checking... SELECT balance FROM Accounts WHERE accountNo=67890 SELECT accountNo FROM Accounts WHERE type=‘savings’ AND balance <0

7 The World of DBS7 1.1.3 Smaller and Smaller Systems Originally large and expensive Today –many gigabytes fit on a single disk –feasible to run a DBMS on a PC –become available for even very small machines –a common tool for computer applications, much as spreadsheet and word processors did before

8 The World of DBS8 1.1.4 Bigger and Bigger Systems Corporate databases often occupy hundreds of gigabytes. –Retails chains often store tetrabytes (10 12 bytes) of information recording the history of every sales made over a long period of time. Multimedia data –An hour of video consumes about a gigabyte. –Databases storing images from satellites can involve petabytes (10 15 bytes) of data. Trends allowing DBSs to deal with large amount of data –Tertiary storage –Parallel computing

9 The World of DBS9 1.1.5 Client-Server and Multi-Tier Architectures The simplest client/server architecture –the entire DBMS is a server –the query interfaces that interact with the user and send queries or other commands across to the server A trend to put more works in the client –two tier (client/server) becoming three (or more) tiers –The DBMS continues to acts as a server, but its client is typically an application server, which manages connection to the DBS, transaction, authorization, and other aspects

10 The World of DBS10 1.1.6 Multimedia Data Common forms of multimedia data –video, audio, radar signals, satellite images, and documents or pictures in various encoding The storage of multimedia data has forced DBMS ’ s to expand in several ways. –E.g., the operations that one performs on multimedia data are not the simple ones suitable for traditional data forms. –To allow users to create and use complex data operations, DBMS ’ s have to incorporate the ability of users to introduce functions of their own choosing. –The size of multimedia objects also forces the DBMS to modify the storage manager so that objects or tuples of a gigabyte or more can be accommodated.

11 The World of DBS11 1.1.7 Information Integration A large company has many divisions. –Each has its own database of products independently of other divisions. –These divisions may use different DBMS ’ s, different structures for information, perhaps even different terms to mean the same thing or the same term to mean different things. Central control is not always the answer. One popular approach is the creation of data warehouses, where information from many legacy databases is copied, with the appropriate translation, to a central database

12 The World of DBS12 1.2 Overview of a DBMS 1.2.1 Data-definition language commands 1.2.2 Overview of Query processing Answering the query Transaction processing 1.2.3 Storage and buffer management 1.2.4 Transaction Processing 1.2.5 The query processor

13 The World of DBS13 Single boxes: system components Double boxes: in-memory data structures Solid lines: control and data flow Dashed lines: data flow only Database management system components

14 The World of DBS14 1.3 Outline of Database-System Studies Design of databases –Chapters 2, 3 and 4 Database programming –Chapters 5 through 10 Database system implementation –Storage management –Query processing –Transaction management


Download ppt "The Worlds of Database Systems From: Ch. 1 of A First Course in Database Systems, by J. D. Pullman and H. Widom."

Similar presentations


Ads by Google