32
Database Administration: The Complete Guide to Practices and Procedures Chapter 6 Design Reviews

Database Administration: The Complete Guide to Practices and Procedures

  • Upload
    telma

  • View
    66

  • Download
    4

Embed Size (px)

DESCRIPTION

Database Administration: The Complete Guide to Practices and Procedures. Chapter 6 Design Reviews. Agenda. What is a Design Review? Rules of Engagement Participants Skills Requirements Types of Design Reviews Design Review Output Additional Considerations Questions. - PowerPoint PPT Presentation

Citation preview

Page 1: Database Administration: The Complete Guide to Practices and Procedures

Database Administration:The Complete Guide to Practices and Procedures

Chapter 6Design Reviews

Page 2: Database Administration: The Complete Guide to Practices and Procedures

Agenda

• What is a Design Review?– Rules of Engagement– Participants– Skills Requirements

• Types of Design Reviews• Design Review Output• Additional Considerations• Questions

Page 3: Database Administration: The Complete Guide to Practices and Procedures

What is a Design Review?During the design review that all aspects of the database and application code are reviewed for efficiency, effectiveness, and accuracy:• The design review checks the validity of design decisions and allows for correcting

errors before applications and databases are promoted to production status.

• Design reviews can be used to ensure that developers have adhered to corporate standards for internal documentation, naming schemes, maintainability, etc.

• Multiple design reviews should be conducted over the course of an application’s life.

• For database applications, the DBA must participate in every design review, at every stage.

• It is imperative that the application be reviewed before, during, and after implementation.

• Design reviews address many aspects of the development process and its resulting application

Page 4: Database Administration: The Complete Guide to Practices and Procedures

Areas Addressed by Design Reviews

Some of the areas that can be addressed by a design review include:• A validation of the intent and purpose of the application • An assessment of the logical data model• An assessment of the physical data model• A review and analysis of the physical DBMS parameters• A prediction of SQL performance• A judgment on the practicality of the programming language

techniques deployed• An analysis of overall performance after

production implementation

Page 5: Database Administration: The Complete Guide to Practices and Procedures

Rules of Engagement• A design review is conducted by a group of people…each having different

backgrounds, skills, expectations, and opinions. • When such a group is convened to discuss potential problems and errors,

confrontation is unavoidable.– Need to discuss and reach consensus on issues without becoming combative. – Everyone needs to understand that the only goal is to promote the best

performing, most usable application possible. • One of the biggest threats to the success of a design review is negative

criticism being perceived as a personal attack. – The atmosphere should be made non-threatening to foster acceptance of

unbiased critiques. – All participants must be able to back up their assertions and suggestions with

facts, manual references, white papers, articles, blog citations, and experience. • As much as possible, everyone should check his or her

emotions at the door.

Page 6: Database Administration: The Complete Guide to Practices and Procedures

Design Review Participants

• Create formal roles for the design review and assign the proper individuals to fulfill those roles– Leader– Scribe– Mediator– Other participants

• All participants must possess the appropriate skills to actively engage in the design review process

Page 7: Database Administration: The Complete Guide to Practices and Procedures

The Leader

• Acts as a master of ceremonies to keep the review process moving along

• Creates and follows an agenda to ensure that all aspects of the current design review are conducted satisfactorily

• Solicits input from all participants• Ensures that all participants maintain proper decorum • Works with the participants before the meeting to

ensure that all required documentation will be available• Addresses other tasks as necessary to ensure a

successful design review

Page 8: Database Administration: The Complete Guide to Practices and Procedures

The Scribe

• The scribe is not an active participant in the design review

• Captures all points of discussion during the design review

• Failure to record the review can result in loss of vital information from the meeting.

Page 9: Database Administration: The Complete Guide to Practices and Procedures

The Mediator• Optional, but useful depending on team dynamics.• The primary role of the mediator is to negotiate settlements

when disagreements occur, and given the nature of a design review, disagreements are almost guaranteed.

• If a disagreement becomes vocal and volatile, the mediator will hear each side of the disagreement and arrive at an equitable decision.

• A good leader may be able to resolve most disagreements, but using a mediator instead can boost the authority of the leader because others will not resent decisions deferred to the mediator.

Page 10: Database Administration: The Complete Guide to Practices and Procedures

Other Participants• Application development personnel assigned to this development effort• Representatives from other applications that are affected by the new application or

