Midterm 1 Flashcards
(55 cards)
Data
data are facts that can be accessed
information
data accessed for a particular purpose
metadata
data that describes the structure of data
dbms vs database system
dbms is for crud and database maintenance
database system is a computer based system whose purpose is to enable an efficient interaction between users and information captured on the database
direct vs indirect interaction
directly interacting w database vs interacting with a front end application
database development steps
conceptual modeling
logical modeling
database implementation
developing front end applications
database deployment
database use
database administration and maintenance
step one db development
requirement collection definition and visualization (ER )
step two database modeling
creates model implementable by dbms software
ex
entity
attribute 1
attribute 2 (FK) connnects to entity 2
step two database modeling
creates model implementable by dbms software
ex
entity
attribute 1
attribute 2 (FK) connnects to entity 2
types of sql language
ddl
dml
tcl
session control statements
system control statement
embedded sql
ddl ?
data definition language
create alter drop revoke grant analyze audit comment
dml?
data manipulation language
call delete merge update insert select, explain pan, lock table,
tcl?
transaction control language
commit, rollback , savepoint, set transaction set constraint
session control statements
alter session, set role
system control statement
alter system
embedded sql statements
ddl dml and transaction control statements within a procedural language program
step 3 database design
database implementation
using a dbms to implement the database model as an actual database (sql)
what is er modeling
conceptual database modeling technique
enables structuring and organizing of requirements collection process and provides a way to graphically represent
er diagram
serves as blueprint for database
two basic constructs entity and relationship
what are entities
constructs the database keeps track of
represented by a rectangle
entity instances
occurrences of an entity
not depicted in er diagrams
ex: student entity sanji occurrence
attribute
characteristic of an entity
represents the details that will be recorded about an entity
within an entity attributes must have different names
unique attribute
attributes whose value is unique for each entity instance
each entity must have atleast one unique attribute
types of db models
conceptual
logical
physical