63
Fundamentals of Information Systems, Seventh Edition 1 Fundamentals of Information Systems, Seventh Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence

Fundamentals of Information Systems, Seventh Editionhome.ku.edu.tr/~mehmetgonen/indr481_fall2015/indr481_fall2015... · Fundamentals of Information Systems, Seventh Edition 1

Embed Size (px)

Citation preview

FundamentalsofInformationSystems,SeventhEdition

1FundamentalsofInformationSystems,

SeventhEdition

Chapter 3Database Systems, Data

Centers,and Business Intelligence

PrinciplesandLearningObjectives

• Datamanagementandmodelingarekeyaspectsoforganizingdataandinformation– Definegeneraldatamanagementconceptsandterms,highlightingtheadvantagesofthedatabaseapproachtodatamanagement

– Describelogicalandphysicaldatabasedesignconsiderations,thefunctionofdatacenters,andtherelationaldatabasemodel

FundamentalsofInformationSystems,SeventhEdition

2

PrinciplesandLearningObjectives(continued)

• Awell-designedandwell-manageddatabaseisanextremelyvaluabletoolinsupportingdecisionmaking– Identifythecommonfunctionsperformedbyalldatabasemanagementsystems,andidentifypopulardatabasemanagementsystems

FundamentalsofInformationSystems,SeventhEdition

3

PrinciplesandLearningObjectives(continued)

• Thenumberandtypesofdatabaseapplicationswillcontinuetoevolveandyieldrealbusinessbenefits– Identifyandbrieflydiscussbusinessintelligence,datamining,andotherdatabaseapplications

FundamentalsofInformationSystems,SeventhEdition

4

WhyLearnAboutDatabaseSystemsandBusinessIntelligence?• Database:

– Organizedcollectionofdata• Databasemanagementsystem(DBMS):

– Groupofprogramsthatmanipulatethedatabase– Provideaninterfacebetweenthedatabaseanditsusersandotherapplicationprograms

• Databaseadministrator(DBA):– SkilledISprofessionalwhodirectsallactivitiesrelatedtoanorganization’sdatabase

FundamentalsofInformationSystems,SeventhEdition

5

DataManagement

• Withoutdataandtheabilitytoprocessit:– Anorganizationcouldnotsuccessfullycompletemostbusinessactivities

• Dataconsistsofrawfacts• Totransformdataintousefulinformation:

– Itmustfirstbeorganizedinameaningfulway

FundamentalsofInformationSystems,SeventhEdition

6

TheHierarchyofData

• Bit(abinarydigit):– Circuitthatiseitheronoroff

• Byte:– Typicallymadeupofeightbits

• Character:– Basicbuildingblockofinformation

• Field:– Name,number,orcombinationofcharactersthatdescribesanaspectofabusinessobjectoractivity

FundamentalsofInformationSystems,SeventhEdition

7

TheHierarchyofData(continued)

• Record:– Collectionofrelateddatafields

• File:– Collectionofrelatedrecords

• Database:– Collectionofintegratedandrelatedfiles

• Hierarchyofdata:– Bits,bytes,characters,fields,records,files,anddatabases

FundamentalsofInformationSystems,SeventhEdition

8

TheHierarchyofData(continued)

FundamentalsofInformationSystems,SeventhEdition

9

DataEntities,Attributes,andKeys

• Entity:– Aperson,place,orthingforwhichdataiscollected,stored,andmaintained

• Attribute:– Characteristicofanentity

• Dataitem:– Specificvalueofanattribute

FundamentalsofInformationSystems,SeventhEdition

10

DataEntities,Attributes,andKeys(continued)

FundamentalsofInformationSystems,SeventhEdition

11

DataEntities,Attributes,andKeys(continued)

• Key:– Fieldorsetoffieldsinarecordthatisusedtoidentifytherecord

• Primarykey:– Fieldorsetoffieldsthatuniquelyidentifiestherecord