program • Data administration representative • Database administration representative• Representative end users• End user management • IT management for the new application and possibly other impacted applications• Online support representatives for transaction processing and message queueing

systems • Web support personnel for Internet-enabled applications• Operational support representatives • IT security representative• IT audit representative (for regulated and sensitive applications and data)• Technical support and systems programming representatives

Page 11: Database Administration: The Complete Guide to Practices and Procedures

Knowledge and Skills Required• Strong technical skills: technicians, programmers, and DBAs• Strong communication skills: all participants• Good interpersonal skills: all participants• DBMS fundamentals: all participants to the degree required by

their positions• Background in data modeling and database design: in-depth

knowledge for the DA and DBA; good knowledge for programmers and other technicians; some level of knowledge for all other participants

• Strong knowledge of SQL: technicians, programmers, and DBAs

Page 12: Database Administration: The Complete Guide to Practices and Procedures

Types of Design Reviews• The Conceptual Design Review• The Logical Design Review• The Physical Design Review• The Organizational Design Review• SQL and Application Code Review• The Pre-Implementation Design Review• The Post-Implementation Design Review

http://datatechnologytoday.wordpress.com/2011/03/28/the-importance-of-database-design-reviews/

Page 13: Database Administration: The Complete Guide to Practices and Procedures

RequirementsGathering

Analysis

Design

Development

Testing

Operational

Maintenance

Initiation

End of Life

Pre-Implementation Review

Post-ImplementationReview

Conceptual Design Review

Logical Design Review

Physical Design Review

Organizational Design Review

SQL and Application Code Review

Page 14: Database Administration: The Complete Guide to Practices and Procedures

Conceptual Design Review• To validate the concept of the database and application. • Should start with a presentation of an overall statement of

purpose and a general overview of the desired functionality to be provided by the application.

• Should be conducted as early as possible in the application development lifecycle to determine the overall feasibility of the project.

• The findings of the conceptual review must verify the purpose of the application and the clarity of the vision for building the databases and supporting application programs. – In order to conduct a conceptual design review a conceptual data

model must exist, as well as a high-level design for the application.

Page 15: Database Administration: The Complete Guide to Practices and Procedures

Conceptual Design Review Participants

• Application development• Data administration• Database administration • End users• Management representatives from the end

user team and IT

In each case the Leader, Scribe and Mediator should also be participants but they will not be listed each time…

Page 16: Database Administration: The Complete Guide to Practices and Procedures

Logical Design Review• Should be conducted when the first cut of the logical data model has been

completed. • Perform a thorough review of all data elements, descriptions, and

relationships. • Questions to be asked:

– Has the logical data model been thoroughly examined to ensure that all of the required business functionality can be achieved?

– Is the model in (at least) third normal form?– Have all of the data elements (entities and attributes) required for this

application been identified?– Have the data elements that have been identified been documented accurately?– Have appropriate data types and accurate lengths been assigned for each

attribute?– Have all of the relationships been defined properly?

Page 17: Database Administration: The Complete Guide to Practices and Procedures

Logical Design ReviewParticipants

• Application development• Data administration• Database administration • End users• Management representatives from the end

user team and IT

Page 18: Database Administration: The Complete Guide to Practices and Procedures

Physical Design Review• Ensures that all of the proper database parameter settings and other

physical design choices have been made.• The overall operating environment for the application should be

described and verified.• The physical design review may be conducted before all of the SQL that

will be used for the application is available. – Nevertheless, general descriptions of all the processes are required to verify

the proposed physical database design.– Using the process descriptions, the database definitions can be fine-tuned.

• The physical design review can be broken into discrete processes that can be repeated as changes are made to the database and the application. – Portions of the physical database design may need to be reviewed again as

application development progresses.

Page 19: Database Administration: The Complete Guide to Practices and Procedures

Physical Design ReviewParticipants

• Application development– Including application representatives from any

other applications impacted by the new application

• Data administration• Database administration • Online support• Technical support

Page 20: Database Administration: The Complete Guide to Practices and Procedures

Organizational Design Review• Examines the enterprise-wide concerns of the organization with respect to the new

application• Common questions asked include:

– How does this system interact with other systems in the organization?– Has the logical data model for this application been integrated with the enterprise

data model (if one exists)?– To what extent can this application share the data of other applications? – To what extent can other applications share this application’s data?– How will this application integrate with the current production environment in terms

