Chapter 5 Database Systems
Chapter 5 Database Systems
Intelligence
• Database:
– Provide an interface between the database and its users and other application programs
Data Management
• Entity: – A person, place, or thing for which data is collected, stored, and maintained
• Key: – Field or set of fields in a record that is used to identify the record
• Primary key: – Field or set of fields that uniquely identifies the record
• Each distinct operational system used data files dedicated to that system
– Logical structure: How should data be arranged so that it makes sense to a given user?
Data Modeling
• Entity-relationship (ER) diagrams: – Data models that use basic graphical symbols to
show the organization of and relationships between data
• Relational model:
• Manipulating data:
– Linking: • Manipulating two or more tables that share at least one common data
attribute
• Data cleanup
– Process of looking for and fixing inconsistencies to ensure that data is accurate and
complete
• Flat file
• Multiple users
– Allow dozens or hundreds of people to access the same database system at the same time
• Schema:
• DBMS: – Can reference a schema to find where to access the requested data in relation to
another piece of data
– Collection of instructions and commands used to define and describe data and
relationships in a specific database
– Allows database’s creator to describe data and relationships that are to be contained in
the schema
• Data dictionary: – Detailed description of all the data used in the database
• Data manipulation language (DML): – Commands that manipulate the data in a database
Database Administration
– Works with programmers as they build applications to ensure that their programs
comply with database management system standards and conventions
– The database is stored on a service provider’s servers and accessed by the client over a
network
Database Virtualization
• Uses virtual servers and operating systems to allow two or more database systems, including
servers and DBMSs to act like a single, unified database system
• Allows more efficient use of computing resources, reduce costs, and provide better access to
critical information
Database Applications
• Deals with large amounts of unstructured data from the Internet, photos, video, audio, social
networks, and sensors
• Special big data hardware and software can be more effective than traditional relational
DBMSs
• Some people have concerns organizations are harvesting huge amounts of personal data
• Data warehouse – Database that holds business information from many sources in the
enterprise
• Predictive analysis:
– Form of data mining that combines historical data with assumptions about future
conditions to predict outcomes of events
Distributed Databases
• Distributed database:
– Database in which the data may be spread across several smaller databases connected
via telecommunications devices
– Gives corporations more flexibility in how databases are organized and used
• Object-oriented database:
– Provides the ability for third parties to add new data types and operations to the
database
• Visual databases: – Used to store images of charge slips, X-rays, vital records – Can be
stored in some object-relational databases or special-purpose database systems
• Spatial data technology: – Using database to store and access data according to the
locations it describes