FundamentalsofInformationSystems,SeventhEdition

12

TheDatabaseApproach

• Thedatabaseapproach:– Traditionalapproachtodatamanagement:

• Eachdistinctoperationalsystemuseddatafilesdedicatedtothatsystem

– Databaseapproachtodatamanagement:• Poolofrelateddataissharedbymultipleapplicationprograms

FundamentalsofInformationSystems,SeventhEdition

13

TheDatabaseApproach(continued)

FundamentalsofInformationSystems,SeventhEdition

14

DataCenters,DataModelingandDatabaseCharacteristics

• Whenbuildingadatabase,anorganizationmustconsider:– Content:Whatdatashouldbecollectedandatwhatcost?

– Access:Whatdatashouldbeprovidedtowhichusersandwhen?

– Logicalstructure:Howshoulddatabearrangedsothatitmakessensetoagivenuser?

– Physicalorganization:Whereshoulddatabephysicallylocated?

FundamentalsofInformationSystems,SeventhEdition

15

DataCenter

• Climate-controlledbuildingorsetofbuildingsthathousedatabaseserversandthesystemsthatdelivermission-criticalinformationandservices

• Traditionaldatacenters:– Consistofwarehousesfilledwithrowuponrowofserverracksandpowerfulcoolingsystems

FundamentalsofInformationSystems,SeventhEdition

16

DataCenter(continued)

• Manyorganizationsnowuselargeshippingcontainerspackedwithracksofserversandcooledtoeasilyconnectandsetup

• Businessesandtechnologyvendorsworkingtodevelopgreendatacentersthatrunmoreefficientlyandrequirelessenergyforprocessingandcooling

• Backupandsecurityproceduresfordatacenterscanbeaconcern

FundamentalsofInformationSystems,SeventhEdition

17

DataCenterinaBox

FundamentalsofInformationSystems,SeventhEdition

18

GreenDataCenters

FundamentalsofInformationSystems,SeventhEdition

19

DataModeling

• Datamodel:– Diagramofdataentitiesandtheirrelationships

• Enterprisedatamodeling:– Startsbyinvestigatingthegeneraldataandinformationneedsoftheorganizationatthestrategiclevel

• Entity-relationship(ER)diagrams:– Datamodelsthatusebasicgraphicalsymbolstoshowtheorganizationofandrelationshipsbetweendata FundamentalsofInformationSystems,

SeventhEdition20

FundamentalsofInformationSystems,SeventhEdition

21

TheRelationalDatabaseModel

• Relationalmodel:– Describesdatausingastandardtabularformat– Eachrowofatablerepresentsadataentity(record)

– Columnsofthetablerepresentattributes(fields)– Thedomainistherangeofallowablevaluesfordataattributes

FundamentalsofInformationSystems,SeventhEdition

22

FundamentalsofInformationSystems,SeventhEdition

23

TheRelationalDatabaseModel(continued)

• Manipulatingdata:– Selecting:

• Eliminatesrowsaccordingtocertaincriteria

– Projecting:• Eliminatescolumnsinatable

– Joining:• Combinestwoormoretables

– Linking:• Manipulatingtwoormoretablesthatshareatleastonecommondataattribute

FundamentalsofInformationSystems,SeventhEdition

24

TheRelationalDatabaseModel(continued)

FundamentalsofInformationSystems,SeventhEdition

25

TheRelationalDatabaseModel(continued)

FundamentalsofInformationSystems,SeventhEdition

26

TheRelationalDatabaseModel(continued)

• Datacleanup– Processoflookingforandfixinginconsistenciestoensurethatdataisaccurateandcomplete

– Databasenormalizationisoftenusedtocleanupproblemswithdata

FundamentalsofInformationSystems,SeventhEdition

27

DatabaseManagementSystems

• Creatingandimplementingtherightdatabasesystemensuresthatthedatabasewillsupportbothbusinessactivitiesandgoals

• Capabilitiesandtypesofdatabasesystemsvaryconsiderably