of the DBMS resources required? – Will the implementation of this application cause the batch window to be exceeded?– Are the requirements of the application such that online response time or data

availability are negatively impacted for other users?– Will the implementation of this application cause the data processing needs of the

shop to expand? For example, will more memory, CPU power, or storage be required? – Can the organization satisfactorily implement the appropriate level of audit and

security required for the application based on industry and government regulations?

Page 21: Database Administration: The Complete Guide to Practices and Procedures

Organizational Design ReviewParticipants

• Application development personnel assigned to this development effort• Representatives from other applications that are affected by the new application or

program • Data administration representative • Database administration representative• Representative end users• End user management • IT management for the new application and possibly other impacted applications• Online support representatives for transaction processing and message queueing

systems • Web support personnel for Internet-enabled applications• Operational support representatives • IT security representative• IT audit representative (for regulated and sensitive applications and data)• Technical support and systems programming representatives

Page 22: Database Administration: The Complete Guide to Practices and Procedures

SQL and Application Code Review

• A rigorous review of every SQL statement in the application.

SQL… SQL… SQL… SQL… SQL…

Page 23: Database Administration: The Complete Guide to Practices and Procedures

SQL and Application Code ReviewParticipants

• Application development• Database administration • Optional participants…– Application development management– Technically-savvy end users

Page 24: Database Administration: The Complete Guide to Practices and Procedures

Pre-Implementation Design Review

• Should be conducted immediately prior to the turning over of the application to production status. – An overall appraisal of the system components prior to

implementation.• Loose ends existing from previous design reviews

should be reviewed to verify that necessary modifications were made and tested.

• A quick, final review of each application component should be performed to make sure that new problems were not introduced as changes were made.

Page 25: Database Administration: The Complete Guide to Practices and Procedures

Pre-Implementation Design ReviewParticipants

• Application development• Application development management• Online support• Technical support• Optional participants…– Technically-savvy end users

Page 26: Database Administration: The Complete Guide to Practices and Procedures

Post-Implementation Design Review

• Formal review of the application after it has run in production for awhile.– To determine if the application is meeting its

objectives, both in performance and in functionality.

– If any objective is not being met, a plan for addressing the deficiency must be proposed and acted on.

Page 27: Database Administration: The Complete Guide to Practices and Procedures

Post-Implementation Design ReviewParticipants

• Database administration representative• Application development for this application and any affected applications• IT management for the new application and possibly other impacted

applications• Representative end users• End user management • And on a case-by-case basis, any or all of the following:

– Data administration representative – Online support representatives for transaction processing and message queueing

systems – Web support personnel for Internet-enabled applications– Operational support representatives – IT security representative– IT audit representative (for regulated and sensitive applications and data)– Technical support and systems programming representatives

Page 28: Database Administration: The Complete Guide to Practices and Procedures

Design Review Output

• Output from design reviews should be clear and concise so that any required modifications can be made quickly and correctly.

• Each design review should result in a separate list of action items. – This list should contain every modification or change

discussed during the design review. – Each action item should be given a deadline and be

assigned to a single person, giving him or her the responsibility to make the change, test its impact, and report the progress back to the entire group.

Page 29: Database Administration: The Complete Guide to Practices and Procedures

Additional Considerations

• Dealing with Remote Staff• Mentorship and Knowledge Transfer

Page 30: Database Administration: The Complete Guide to Practices and Procedures

Dealing with Remote Staff• Many organizations have distributed work forces where DBAs

and development staff are not located at the same site. – In such cases the design review process is even more critical

because it forces communication between resources that are not able to interact on a daily basis.

• A distributed staff also complicates the design review. – Flying team members to a single location for design reviews is

possible, but not cost-effective.– Conference calls, video conferences and web-enabled meetings

(such as Live Meeting or Webex) can be setup.– Be sure to provide review materials well in advance of the meeting

so that each participant can review the content beforehand.

Page 31: Database Administration: The Complete Guide to Practices and Procedures

Mentorship and Knowledge Transfer

• Design reviews meetings can be a great opportunity for mentoring junior staff members.– If junior staff members are invited be careful not to

let them de-rail the design reviews– The purpose of the design review is to ensure the

viability of the new application and database for the organization. • But it is usually possible to do a little mentorship at the

same time.

Page 32: Database Administration: The Complete Guide to Practices and Procedures

Questions