Download presentation
Presentation is loading. Please wait.
Published byLetitia Melton Modified over 9 years ago
2
CSS/417 Introduction to Database Management Systems Workshop 4
3
CSS/417 Workshop 42 “Enterprise” DB Implementation Network Centric approach Some considerations Security Integrity Concurrency Four overall techniques: File server Client server (Inter/intra)net Teleprocessing
4
CSS/417 Workshop 43 File Server DB Implementation Access.mdb fileMS Access program Files/Records Workstation Server File server example
5
CSS/417 Workshop 44 Client/Server DB Implementation OracleMS Access program SQL Commands Client Server Result sets Client/server example
6
CSS/417 Workshop 45 Client/Server DB Implementation SQL ServerWeb Browser Client Servers Web Server w/ASP http SQL Intranet example Results Web page
7
Typical Web Server Page 340 Figure 13-1 © 2000 Prentice Hall
8
CSS/417 Workshop 47 Middleware Accessing the database server ODBC OLE DB ADO JDBC Etc.
9
CSS/417 Workshop 48 ODBC Open Database Connectivity; DBMS-independent means for processing relational database data ORACLE SYBASE INFORMIX Page 342
10
CSS/417 Workshop 49 Middleware ODBC Logical Architecture (middleware) Client DB2 Oracle SQL Server ODBC
11
ODBC Physical Architecture Figure 13-5 © 2000 Prentice Hall
12
CSS/417 Workshop 411 ODBC Terminology Data source the database, its associated DBMS, operating system, and network platform Driver manager intermediary between the application and DBMS drivers Driver processes ODBC requests and submits SQL statements to a data source Page 343
13
Role of ODBC Standard Page 340 Figure 13-2 © 2000 Prentice Hall
14
CSS/417 Workshop 413 ODBC Data Source Types File shared among database users System local to a single computer User only available to the user who created it Page 346
15
CSS/417 Workshop 414 ODBC ODBC Tools ODBC administrator in control panel Establishes “data source” on the client Linked tables in Access
16
CSS/417 Workshop 415 OLE DB Object Linking and Embedding Database; Provides an object-oriented interface to data of almost any type and used as an interface to ODBC and non-relational data Page 348
17
CSS/417 Workshop 416 Object Terminology Abstraction a generalization of something Method actions that an object can perform Property a characteristic of a recordset abstraction Collection object that contains a group of other objects Page 348
18
Role of OLE DB Page 341 Figure 13-3 © 2000 Prentice Hall
19
OLE DB Goals Page 349 Figure 13-10 © 2000 Prentice Hall
20
OLE DB Data Providers Page 350 Figure 13-11 © 2000 Prentice Hall
21
CSS/417 Workshop 420 ADO Active Data Objects; an interface that enables programmers in almost any language (including scripting) to access OLE DB functionality Page 351
22
Role of ADO Page 342 Figure 13-4 © 2000 Prentice Hall
23
ADO Object Model Page 352 Figure 13-14 © 2000 Prentice Hall
24
CSS/417 Workshop 423 Enterprise Database Processing Architectures Teleprocessing Systems Client-Server Systems File-Sharing Systems Distributed Database Systems Page 377
25
CSS/417 Workshop 424 Teleprocessing “All processing is done by one computer and one CPU while users operate dumb terminals that transmit transactions to the centralized computer” Typical of high volume, OLTP mainframe applications Traditionally over private SNA network
26
Teleprocessing Architecture Page 378 Figure 14-1 © 2000 Prentice Hall
27
CSS/417 Workshop 426 Client-Server Systems “clients process application programs while servers process the database” Page 377
28
Client-Server Architecture Page 379 Figure 14-2 © 2000 Prentice Hall
29
CSS/417 Workshop 428 File-Sharing “Distributes to the users’ computers not only the application programs but also the DBMS” “Execution takes place on the client workstation” Page 379
30
File Sharing Architecture Page 380 Figure 14-3 © 2000 Prentice Hall
31
CSS/417 Workshop 430 Distributed Database Systems “Database itself is distributed among several computers” Rare in commercial practice Often implemented, if at all, via replication/synchronization
32
Distributed Database Architecture Page 381 Figure 14-4 © 2000 Prentice Hall
33
CSS/417 Workshop 432 Types of Distributed Databases Vertical fragment Horizontal fragment Page 381
34
CSS/417 Workshop 433 Sharing Enterprise Data Some approaches to sharing Downloading to user workstations File server Client server Data Warehouses Data Marts (often on NT Server) Analysis tools: OLAP, ROLAP Data administration
35
CSS/417 Workshop 434 Downloading Data App2App1 Gateway OLTP DB Extracted Files File Server DBMS
36
CSS/417 Workshop 435 Downloading Data App2App1 Gateway + DBMS OLTP DB Database Extracts Client Server ODBC
37
CSS/417 Workshop 436 Download Problems Coordination Consistency Access Control Page 385
38
CSS/417 Workshop 437 Downloading Data “Can (should) be used for query and reporting purposes only” Page 383
39
CSS/417 Workshop 438 Data Warehouses Store of enterprise data for decision making Components Data extract tools (ex: SQL Server DTS) Metadata (Repository) DBMS Analytical Tools (Brio, Cognos, etc.) Pre-aggregated data Star schemas
40
Data Warehouse Page 395 Figure 14-18 © 2000 Prentice Hall
41
CSS/417 Workshop 440 Data Warehouses Components Dev ToolsCognosBrio Extracts Warehouse Source Data
42
CSS/417 Workshop 441 Typical Architecture For A Data Warehouse
43
CSS/417 Workshop 442 Typical Architecture For A Complex Data Warehouse
44
Data Warehouse Requirements Page 397 Figure 14-20 © 2000 Prentice Hall
45
CSS/417 Workshop 444 Data Warehouse Challenges Inconsistent Data Tool Integration Missing Warehouse Data Management Tools Ad Hoc Nature of Requirements Caution: can be very expensive to implement Page 397
46
CSS/417 Workshop 445 Data Mart “Facility akin to a data warehouse but for a much smaller domain” Page 401
47
CSS/417 Workshop 446 On Line Analytic Processing OLAP; data is viewed in the form of a table or cube Page 388
48
OLAP Table Page 389 Figure 14-11 © 2000 Prentice Hall
49
OLAP Cube Page 390 Figure 14-12 © 2000 Prentice Hall
50
OLAP Terminology Page 390 Figure 14-14 © 2000 Prentice Hall
51
CSS/417 Workshop 450 Emerging Technologies New tools are emerging which: Build cubes on demand directly from the operational data store Provide OLAP to end users Probably best for less intensive queries
52
CSS/417 Workshop 451 Data Administration “in some ways, data administration is to data what the controller is to money” Page 402
53
Data Administration Challenges Page 403 Figure 14-25 © 2000 Prentice Hall
54
Data Administration Functions Page 404 Figure 14-26 © 2000 Prentice Hall
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.