Data and Database Administration
Data and Database Administration
Data and Database Administration
LEARNING OUTCOMES
Data 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 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 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
2.
3. 4.
5.
6.
All users must have passwords Password must be changed every 6 months Password must have minimum of 7 characters Password must have maximum of 12 characters Password must be combination of alphabet and numbers I/C number, names, birth date cannot be used as passwords.
To create password:
i.
ii.
iii.
iv.
v.
End user send request to DBA DBA approves and forward it to computer operator Computer operator creates account, assign temporary password and end it to the user. A copy of the account information is sent to the DBA User changes the temporary password.
Data and Database Administration
Blend data and database administration into one role Fast-track developmentmonitoring 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
Procedural DBAsmanaging quality of triggers and stored procedures eDBAmanaging Internet-enabled database applications PDA DBAdata synchronization and personal database management Data warehouse administration
Support DSS applications Manage data warehouse growth Establish service level agreements regarding data warehouses and data marts
DEFINITION:
Free DBMS source code software that provides the core functionality of an SQL-compliant 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
of complete documentation Ambiguous licensing concerns Not as feature-rich as proprietary DBMSs Vendors may not have certification programs
Data and Database Administration
Training
Licensing
Data and Database Administration
17
END OF CHAPTER
INFORMATION IN THIS SLIDES WERE TAKEN FROM MODERN DATABASE MANAGEMENT SYSTEM, NINTH EDITION BY JEFFREY A.HOFFER, MARY B.PRESCOTT & HEIKKI TOPI.
Routines
Program
modules that execute on demand Functionsroutines that return values and take input parameters Proceduresroutines that do not return values and can take input or output parameters
Triggers
Routines
STORED PROCEDURE
CREATE PROCEDURE sp_GetInventory @location varchar(10) AS SELECT Product, Quantity FROM Inventory WHERE Warehouse = @location EXECUTE sp_GetInventory Kajang'
Data and Database Administration
21
TRIGGERS
CREATE TRIGGER STANDARD_PRICE_UPDATE AFTER UPDATE OF STANDARD_PRICE ON PRODUCT_T FOR EACH ROW INSERT INTO PRICE_UPDATES_T VALUES (PRODUCT_DESCRIPTION, DATE, STANDARD_PRICE);