DBMS Session 2 Notes
DBMS Session 2 Notes
Session 2 Agenda
Note: If there are any class roster changes, I will make an announcement in Pace Classes
Chapter 1 Team Assignment Questions
Chapter 2: Database Planning and Database Architecture
Data is the collection of raw facts / flow of events / transactions that are
recorded into the database.
Data Sublanguage
The language that is used for defining and processing the Database
Management System (DBMS) is called a data sublanguage and
consists of two parts:
The database should be designed in a such a way that it can evolve / change
to meet the future information needs of the organization. This can occur
when the model:
The staged database design approach is a top-down method that begins with
general statements of needs and progresses to a more detailed consideration of
problems.
1) Analyze user environment – understand current user environment – needs,
requirements, inputs, outputs, reports.
2) Develop conceptual data model – using description from user
environment, designer develops a conceptual model to determine the entities,
attributes, relationships.
3) Choose a DBMS – designer uses the specifications and knowledge to
evaluate database management systems.
4) Develop logical model – Database designer maps the conceptual model to the
database model – defines the structure of the data elements and relationships
between them – defines how the system should be implemented.
Chapter 2: Database Planning and Database Architecture
Data Dictionary
Development Phase
Creating and loading the database
Developing user views
Writing and maintaining documentation
Developing and enforcing data standards
Developing and enforcing application program standards
Developing operating procedures
Conducting user training
Student and Class entity sets are connected by a relationship set - Enroll
- which tells us which students are enrolled in which classes.
Chapter 2: Database Planning and Database Architecture
SQL was extended to create and manipulate the more complex data
types and facilities that this model supports.
Chapter 2: Database Planning and Database Architecture
Semi-structured
Collection of nodes, each with data, with different schemas
Node contains information about the structure
Key-value pairs
Data can be stored in a schema-less fashion using an associative array
of <key,value> pairs. The key is a unique identifier and value is the data
item associated with key.
Big table systems
Data model compromised of a map indexed by a row key, column key,
and timestamp.
Graph-oriented systems
Data is stored in a graph structure consisting of nodes, properties, and
edges. Nodes contain data and edges represent the relationships
between them.
Chapter 2 Questions?
CS 623 – Database Management Systems