Conceptual, Logical and Phtsical Database Design, Chapter 11
Quiz
In most modern relational DBMSs, such as IBM DB2, Microsoft SQL Server, and Oracle, a new database implementation requires the creation of special storage-related constructs to house the end-user tables. These constructs include ____.
segments
constraints
indexes
table spaces
____ design is the process of selecting the data storage and data access characteristics of the database.
Time
Network
Logical
Physical
In the ________________ stage, data modelling is used to create an abstract database structure that represents real-world objects in the most realistic way possible.
physical design
ER verification
conceptual design
logical design
Steps in developing the conceptual model include:
identifying the main business rules
identifying the main entities
identifying all relationships
all of the above
The term ____ describes the strength of the relationships found among the module's entities.
adhesion
cohesivity
coupling
modularity
____ coupling describes the extent to which modules are independent of one another.
Verification
Process
Module
Cohesive
The aim of ________________ is to map the conceptual model into a form which can then be implemented on a relational DBMS.
physical design
ER verification
conceptual design
logical design
What is the first step in converting the ER model from the conceptual design phase into a set of relations?
Create Relations for Strong Entities
Map multivalued attributes
Create Relations for Weak Entities
Map binary relations
___________________ requires the definition of specific storage or access methods that will be used by the database.
logical design
conceptual design
Translation of logical relations into tables
physical design
Selecting the most suitable _________________ is very important to ensure that the data is stored efficiently and data can be retrieved as quickly as possible.
DBMS
file organization
indexes
logical relations
A ____________ is often used on multidimensional data held in data warehouses.
bitmap index
B-tree
hashing algorithm
primary index
Clustering is not a good idea when_______________________.
database tables are frequently joined together
data is regular inserted or updated in a table
there is no cluster key
applications require a full database table to be scanned.
____________________ are usually placed on additional fields which are used regularly in user queries in order to increase the speed of data retrieval.
bitmap indexes
secondary indexes
unique indexes
primary indexes
The SQL command _________is used to withdraw privileges on specific user accounts.
REMOVE
REVOKE
ROLE
GRANT
Files which follow the_____________ are often referred to as random or direct files.
heaped organization
sequential organization
indexed organization
hashed organization
__________________is usually the first stage of physical database design.
Analyzing user queries and the size of the database
Determine a suitable file organization
Translate each relation identifi ed in the logical data model into a table
Defining indexes
In logical database design, when mapping binary 1:* relations.
create the relations for each of the two entities that are participating in the relationship and create the foreign key on the ‘many’ side by including the primary key attribute from the ‘one’ side.
check to see if there is mandatory participation on one side of the relationship, then the entity which has the optional participation becomes the parent entity and the entity that has the mandatory relationship becomes the dependent entity. The relation corresponding to the parent entity should contain the foreign key of the dependent entity
create the relations for each of the two entities that are participating in the relationship. Then create a third relation to represent the actual relationship. The third relation will contain the foreign keys of the two original entries that participate in the original relationship.
check to see if both entities are in a mandatory participation in a relationship and they do not participate in other relationships, it is then most likely that the two entities should be part of the same entity.
In the following relation, what is the primary key ? RENT_LINE(RENT_NUM*, RENT_LINE_NUM*, RENT_LINE_CHARGE, DATE, COPY_CODE*)
RENT_NUM
RENT_LINE_NUM
RENT_NUM and RENT_LINE_NUM
RENT_NUM and RENT_LINE_NUM and COPY_CODE
A(n) _____________________ is a brief and precise narrative description of a policy, procedure or principle within a specific organization’s environment.