Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.

Slides:



Advertisements
Similar presentations
The Client/Server Database Environment
Advertisements

Database Architectures and the Web
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 9 Distributed Systems Architectures Slide 1 1 Chapter 9 Distributed Systems Architectures.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
Data - Information - Knowledge
Technical Architectures
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
1 Pertemuan 02 Database environment Matakuliah: >/ > Tahun: > Versi: >
Chapter 2 Database Environment.
Overview Explain three application components: presentation, processing, and storage Distinguish between file server, database server, 3-tier, and n-tier.
1 Database Architectures Modified from …..Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
Chapter 9: The Client/Server Database Environment
Chapter 2 Database Environment Pearson Education © 2014.
Distributed Systems: Client/Server Computing
1 © Prentice Hall, 2002 The Client/Server Database Environment.
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
Lecture The Client/Server Database Environment
The Client/Server Database Environment
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
Chapter 3 Database Architectures and the Web Pearson Education © 2009.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Database Architectures and the Web
12 1 Chapter 12 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
1 Chapter 3 Database Architecture and the Web Pearson Education © 2009.
1 © Prentice Hall, 2002 Chapter 8: The Client/Server Database Environment Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
MBA 664 Database Management Systems Dave Salisbury ( )
Database Architectures and the Web Session 5
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
CSC271 Database Systems Lecture # 4.
© 2005 by Prentice Hall 1 Chapter 9: The Client/Server Database Environment Modern Database Management 7 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Relational Algebra & Client-Server Systems, CS263 Lectures 11 and 12.
Csi315csi315 Client/Server Models. Client/Server Environment LAN or WAN Server Data Berson, Fig 1.4, p.8 clients network.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Personal Computer - Stand- Alone Database  Database (or files) reside on a PC - on the hard disk.  Applications run on the same PC and directly access.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
10 1 Chapter 10 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
3-Tier Architecture Chandrasekaran Rajagopalan Cs /01/99.
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
Application Development
Chapter 9  Definition of terms  List advantages of client/server architecture  Explain three application components:
TM 8-1 Copyright © 1999 Addison Wesley Longman, Inc. Client/Server and Middleware.
Chapter 2 Database Environment.
1 Database Environment. 2 Objectives of Three-Level Architecture u All users should be able to access same data. u A user’s view is immune to changes.
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
IT 5433 LM1. Learning Objectives Understand key terms in database Explain file processing systems List parts of a database environment Explain types of.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 9: The Client/Server Database Environment Modern Database Management 9 th Edition.
Distributed Systems Architectures Chapter 12. Objectives  To explain the advantages and disadvantages of different distributed systems architectures.
The Client/Server Database Environment Mata Kuliah: Interoperabilitas.
Business System Development
Chapter 9: The Client/Server Database Environment
Database Architectures and the Web
The Client/Server Database Environment
The Client/Server Database Environment
The Client/Server Database Environment
CSC 480 Software Engineering
Chapter 9: The Client/Server Database Environment
Database Architectures and the Web
Chapter 2 Database Environment Pearson Education © 2009.
Database Environment Transparencies
Presentation transcript:

Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University

Click Prepared by Jesmin Akhter, Lecturer, IIT,JU Database Organized collection of logically related data is called Database.Organized collection of logically related data is called Database. In a relational database, a data item is called a column or attribute, a record is called a row or tuple, and a file is called a table.

Click Prepared by Jesmin Akhter, Lecturer, IIT,JU Database It is a collection of interrelated stored data that serves the needs of multiple users within one or more organizations that is, an interrelated collection of many different types of tables. Accurate, relevant, and timely information is the key to good decision making. Good decision making is the key to organizational survival in a global environment. The motivation for using databases rather than files has been greater availability to a diverse set of users, integration of data for easier access and update for complex transactions, and less redundancy of data.

Click Front-End Applications and Back-End Databases database DBMS application 1 application 2 application 3 application 4 application k application k+1 application n

Click Back-End Databases A back-end database is a database that is accessed by users indirectly through an external application rather than by application programming stored within the database itself or by low level manipulation of the data (e.g. through SQL commands)

Click Front-End Applications The front end is responsible for collecting input in various forms from the user and processing it to conform to a specification the back end can use. The front end is an interface between the user and the back end. Relative to the client/server computing model, a front-end is likely to be a client and a back-end to be a server.

Click … when designing a database must decide –what is to be represented in the database –what is to be represented in the front-end –because –many aspects may be represent-able at both ends

Click Prepared by Jesmin Akhter, Lecturer, IIT,JU Database design Database design refers to the activities that focus on the design of the database structure that will be used to store and manage end-user data. its structure must be designed carefully. Even a good DBMS will perform poorly with a badly designed database. Designing an transactional database emphasizes accurate and consistent data and operational speed. A well-designed database facilitates data management and generates accurate and valuable information. In poorly designed database, it is difficult-to-trace errors that may lead to bad decision making—and bad decision making can lead to the failure of an organization.

