FundamentalsofInformationSystems, SeventhEdition Chapter 3 Database Systems, Data Centers, and Business Intelligence FundamentalsofInformationSystems, SeventhEdition 1 PrinciplesandLearningObjectives • Datamanagementandmodelingarekey aspectsoforganizingdataandinformation – Definegeneraldatamanagementconceptsand terms,highlightingtheadvantagesofthe databaseapproachtodatamanagement – Describelogicalandphysicaldatabasedesign considerations,thefunctionofdatacenters,and therelationaldatabasemodel FundamentalsofInformationSystems, SeventhEdition 2 PrinciplesandLearningObjectives (continued) • Awell-designedandwell-manageddatabaseis anextremelyvaluabletoolinsupporting decisionmaking – Identifythecommonfunctionsperformedbyall databasemanagementsystems,andidentify populardatabasemanagementsystems FundamentalsofInformationSystems, SeventhEdition 3 PrinciplesandLearningObjectives (continued) • Thenumberandtypesofdatabase applicationswillcontinuetoevolveandyield realbusinessbenefits – Identifyandbrieflydiscussbusinessintelligence, datamining,andotherdatabaseapplications FundamentalsofInformationSystems, SeventhEdition 4 WhyLearnAboutDatabase SystemsandBusinessIntelligence? • Database: – Organizedcollectionofdata • Databasemanagementsystem(DBMS): – Groupofprogramsthatmanipulatethedatabase – Provideaninterfacebetweenthedatabaseandits usersandotherapplicationprograms • Databaseadministrator(DBA): – SkilledISprofessionalwhodirectsallactivities relatedtoanorganization’sdatabase FundamentalsofInformationSystems, SeventhEdition 5 DataManagement • Withoutdataandtheabilitytoprocessit: – Anorganizationcouldnotsuccessfullycomplete mostbusinessactivities • Dataconsistsofrawfacts • Totransformdataintousefulinformation: – Itmustfirstbeorganizedinameaningfulway FundamentalsofInformationSystems, SeventhEdition 6 TheHierarchyofData • Bit(abinarydigit): – Circuitthatiseitheronoroff • Byte: – Typicallymadeupofeightbits • Character: – Basicbuildingblockofinformation • Field: – Name,number,orcombinationofcharactersthat describesanaspectofabusinessobjectoractivity FundamentalsofInformationSystems, SeventhEdition 7 TheHierarchyofData(continued) • Record: – Collectionofrelateddatafields • File: – Collectionofrelatedrecords • Database: – Collectionofintegratedandrelatedfiles • Hierarchyofdata: – Bits,bytes,characters,fields,records,files,and databases FundamentalsofInformationSystems, SeventhEdition 8 TheHierarchyofData(continued) FundamentalsofInformationSystems, SeventhEdition 9 DataEntities,Attributes,andKeys • Entity: – Aperson,place,orthingforwhichdatais collected,stored,andmaintained • Attribute: – Characteristicofanentity • Dataitem: – Specificvalueofanattribute FundamentalsofInformationSystems, SeventhEdition 10 DataEntities,Attributes,andKeys (continued) FundamentalsofInformationSystems, SeventhEdition 11 DataEntities,Attributes,andKeys (continued) • Key: – Fieldorsetoffieldsinarecordthatisusedto identifytherecord • Primarykey: – Fieldorsetoffieldsthatuniquelyidentifiesthe record FundamentalsofInformationSystems, SeventhEdition 12 TheDatabaseApproach • Thedatabaseapproach: – Traditionalapproachtodatamanagement: • Eachdistinctoperationalsystemuseddatafiles dedicatedtothatsystem – Databaseapproachtodatamanagement: • Poolofrelateddataissharedbymultipleapplication programs FundamentalsofInformationSystems, SeventhEdition 13 TheDatabaseApproach (continued) FundamentalsofInformationSystems, SeventhEdition 14 DataCenters,DataModelingand DatabaseCharacteristics • Whenbuildingadatabase,anorganization mustconsider: – Content:Whatdatashouldbecollectedandat whatcost? – Access:Whatdatashouldbeprovidedtowhich usersandwhen? – Logicalstructure:Howshoulddatabearrangedso thatitmakessensetoagivenuser? – Physicalorganization:Whereshoulddatabe physicallylocated? FundamentalsofInformationSystems, SeventhEdition 15 DataCenter • Climate-controlledbuildingorsetofbuildings thathousedatabaseserversandthesystems thatdelivermission-criticalinformationand services • Traditionaldatacenters: – Consistofwarehousesfilledwithrowuponrowof serverracksandpowerfulcoolingsystems FundamentalsofInformationSystems, SeventhEdition 16 DataCenter(continued) • Manyorganizationsnowuselargeshipping containerspackedwithracksofserversand cooledtoeasilyconnectandsetup • Businessesandtechnologyvendorsworkingto developgreendatacentersthatrunmore efficientlyandrequirelessenergyfor processingandcooling • Backupandsecurityproceduresfordata centerscanbeaconcern FundamentalsofInformationSystems, SeventhEdition 17 DataCenterinaBox FundamentalsofInformationSystems, SeventhEdition 18 GreenDataCenters FundamentalsofInformationSystems, SeventhEdition 19 DataModeling • Datamodel: – Diagramofdataentitiesandtheirrelationships • Enterprisedatamodeling: – Startsbyinvestigatingthegeneraldataand informationneedsoftheorganizationatthe strategiclevel • Entity-relationship(ER)diagrams: – Datamodelsthatusebasicgraphicalsymbolsto showtheorganizationofandrelationships betweendata FundamentalsofInformationSystems, SeventhEdition 20 FundamentalsofInformationSystems, SeventhEdition 21 TheRelationalDatabaseModel • Relationalmodel: – Describesdatausingastandardtabularformat – Eachrowofatablerepresentsadataentity (record) – Columnsofthetablerepresentattributes(fields) – Thedomainistherangeofallowablevaluesfor dataattributes FundamentalsofInformationSystems, SeventhEdition 22 FundamentalsofInformationSystems, SeventhEdition 23 TheRelationalDatabaseModel (continued) • Manipulatingdata: – Selecting: • Eliminatesrowsaccordingtocertaincriteria – Projecting: • Eliminatescolumnsinatable – Joining: • Combinestwoormoretables – Linking: • Manipulatingtwoormoretablesthatshareatleastone commondataattribute FundamentalsofInformationSystems, SeventhEdition 24 TheRelationalDatabaseModel (continued) FundamentalsofInformationSystems, SeventhEdition 25 TheRelationalDatabaseModel (continued) FundamentalsofInformationSystems, SeventhEdition 26 TheRelationalDatabaseModel (continued) • Datacleanup – Processoflookingforandfixinginconsistencies toensurethatdataisaccurateandcomplete – Databasenormalizationisoftenusedtocleanup problemswithdata FundamentalsofInformationSystems, SeventhEdition 27 DatabaseManagementSystems • Creatingandimplementingtherightdatabase systemensuresthatthedatabasewillsupport bothbusinessactivitiesandgoals • Capabilitiesandtypesofdatabasesystems varyconsiderably FundamentalsofInformationSystems, SeventhEdition 28 OverviewofDatabaseTypes • Flatfile – Simpledatabaseprogramwhoserecordshaveno relationshiptooneanother • Singleuser – Onlyonepersoncanusethedatabaseatatime – Examples:Access,FileMakerPro,andInfoPath • Multipleusers – Allowdozensorhundredsofpeopletoaccessthesame databasesystematthesametime – Examples:Oracle,Microsoft,Sybase,andIBM FundamentalsofInformationSystems, SeventhEdition 29 ProvidingaUserView • Schema: – Usedtodescribetheentiredatabase – Canbepartofthedatabaseoraseparateschema file • DBMS: – Canreferenceaschematofindwheretoaccess therequesteddatainrelationtoanotherpieceof data FundamentalsofInformationSystems, SeventhEdition 30 CreatingandModifyingthe Database • Datadefinitionlanguage(DDL): – Collectionofinstructionsandcommandsusedto defineanddescribedataandrelationshipsina specificdatabase – Allowsdatabase’screatortodescribedataand relationshipsthataretobecontainedinthe schema • Datadictionary: – Detaileddescriptionofallthedatausedinthe database FundamentalsofInformationSystems, SeventhEdition 31 CreatingandModifyingtheDatabase (continued) FIGURE 3.12 Using a data definition language to define a schema FundamentalsofInformationSystems, SeventhEdition 32 CreatingandModifyingthe Database(continued) FundamentalsofInformationSystems, SeventhEdition 33 StoringandRetrievingData • Whenanapplicationprogramneedsdatait requeststhedatathroughtheDBMS • Concurrencycontroldealswiththesituation inwhichtwoormoreusersorapplications needtoaccessthesamerecordatthesame time FundamentalsofInformationSystems, SeventhEdition 34 FundamentalsofInformationSystems, SeventhEdition 35 ManipulatingDataandGenerating Reports • QuerybyExample(QBE)isavisualapproach todevelopingdatabasequeriesorrequests • Datamanipulationlanguage(DML): – Commandsthatmanipulatethedatainadatabase FundamentalsofInformationSystems, SeventhEdition 36 ManipulatingDataandGenerating Reports(continued) • Structuredquerylanguage(SQL): – AdoptedbytheAmericanNationalStandards Institute(ANSI)asthestandardquerylanguagefor relationaldatabases • Onceadatabasehasbeensetupandloaded withdata,itcanproducereports,documents, andotheroutputs FundamentalsofInformationSystems, SeventhEdition 37 DatabaseAdministration • DBA: – Workswithuserstodecidethecontentofthe database – Workswithprogrammersastheybuild applicationstoensurethattheirprogramscomply withdatabasemanagementsystemstandardsand conventions • Dataadministrator: – Responsiblefordefiningandimplementing consistentprinciplesforavarietyofdataissues FundamentalsofInformationSystems, SeventhEdition 38 PopularDatabaseManagement Systems • PopularDBMSsforendusers: – Microsoft’sAccessandFileMakerPro – NumberofopensourceDBMSincluding PostgreSQL,MySQL,andCouchDB FundamentalsofInformationSystems, SeventhEdition 39 PopularDatabaseManagement Systems(continued) • DatabaseasaService(DaaS): – Emergingdatabasesystem – Databaseadministrationisprovidedbytheservice provider – Thedatabaseisstoredonaserviceprovider’s serversandaccessedbytheclientoveranetwork FundamentalsofInformationSystems, SeventhEdition 40 DatabaseVirtualization • Usesvirtualserversandoperatingsystemsto allowtwoormoredatabasesystems, includingserversandDBMSstoactlikea single,unifieddatabasesystem • Allowsmoreefficientuseofcomputing resources,reducecosts,andprovidebetter accesstocriticalinformation FundamentalsofInformationSystems, SeventhEdition 41 Special-PurposeDatabaseSystems • NoSQLDBMSscanhandledatathatdoesnot fitintotablesrequiredbytraditionalrelational databases • Apple’siTunessoftwareusesspecial-purpose datatoallowuserstofindsongs FundamentalsofInformationSystems, SeventhEdition 42 UsingDatabaseswithOther Software • DBMSscanactasfront-endorback-end applications: – Front-endapplicationsinteractdirectlywith people – Back-endapplicationsinteractwithother programsorapplications FundamentalsofInformationSystems, SeventhEdition 43 DatabaseApplications • Today’sdatabaseapplicationsmanipulatethe contentofadatabasetoproduceuseful information • Commonmanipulations: – Searching,filtering,synthesizing,andassimilating datacontainedinadatabaseusinganumberof databaseapplications FundamentalsofInformationSystems, SeventhEdition 44 BigDataApplications • Dealswithlargeamountsofunstructureddata fromtheInternet,photos,video,audio,social networks,andsensors • Specialbigdatahardwareandsoftwarecanbe moreeffectivethantraditionalrelational DBMSs • Somepeoplehaveconcernsorganizationsare harvestinghugeamountsofpersonaldata FundamentalsofInformationSystems, SeventhEdition 45 LinkingtheCompanyDatabaseto theInternetandMobileDevices • Securityalwaysaconcernwhenlinkinga databasetotheInternet • SemanticWeb: – Developingaseamlessintegrationoftraditional databaseswiththeInternet – ProvidesmetadatawithallWebcontentusing technologycalledtheResourceDescription Framework(RDF) FundamentalsofInformationSystems, SeventhEdition 46 LinkingtheCompanyDatabaseto theInternetandMobileDevices • Increasinguseofsmartphonesandtablet computerstoconnecttocorporatedatabases FundamentalsofInformationSystems, SeventhEdition 47 DataWarehouses,DataMarts,and DataMining • Datawarehouse – Databasethatholdsbusinessinformationfrom manysourcesintheenterprise • Datamart – Subsetofadatawarehouse • Datamining – Information-analysistoolthatinvolvesthe automateddiscoveryofpatternsandrelationships inadatawarehouse FundamentalsofInformationSystems, SeventhEdition 48 FundamentalsofInformationSystems, SeventhEdition 49 DataWarehouses,DataMarts,and DataMining(continued) • Predictiveanalysis: – Formofdataminingthatcombineshistoricaldata withassumptionsaboutfutureconditionsto predictoutcomesofevents – Usedbyretailerstoupgradeoccasionalcustomers intofrequentpurchasers – Usedtopredictfuturesalesuptoayearinthe future FundamentalsofInformationSystems, SeventhEdition 50 BusinessIntelligence • Involvesgatheringenoughoftheright information: – Inatimelymannerandusableformandanalyzing ittohaveapositiveimpactonbusinessstrategy, tactics,oroperations • Competitiveintelligence: – Limitedtoinformationaboutcompetitorsandthe waysthatknowledgeaffectsstrategy,tactics,and operations FundamentalsofInformationSystems, SeventhEdition 51 BusinessIntelligence(continued) • Counterintelligence: – Stepsorganizationtakestoprotectinformation soughtby“hostile”intelligencegatherers • Onlineanalyticalprocessing(OLAP)allows userstoexploredatafromanumberof perspectives – Providestop-down,query-drivendataanalysis FundamentalsofInformationSystems, SeventhEdition 52 BusinessIntelligence(continued) • Datalossprevention(DLP): – Referstosystemsdesignedtolockdowndata withinanorganization – Powerfultoolforcounterintelligence – Anecessityincomplyingwithgovernment regulationsthatrequirecompaniestosafeguard privatecustomerdata FundamentalsofInformationSystems, SeventhEdition 53 DistributedDatabases • Distributeddatabase: – Databaseinwhichthedatamaybespreadacross severalsmallerdatabasesconnectedvia telecommunicationsdevices – Givescorporationsmoreflexibilityinhow databasesareorganizedandused • Replicateddatabase: – Holdsaduplicatesetoffrequentlyuseddata FundamentalsofInformationSystems, SeventhEdition 54 OnlineAnalyticalProcessing(OLAP) (continued) FundamentalsofInformationSystems, SeventhEdition 55 Object-RelationalDatabase ManagementSystems • Object-orienteddatabase: – Storesbothdataanditsprocessinginstructions – Usesanobject-orienteddatabasemanagement system(OODBMS)toprovideauserinterfaceand connectionstootherprograms • Object-relationaldatabasemanagement system(ORDBMS) – Providestheabilityforthirdpartiestoaddnew datatypesandoperationstothedatabase FundamentalsofInformationSystems, SeventhEdition 56 Visual,Audio,andOtherDatabase Systems • Visualdatabases: – Usedtostoreimagesofchargeslips,X-rays,vital records – Canbestoredinsomeobject-relationaldatabases orspecial-purposedatabasesystems • Spatialdatatechnology: – Usingdatabasetostoreandaccessdataaccording tothelocationsitdescribes FundamentalsofInformationSystems, SeventhEdition 57 Summary • Dataisoneofthemostvaluableresources thatafirmpossesses • Anentityisanobjectforwhichdatais collected,stored,andmaintained • Traditionalfile-orientedapplicationsareoften characterizedbyprogram-datadependence • Therelationalmodelplacesdataintwodimensionaltables FundamentalsofInformationSystems, SeventhEdition 58 Summary(continued) • ADBMSisagroupofprogramsusedasan interfacebetweenadatabaseanditsusers andotherapplicationprograms • DBMSbasicfunctionsinclude: – Providinguserviews – Creatingandmodifyingthedatabase – Storingandretrievingdata – Manipulatingdataandgeneratingreports FundamentalsofInformationSystems, SeventhEdition 59 Summary(continued) • Databasevirtualizationallowsorganizationsto usecomputingresourcesmoreefficiently, reducecosts,andprovidebetterdataaccess • Databaseadministratorplans,designs, operates,secures,monitors,andmaintains databases FundamentalsofInformationSystems, SeventhEdition 60 Summary(continued) • Datawarehousesarerelationaldatabase managementsystemsspecificallydesignedto supportmanagementdecisionmaking • Dataminingallowstheautomateddiscovery ofpatternsandrelationshipsinadata warehouse • Predictiveanalysiscombineshistoricaldata withassumptionsaboutfutureconditionsto forecastfutureevents FundamentalsofInformationSystems, SeventhEdition 61 Summary(continued) • Businessintelligenceistheprocessofgetting enoughoftherightinformationinatimely mannerandusableform • Competitiveintelligenceinvolvesinformation aboutcompetitorsandtheirstrategy,tactics, andoperations • Counterintelligenceisthestepsan organizationtakestoprotectinformationfrom hostileintelligencegathers FundamentalsofInformationSystems, SeventhEdition 62 Summary(continued) • Multidimensionaldatabasesandonline analyticalprocessingprogramsstoredataand allowuserstoexploredatafromanumberof differentperspectives • Anumberofspecial-purposedatabase systemsarebeingusedtostorelargeamounts ofunstructureddatasuchasvisualandaudio data FundamentalsofInformationSystems, SeventhEdition 63