Database Planning Design and Administration Chapter9
Database Planning Design and Administration Chapter9
2 Prepared By Uthayakumar
1
2/12/2015
2
2/12/2015
3
2/12/2015
In general, the main aim of physical database design is to describe DBMS Selection
how we intend to physically implement the logical database design.
For the relational model, this involves: The selection of an appropriate DBMS to support the database
creating a set of relational tables and the constraints on these tables system.
from the information presented in the logical data model;
identifying the specific storage structures and access methods for
the data to achieve an optimum performance for the database Data modeling and
system; the ANSI-SPARC
designing security protection for the system. architecture.
Ideally, conceptual and logical database design for larger systems
should be separated from physical design for three main reasons:
it deals with a different subject matter – the what, not the how;
it is performed at a different time – the what must be understood before
the how can be determined;
it requires different skills, which are often found in different people.
19 Prepared By Uthayakumar 20 Prepared By Uthayakumar
4
2/12/2015
5
2/12/2015
Prototyping Implementation
Building a working model of a database system. The physical realization of the database and application designs.
A prototype is a working model that does not normally have all the On completion of the design stages (which may or may not have
required features or provide all the functionality of the final system. involved prototyping), now in a position to implement the database
The main purpose of developing a prototype database system is to and the application programs.
allow users to use the prototype to identify the features of the
The database implementation is achieved using the Data Definition
system that work well, or are inadequate, and if possible to suggest
improvements or even new features to the database system. Language (DDL) of the selected DBMS or a Graphical User
two prototyping strategies
Interface (GUI).
Requirements prototyping uses a prototype to determine the The application programs are implemented using the preferred
requirements of a proposed database system and once the requirements third or fourth generation language (3GL or 4GL).
are complete the prototype is discarded. possibly embedded within a host programming language, such as
Evolutionary prototyping is used for the same purposes, the
Visual Basic (VB), VB.net, Python, Delphi, C, C++, C#, Java,
important difference is that the prototype is not discarded but with
further development becomes the working database system. COBOL, Fortran, Ada, or Pascal.
Data Conversion and Loading Testing should also cover usability of the database system.
Learnability – How long does it take a new user to become
Transferring any existing data into the new database and converting productive with the system?
any existing applications to run on the new database.
Performance – How well does the system response match the user’s
Testing work practice?
The process of running the database system with the intent of Robustness – How tolerant is the system of user error?
finding errors.
Recoverability – How good is the system at recovering from user
Before going live, the newly developed database system should be
errors?
thoroughly tested.
This is achieved using carefully planned test strategies and realistic data
Adapatability – How closely is the system tied to a single model of
so that the entire testing process is methodically and rigorously carried work?
out.
6
2/12/2015
Support for standard methods Structured techniques make significant use of Data Administration and Database Administration
diagrams, which are difficult to draw and maintain manually.
CASE tools simplify this process, resulting in documentation that is The Data Administrator (DA) and Database Administrator (DBA)
correct and more current. are responsible for managing and controlling the activities
associated with the corporate data and the corporate database,
Consistency Since all the information in the data dictionary is
respectively.
interrelated, CASE tools can check its consistency.
Automation Some CASE tools can automatically transform parts of a design
specification into executable code.
This reduces the work required to produce the implemented system,
and may eliminate errors that arise during the coding process.
Data Administration
The management of the data resource, which includes database
planning, development, and maintenance of standards, policies and
procedures, and conceptual and logical database design.
The Data Administrator (DA) is responsible for the corporate data
resource, which includes non-computerized data, and in practice is
often concerned with managing the shared data of users or
application areas of an organization.
7
2/12/2015
Database Administration
The management of the physical realization of a database system,
which includes physical database design and implementation, setting
security and integrity controls, monitoring system performance,
and reorganizing the database, as necessary.
The database administration staff are more technically oriented than
the data administration staff, requiring knowledge of specific
DBMSs and the operating system environment.
45 Prepared By Uthayakumar