data and database administration
DESCRIPTION
Data and database administration. Learning outcomes. At the end of this chapter, you should be able to: Define terms related to data & dbase administration List functions and roles of data/database administration Describe role of data dictionaries and information repositories. - PowerPoint PPT PresentationTRANSCRIPT
Data and Database Administration
CISB514 Advanced Database
At the end of this chapter, you should be able to: Define terms related to data & dbase
administration List functions and roles of data/database
administration Describe role of data dictionaries and
information repositories
Data and Database Administration
CISB514 Advanced Database
Data AdministrationData Administration: A high-level function that is responsible for the overall management of data resources in an organization, including maintaining corporate-wide definitions and standards
Database AdministrationDatabase Administration: A technical function that is responsible for physical database design and for dealing with technical issues such as security enforcement, database performance, and backup and recovery
Data and Database Administration
CISB514 Advanced Database
Data policies, procedures, standards Data Policies: statements that make explicit the goals of DA Data procedure: written outlines of actions to be taken to
perform certain activity Data Standard: explicit conventions and behaviors that are to be
followed and that can be used to help evaluate dbase quality
Planning Data conflict (ownership) resolution Managing the information repository Internal marketing of DA concepts
Data and Database Administration
CISB514 Advanced Database
1. All users must have passwords2. Password must be changed every 6 months3. Password must have minimum of 7 characters4. Password must have maximum of 12
characters5. Password must be combination of alphabet
and numbers6. I/C number, names, birth date cannot be used
as passwords.
Data and Database Administration
CISB514 Advanced Database
1. To create password:i. End user send request to DBAii. DBA approves and forward it to computer
operatoriii. Computer operator creates account, assign
temporary password and end it to the user. iv. A copy of the account information is sent to
the DBAv. User changes the temporary password.
Data and Database Administration
CISB514 Advanced Database
Selection of DBMS and software tools Installing/upgrading DBMS Tuning database performance Improving query processing
performance Managing data security, privacy, and
integrity Data backup and recovery
Data and Database Administration
CISB514 Advanced Database
DATABASE PLANNING
Develop corporate database strategy/policies
Develop enterprise model (information architecture)
Develop cost/benefit models
Design database environment/select technologies
Develop and market data administration plan
DATABASE ANALYSIS
Define and model data requirements (conceptual)
Define and model business rules
Define operational requirements
Resolve requirements conflicts
Maintain corporate data dictionary/repository
Data and Database Administration
CISB514 Advanced Database
DATABASE DESIGN
Perform logical database design
Design external model (sub schemas)
Design internal (physical) models
Design integrity controls
DATABASE IMPLEMENTATION
Specify database access policies
Establish security controls
Install DBMS
Supervise database loading
Specify test procedures
Develop application programming standards
Establish procedures for backup and recovery
Conduct user training
Data and Database Administration
CISB514 Advanced Database
OPERATIONS AND MAINTENANCE
Backup and recover databases
Upgrade DBMS
Monitor database performance
Tune and reorganize databases
Resolve access conflict
Tune and rewrite queries
Enforce standards and procedures
Support users
GROWTH AND CHANGE
Implement change-control procedure
Plan growth and change
Evaluate new technology
Data and Database Administration
CISB514 Advanced Database
Blend data and database administration into one role
Fast-track development–monitoring development process: Database planning: improve selection of technology Database analysis: work on physical design in
parallel with development of the logical & physical models
Database design: prioritize application by volume, importance & complexity
Database implementation Database maintenance
Data and Database Administration
CISB514 Advanced Database
New DBA Roles Procedural DBAs–managing quality of
triggers and stored procedures eDBA–managing Internet-enabled database
applications PDA DBA–data synchronization and personal
database management Data warehouse administration
Data and Database Administration
CISB514 Advanced Database
New role, coming with the growth in data warehouses
Similar to DA/DBA roles Emphasis on integration and
coordination of metadata/data across many data sources
Specific roles: Support DSS applications Manage data warehouse growth Establish service level agreements
regarding data warehouses and data marts
Data and Database Administration
CISB514 Advanced Database
DEFINITION: Free DBMS source code software that Free DBMS source code software that
provides the core functionality of an SQL-provides the core functionality of an SQL-compliant DBMScompliant DBMS
An alternative to proprietary packages such as Oracle, Microsoft SQL Server, or Microsoft Access mySQL is an example of an open-source
DBMS Advantages:
Less expensive than proprietary packages Source code available, for modification Have different version (simple to complex,
free to some cost(additional features) No additional cost for copies or licensing
Data and Database Administration
CISB514 Advanced Database
Disadvantages: Absence of complete documentation
Ambiguous licensing concerns Not as feature-rich as proprietary DBMSs
Vendors may not have certification programs
Data and Database Administration
CISB514 Advanced Database
Consider these factors when choosing an open source DBMS: Features Support Ease-of-use Stability Speed Training Licensing
Data and Database Administration
CISB514 Advanced Database
17
END OF CHAPTER
Data and Database Administration
CISB514 Advanced Database
Routines Program modules that execute on demand Functions–routines that return values and
take input parameters Procedures–routines that do not return
values and can take input or output parameters
Triggers Routines that execute in response to a
database event (INSERT, UPDATE, or DELETE)
Data and Database Administration
CISB514 Advanced Database
Data and Database Administration
CISB514 Advanced Database
CREATE PROCEDURE sp_GetInventory@location varchar(10)ASSELECT Product, QuantityFROM InventoryWHERE Warehouse = @location
EXECUTE sp_GetInventory ‘Kajang'
21
Data and Database Administration
CISB514 Advanced Database
CREATE TRIGGER STANDARD_PRICE_UPDATEAFTER UPDATE OF STANDARD_PRICE ON
PRODUCT_TFOR EACH ROWINSERT INTO PRICE_UPDATES_T VALUES(PRODUCT_DESCRIPTION, DATE,
STANDARD_PRICE);