FundamentalsofInformationSystems,SeventhEdition

28

OverviewofDatabaseTypes• Flatfile

– Simpledatabaseprogramwhoserecordshavenorelationshiptooneanother

• Singleuser– Onlyonepersoncanusethedatabaseatatime– Examples:Access,FileMakerPro,andInfoPath

• Multipleusers– Allowdozensorhundredsofpeopletoaccessthesamedatabasesystematthesametime

– Examples:Oracle,Microsoft,Sybase,andIBM

FundamentalsofInformationSystems,SeventhEdition

29

ProvidingaUserView

• Schema:– Usedtodescribetheentiredatabase– Canbepartofthedatabaseoraseparateschemafile

• DBMS:– Canreferenceaschematofindwheretoaccesstherequesteddatainrelationtoanotherpieceofdata

FundamentalsofInformationSystems,SeventhEdition

30

CreatingandModifyingtheDatabase

• Datadefinitionlanguage(DDL):– Collectionofinstructionsandcommandsusedtodefineanddescribedataandrelationshipsinaspecificdatabase

– Allowsdatabase’screatortodescribedataandrelationshipsthataretobecontainedintheschema

• Datadictionary:– Detaileddescriptionofallthedatausedinthedatabase

FundamentalsofInformationSystems,SeventhEdition

31

FundamentalsofInformationSystems,SeventhEdition

32

CreatingandModifyingtheDatabase(continued)

FIGURE 3.12Using a data definitionlanguage to define a schema

CreatingandModifyingtheDatabase(continued)

FundamentalsofInformationSystems,SeventhEdition

33

StoringandRetrievingData

• WhenanapplicationprogramneedsdataitrequeststhedatathroughtheDBMS

• Concurrencycontroldealswiththesituationinwhichtwoormoreusersorapplicationsneedtoaccessthesamerecordatthesametime

FundamentalsofInformationSystems,SeventhEdition

34

FundamentalsofInformationSystems,SeventhEdition

35

ManipulatingDataandGeneratingReports

• QuerybyExample(QBE)isavisualapproachtodevelopingdatabasequeriesorrequests

• Datamanipulationlanguage(DML):– Commandsthatmanipulatethedatainadatabase

FundamentalsofInformationSystems,SeventhEdition

36

ManipulatingDataandGeneratingReports(continued)

• Structuredquerylanguage(SQL):– AdoptedbytheAmericanNationalStandardsInstitute(ANSI)asthestandardquerylanguageforrelationaldatabases

• Onceadatabasehasbeensetupandloadedwithdata,itcanproducereports,documents,andotheroutputs

FundamentalsofInformationSystems,SeventhEdition

37

DatabaseAdministration

• DBA:– Workswithuserstodecidethecontentofthedatabase

– Workswithprogrammersastheybuildapplicationstoensurethattheirprogramscomplywithdatabasemanagementsystemstandardsandconventions

• Dataadministrator:– Responsiblefordefiningandimplementingconsistentprinciplesforavarietyofdataissues

FundamentalsofInformationSystems,SeventhEdition

38

PopularDatabaseManagementSystems

• PopularDBMSsforendusers:– Microsoft’sAccessandFileMakerPro– NumberofopensourceDBMSincludingPostgreSQL,MySQL,andCouchDB

FundamentalsofInformationSystems,SeventhEdition

39

PopularDatabaseManagementSystems(continued)

• DatabaseasaService(DaaS):– Emergingdatabasesystem– Databaseadministrationisprovidedbytheserviceprovider

– Thedatabaseisstoredonaserviceprovider’sserversandaccessedbytheclientoveranetwork

FundamentalsofInformationSystems,SeventhEdition

40

DatabaseVirtualization

• Usesvirtualserversandoperatingsystemstoallowtwoormoredatabasesystems,includingserversandDBMSstoactlikeasingle,unifieddatabasesystem