Click Client/Server systems Operate in a networked environment Processing of an application distributed between front-end clients and back-end servers Generally the client process requires some resource, which the server provides to the client Clients and servers can reside in the same computer, or they can be on different computers that are networked together, usually: Client – Workstation (usually a PC) that requests and uses a service Server – Computer (PC/mini/mainframe) that provides a service. For DBMS, server is a database server Prepared by Jesmin Akhter, Lecturer, IIT,JU

Click Client/Server architectures File Server Architecture Database Server Architecture Three-tier Architecture Client does extensive processing Client does little processing Prepared by Jesmin Akhter, Lecturer, IIT,JU

Click File server architecture The first client/server architectures developed All processing is done at the PC that requested the data, I.e. the client handles the presentation logic, the processing logic and much of the storage logic A file server is a device that manages file operations and is shared by each of the client PCs attached to the LAN Each file server acts as an additional hard disk for each of the client PCs Each PC may be called a FAT CLIENT (most processing occurs on the client) Entire files are transferred from the server to the client for processing. Prepared by Jesmin Akhter, Lecturer, IIT,JU

Click Three problems with file server architecture Huge amount of data transfer on the network, because when client wants to access data whole table(s) transferred to PC – so server is doing very little work, network is transferring large blocks of data and client is busy with extensive data manipulation Each client is authorised to use the DBMS when a database application program runs on that PC. Thus there is one database but many concurrently running copies of the DBMS (one on each active PC) – so heavy resource demand on clients

Click Three problems with file server architecture The DBMS copy in each client PC must manage the shared database integrity, I.e. Client DBMSs must recognize shared locks, integrity checks, etc. So programmers must be sophisticated to recognize various subtle conditions that can arise in a multiple-user database environment, as have to understand overview of concurrency, recovery and security controls and build these into their application

Click File Server Architecture FAT CLIENT Prepared by Jesmin Akhter, Lecturer, IIT,JU

Click Database server architectures After the file-server approach came two-tiered approaches Client is responsible for managing user interface, I/O processing logic, data processing logic and some business rules logic (front-end programs) Database server performs all data storage and access processing (back-end functions) – DBMS is only on server Advantages include: Clients do not have to be as powerful, only the database server requires processing power adequate to handle the database – therefore the server can be tuned to optimize data processing performance Greatly reduces data traffic on the network, as only those records (rather than tables) that match the requested criteria are transmitted to the client Improved data integrity since it is all processed centrally

Click Stored procedures These are modules of code that implement application logic, which are included on the database server. They have the following advantages: Performance improves for compiled SQL statements Reduced network traffic as processing moves from the client to the server Improved security if the stored procedure is accessed rather than the data and code being moved to the server Improved data integrity as multiple applications access the same stored procedure Thinner clients (and a fatter database server)

Click Stored procedures Have some disadvantages: Writing stored procedures takes more time than using something like VB Proprietary nature reduces portability Performance degrades as number of on-line users increases Proprietary means confidentially owned and controlled. Thus it is a reference to something that is exclusively owned by someone, often with implications that it is private and cannot be used by other parties without negotiations. It is often used as the word opposite to open. Thus this word indicates sole and private ownership to the exclusion of all other parties

Click Database server architecture Thinner clients DBMS only on server

Click Three-tier architecture Thinnest clients Business rules on separate server DBMS only on DB server

Click Advantages of three-tier architectures Scalability– middle tier can be used to reduce the load on a database sever by using a transaction processing (TP) monitor to reduce the number of connections to a server, and additional application servers can be added to distribute application processing Technological flexibility – easier to change DBMS engines – middle tier can be moved to a different platform. Simplified presentation interfaces make it easier to implement new interfaces Long-term cost reduction – use of off-the-shelf components or services in the middle tier can reduce costs, as can substitution of modules within an application rather than a whole application Scalability : A characteristic of a system, model or function that describes its capability to cope and perform under an increased or expanding workload.

Click Advantages of three-tier architectures Better match of systems to business needs – new modules can be built to support specific business needs rather than building more general, complete applications Improved customer service – multiple interfaces on different clients can access the same business process Competitive advantage – ability to react to business changes quickly by changing small modules of code rather than entire applications

Click Challenges of three-tier architectures High short-term costs – presentation component must be split from process component – this requires more programming Tools, training and experience– currently lack of development tools and training programmes, and people experienced in the technology Incompatible standards – few standards yet proposed Lack of compatible end-user tools – many end-user tools such as spreadsheets and report generators do not yet work through middle-tier services (see later discussion on middleware)

Click 23