DOC PREVIEW
SJSU CS 157A - Chapter 1

This preview shows page 1-2-3-4-26-27-28-53-54-55-56 out of 56 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 56 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Files and DatabasesIntroducing the DatabaseSlide 10Slide 11Slide 12Slide 13Database SystemsSlide 15DatabaseWhy DBMS?File Based SystemsFrom File Systems to DBMSDBMS BenefitsTerms and ConceptsDatabase EnvironmentDatabase ComponentsTypes of Database SystemsPC DatabasesCentralized DatabasesClient Server DatabasesDistributed DatabasesSlide 29Slide 30Slide 31Slide 32Slide 33Slide 34Slide 35Slide 36Slide 37Slide 38Slide 39Slide 40Slide 41Historical RootsSlide 43Slide 44Slide 45Slide 46Slide 47Slide 48Slide 49Slide 50Slide 51Slide 52Slide 53Slide 54Slide 55Slide 5611File Systems and DatabasesChapter 1 The Worlds of Database SystemsProf. Sin-Min LeeDept. of Computer Science11Tuesday Thursday10:15 – 11:3011??!Your evaluation in this course is determined by:30% Class Presentation 10%Presentation report 5%111111A. Silberschatz, H.F. Korth, S. Sudarshan: Database System Concepts, 5th Ed., McGraw-Hill, 2006.11The mediocre teacher tells.The good teacher explains.The superior teacher demonstrates.The great teacher inspires.11Files and DatabasesFiles and DatabasesFile: A collection of records or documents dealing with one organization, person, area or subject (Rowley)Manual (paper) filesComputer filesDatabase: A collection of similar records with relationships between the records (Rowley)Bibliographic, statistical, business data, images, etc.11Introducing the DatabaseIntroducing the DatabaseMajor Database ConceptsData and informationData - Raw factsInformation - Processed dataData managementDatabaseMetadataDatabase management system (DBMS)111111Figure 1.1Sales per Employee for Each of ROBCOR’S Two Divisions1111Database SystemsDatabase SystemsTypes of Database SystemsNumber of UsersSingle-user–Desktop databaseMultiuser–Workgroup database–Enterprise databaseScopeDesktopWorkgroupEnterprise11Database SystemsDatabase SystemsTypes of Database SystemsLocationCentralizedDistributedUseTransactional (Production)Decision supportData warehouse11DatabaseDatabaseA Database is a collection of stored operational data used by the application systems of some particular enterprise (C.J. Date)Paper “Databases”Still contain a large portion of the world’s knowledgeFile-Based Data Processing SystemsEarly batch processing of (primarily) business dataDatabase Management Systems (DBMS)11Why DBMS?Why DBMS?History50’s and 60’s all applications were custom built for particular needsFile basedMany similar/duplicative applications dealing with collections of business dataEarly DBMS were extensions of programming languages1970 - E.F. Codd and the Relational Model1979 - Ashton-Tate and first Microcomputer DBMS11File Based SystemsFile Based SystemsNaughtyNiceJust what asked forCoalEstimationDeliveryListApplicationFileToysAddressesToys11From File Systems to DBMSFrom File Systems to DBMSProblems with file processing systemsInconsistent dataInflexibilityLimited data sharingPoor enforcement of standardsExcessive program maintenance11DBMS BenefitsDBMS BenefitsMinimal data redundancyConsistency of dataIntegration of dataSharing of dataEase of application developmentUniform security, privacy, and integrity controlsData accessibility and responsivenessData independenceReduced program maintenance11Terms and ConceptsTerms and ConceptsData independencePhysical representation and location of data and the use of that data are separatedThe application doesn’t need to know how or where the database has stored the data, but just how to ask for itMoving a database from one DBMS to another should not have a material effect on application programRecoding, adding fields, etc. in the database should not affect applications11Database EnvironmentDatabase EnvironmentCASE ToolsDBMSUserInterfaceApplicationProgramsRepositoryDatabase11Database ComponentsDatabase ComponentsDBMS===============Design toolsTable CreationForm CreationQuery CreationReport CreationProcedural language compiler (4GL)=============Run timeForm processorQuery processorReport WriterLanguage Run timeUserInterfaceApplicationsApplicationProgramsDatabaseDatabase contains:User’s DataMetadataIndexesApplication Metadata11Types of Database SystemsTypes of Database SystemsPC databasesCentralized databaseClient/server databasesDistributed databasesDatabase models11PC DatabasesPC DatabasesE.g.:AccessFoxProDbaseEtc.11Centralized DatabasesCentralized DatabasesCentral Computer11Client Server DatabasesClient Server DatabasesNetworkClientClientClientDatabaseServer11Distributed DatabasesDistributed DatabasescomputercomputercomputerLocation ALocation CLocation BHomogeneousDatabases11Distributed DatabasesDistributed DatabasesLocal NetworkDatabaseServerClientClientCommServerRemote Comp.Remote Comp.HeterogeneousOr FederatedDatabases11111111Introducing the DatabaseIntroducing the DatabaseImportance of DBMSIt helps make data management more efficient and effective.Its query language allows quick answers to ad hoc queries.It provides end users better access to more and better-managed data.It promotes an integrated view of organization’s operations -- “big picture.”It reduces the probability of inconsistent data.1111Figure 1.2The DBMS Manages the Interaction Between the End User and the Database1111Introducing the DatabaseIntroducing the DatabaseWhy Database Design Is Important?A well-designed database facilitates data management and becomes a valuable information generator.A poorly designed database is a breeding ground for uncontrolled data redundancies.A poorly designed database generates errors that lead to bad decisions.1111111111Historical RootsHistorical RootsWhy Study File Systems?It provides historical perspective.It teaches lessons to avoid pitfalls of data management.Its simple characteristics facilitate understanding of the design complexity of a database.It provides useful knowledge for converting a file system to a database system.11Figure 1.3Contents of the CUSTOMER File111111Table 1.1 Basic File TerminologyData“Raw” facts that have little meaning unless they have beenorganized in some logical manner. The smallest piece of datathat can be “recognized” by the computer is a singlecharacter, such as the letter A, the number 5, or


View Full Document

SJSU CS 157A - Chapter 1

Documents in this Course
SQL

SQL

18 pages

Lecture

Lecture

44 pages

E-R Model

E-R Model

16 pages

Lecture

Lecture

48 pages

SQL

SQL

15 pages

SQL

SQL

26 pages

Lossless

Lossless

26 pages

SQL

SQL

16 pages

Final 3

Final 3

90 pages

Lecture 3

Lecture 3

22 pages

SQL

SQL

25 pages

Load more
Download Chapter 1
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Chapter 1 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Chapter 1 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?