• Allowsmoreefficientuseofcomputingresources,reducecosts,andprovidebetteraccesstocriticalinformation

FundamentalsofInformationSystems,SeventhEdition

41

Special-PurposeDatabaseSystems

• NoSQLDBMSscanhandledatathatdoesnotfitintotablesrequiredbytraditionalrelationaldatabases

• Apple’siTunessoftwareusesspecial-purposedatatoallowuserstofindsongs

FundamentalsofInformationSystems,SeventhEdition

42

UsingDatabaseswithOtherSoftware

• DBMSscanactasfront-endorback-endapplications:– Front-endapplicationsinteractdirectlywithpeople

– Back-endapplicationsinteractwithotherprogramsorapplications

FundamentalsofInformationSystems,SeventhEdition

43

DatabaseApplications

• Today’sdatabaseapplicationsmanipulatethecontentofadatabasetoproduceusefulinformation

• Commonmanipulations:– Searching,filtering,synthesizing,andassimilatingdatacontainedinadatabaseusinganumberofdatabaseapplications

FundamentalsofInformationSystems,SeventhEdition

44

BigDataApplications

• DealswithlargeamountsofunstructureddatafromtheInternet,photos,video,audio,socialnetworks,andsensors

• SpecialbigdatahardwareandsoftwarecanbemoreeffectivethantraditionalrelationalDBMSs

• Somepeoplehaveconcernsorganizationsareharvestinghugeamountsofpersonaldata

FundamentalsofInformationSystems,SeventhEdition

45

LinkingtheCompanyDatabasetotheInternetandMobileDevices

• SecurityalwaysaconcernwhenlinkingadatabasetotheInternet

• SemanticWeb:– DevelopingaseamlessintegrationoftraditionaldatabaseswiththeInternet

– ProvidesmetadatawithallWebcontentusingtechnologycalledtheResourceDescriptionFramework(RDF)

FundamentalsofInformationSystems,SeventhEdition

46

LinkingtheCompanyDatabasetotheInternetandMobileDevices

• Increasinguseofsmartphonesandtabletcomputerstoconnecttocorporatedatabases

FundamentalsofInformationSystems,SeventhEdition

47

DataWarehouses,DataMarts,andDataMining

• Datawarehouse– Databasethatholdsbusinessinformationfrommanysourcesintheenterprise

• Datamart– Subsetofadatawarehouse

• Datamining– Information-analysistoolthatinvolvestheautomateddiscoveryofpatternsandrelationshipsinadatawarehouse

FundamentalsofInformationSystems,SeventhEdition

48

FundamentalsofInformationSystems,SeventhEdition

49

DataWarehouses,DataMarts,andDataMining(continued)

• Predictiveanalysis:– Formofdataminingthatcombineshistoricaldatawithassumptionsaboutfutureconditionstopredictoutcomesofevents

– Usedbyretailerstoupgradeoccasionalcustomersintofrequentpurchasers

– Usedtopredictfuturesalesuptoayearinthefuture

FundamentalsofInformationSystems,SeventhEdition

50

BusinessIntelligence

• Involvesgatheringenoughoftherightinformation:– Inatimelymannerandusableformandanalyzingittohaveapositiveimpactonbusinessstrategy,tactics,oroperations

• Competitiveintelligence:– Limitedtoinformationaboutcompetitorsandthewaysthatknowledgeaffectsstrategy,tactics,andoperations

FundamentalsofInformationSystems,SeventhEdition

51

BusinessIntelligence(continued)

• Counterintelligence:– Stepsorganizationtakestoprotectinformationsoughtby“hostile”intelligencegatherers

• Onlineanalyticalprocessing(OLAP)allowsuserstoexploredatafromanumberofperspectives– Providestop-down,query-drivendataanalysis

FundamentalsofInformationSystems,SeventhEdition

52

BusinessIntelligence(continued)

• Datalossprevention(DLP):– Referstosystemsdesignedtolockdowndatawithinanorganization

