Database Concepts Notes
Database Concepts Notes
What is a database?
A database is a collection of related data. (Are not always electronic) Also known as an
RDBMS;
Types of databases
2. Hierarchical Databases
a. The most common type of databases before the relational model. They are
organized in a tree-like structure. Think of it as the windows filing system. It
can be a problem when it comes to comparing a piece of data from branch to
branch.
3. Relational Databases
a. The most popular type of database. Data is organized into tables, which
define the relationships among themselves by repeating an attribute or column
from one table in another table; known as “keys”. Has minimized data
redundancy. Helped solved the problem with relating data from one table to
another.
When it becomes more than one idea or thing you would want to use a database.
This study source was downloaded by 100000881056895 from CourseHero.com on 09-21-2024 02:19:08 GMT -05:00
https://www.coursehero.com/file/9986982/Database-Concepts-Notes/
4 main operations are:
Creating an SOW
1. History- the review of the problem the database is meant to solve. May help with reviews
and consultants.
2. Scope- provides the range of the project. Should list the broad requirements.
4. Objectives- Used to clarify the purpose of the project. Lists why things are in the project.
5. Tasks and Timelines- preliminary timeline and tasks that should completed within that
timeline.
Statement of Scope
A statement of scope is a short statement of one or more paragraphs that says in clear
what the project will do.
Statement of Work
A statement of Work is a more complete statement about the objectives and timeline of
the project; often prepared by the people who want the work to be done. Good to be used as a
reference guide throughout the project.
This study source was downloaded by 100000881056895 from CourseHero.com on 09-21-2024 02:19:08 GMT -05:00
https://www.coursehero.com/file/9986982/Database-Concepts-Notes/
CHAPTER 2: GATHERING INFORMATION
Gathering information
o Business documents will have forms related to the data; will allow you to
know what kind of content your database will have.
o Figure out who your stakeholders are. You want to interview with them to
get their perspective on the data that will be held in the database.
Questionnaires
o In this step you get responses from more people than you would in the
interview stage.
Work shadowing
o In this step you can observe the “flow” of the current system.
Reviewing business documents can help you to know how and when information should
be used and in what sequence. It will also show what the database will need to contain. Two of
the most important documents are forms and reports.
Procedures: Documents that describe the approved steps for completing some
business process.
This study source was downloaded by 100000881056895 from CourseHero.com on 09-21-2024 02:19:08 GMT -05:00
https://www.coursehero.com/file/9986982/Database-Concepts-Notes/
Types of Databases
Transaction Database
Business Intelligence
Data Mining
XML
o Marked up Unicode text that follows a few strict rules- increasingly used as a file
format for documents and data to be transferred.
Interviews
Interviews are excellent ways to gather information on what should be in the database.
Open-Ended questions are questions that don’t have a fixed answer and involve getting a
participant’s opinion or thoughts on a topic.
Questionnaires
Work Shadowing
It is important to see how the data that you are going to use in your database is used in a
daily business process. Also used to see how frequently something is used and its relative
importance.
This study source was downloaded by 100000881056895 from CourseHero.com on 09-21-2024 02:19:08 GMT -05:00
https://www.coursehero.com/file/9986982/Database-Concepts-Notes/
CHAPTER 3: REQUIREMENTS AND BUSINESS RULES
Client/Server Relations
A Server is a program that makes a “Service” or resource available for a “Client” that
requests it. Some computers are called servers because they are optimized to run software. The
program that requests the information is called the client. (a web page or program or another
server)
Requirements
Something the database must do in order to meet the business needs of an organization.
Data Requirements. This refers to the attributes the database must contain in
order to store all the information an organization needs for its activities.
User Access refers to what objects and data in a database a user has permission to use.
Business Rules
A Business Rule is a rule that covers the way data are acquired, stored, or processed. A
trigger is a database code that is usually written in SQL, which executes when “triggered” by an
event such as an insert or a delete.
Entities are things that a database is concerned with such as students, inventory, orders,
or courses… Attributes are aspects of entities; they are things that describe an entity or belong to
it. Entities are a part of the logical design of a database; independent of any database
management system. Logical design is always the same no matter what software or OS is being
used.
This study source was downloaded by 100000881056895 from CourseHero.com on 09-21-2024 02:19:08 GMT -05:00
https://www.coursehero.com/file/9986982/Database-Concepts-Notes/
Candidate Keys
A Composite key is a key that consists of more than one attribute. A Natural Key is a key
made from one or more of an entity’s natural attributes. A Surrogate Key is an artificially created
key, often just auto-incremented numbers.
This study source was downloaded by 100000881056895 from CourseHero.com on 09-21-2024 02:19:08 GMT -05:00
https://www.coursehero.com/file/9986982/Database-Concepts-Notes/
Powered by TCPDF (www.tcpdf.org)