– Powerfultoolforcounterintelligence– Anecessityincomplyingwithgovernmentregulationsthatrequirecompaniestosafeguardprivatecustomerdata

FundamentalsofInformationSystems,SeventhEdition

53

DistributedDatabases

• Distributeddatabase:– Databaseinwhichthedatamaybespreadacrossseveralsmallerdatabasesconnectedviatelecommunicationsdevices

– Givescorporationsmoreflexibilityinhowdatabasesareorganizedandused

• Replicateddatabase:– Holdsaduplicatesetoffrequentlyuseddata

FundamentalsofInformationSystems,SeventhEdition

54

FundamentalsofInformationSystems,SeventhEdition

55

OnlineAnalyticalProcessing(OLAP)(continued)

Object-RelationalDatabaseManagementSystems

• Object-orienteddatabase:– Storesbothdataanditsprocessinginstructions– Usesanobject-orienteddatabasemanagementsystem(OODBMS)toprovideauserinterfaceandconnectionstootherprograms

• Object-relationaldatabasemanagementsystem(ORDBMS)– Providestheabilityforthirdpartiestoaddnewdatatypesandoperationstothedatabase

FundamentalsofInformationSystems,SeventhEdition

56

Visual,Audio,andOtherDatabaseSystems

• Visualdatabases:– Usedtostoreimagesofchargeslips,X-rays,vitalrecords

– Canbestoredinsomeobject-relationaldatabasesorspecial-purposedatabasesystems

• Spatialdatatechnology:– Usingdatabasetostoreandaccessdataaccordingtothelocationsitdescribes

FundamentalsofInformationSystems,SeventhEdition

57

Summary

• Dataisoneofthemostvaluableresourcesthatafirmpossesses

• Anentityisanobjectforwhichdataiscollected,stored,andmaintained

• Traditionalfile-orientedapplicationsareoftencharacterizedbyprogram-datadependence

• Therelationalmodelplacesdataintwo-dimensionaltables

FundamentalsofInformationSystems,SeventhEdition

58

Summary(continued)

• ADBMSisagroupofprogramsusedasaninterfacebetweenadatabaseanditsusersandotherapplicationprograms

• DBMSbasicfunctionsinclude:– Providinguserviews– Creatingandmodifyingthedatabase– Storingandretrievingdata– Manipulatingdataandgeneratingreports

FundamentalsofInformationSystems,SeventhEdition

59

Summary(continued)

• Databasevirtualizationallowsorganizationstousecomputingresourcesmoreefficiently,reducecosts,andprovidebetterdataaccess

• Databaseadministratorplans,designs,operates,secures,monitors,andmaintainsdatabases

FundamentalsofInformationSystems,SeventhEdition

60

Summary(continued)

• Datawarehousesarerelationaldatabasemanagementsystemsspecificallydesignedtosupportmanagementdecisionmaking

• Dataminingallowstheautomateddiscoveryofpatternsandrelationshipsinadatawarehouse

• Predictiveanalysiscombineshistoricaldatawithassumptionsaboutfutureconditionstoforecastfutureevents

FundamentalsofInformationSystems,SeventhEdition

61

Summary(continued)

• Businessintelligenceistheprocessofgettingenoughoftherightinformationinatimelymannerandusableform

• Competitiveintelligenceinvolvesinformationaboutcompetitorsandtheirstrategy,tactics,andoperations

• Counterintelligenceisthestepsanorganizationtakestoprotectinformationfromhostileintelligencegathers

FundamentalsofInformationSystems,SeventhEdition

62

Summary(continued)

• Multidimensionaldatabasesandonlineanalyticalprocessingprogramsstoredataandallowuserstoexploredatafromanumberofdifferentperspectives

• Anumberofspecial-purposedatabasesystemsarebeingusedtostorelargeamountsofunstructureddatasuchasvisualandaudiodata

FundamentalsofInformationSystems,SeventhEdition

63