You are on page 1of 3

CMT 221 Khairul Azim Bin Mahamad 127133

Tutorial 5 (Slot 3)

Question 1:
Advantage of DDBMS:
- Faster data access and processing
- Growth facilitation
- Improved communications

Disadvantages DDBMS:
- Complexity of management and control
- Lack of standards
- Increased training cost

Question 6:
Data replication is data copies stored at multiple sites served by a computer network.
The three replication strategies is
- Fully replicated database
- Partially replicated database
- Unreplicated database

Question 7
Specify the minimum types of operations the database must support (e.g. remote request, remote
transaction, distributed request or distributed transaction) to perform the following operations.
Site Operations

At
Site C

Type

SELECT * FROM CUSTOMER;

Remote request

SELECT * FROM INVOICE WHERE INV_TOT > 1000;

Remote request

SELECT * FROM PRODUCT WHERE PROD_QOH < 10;

Distributed request

BEGIN WORK;

Distributed transaction

UPDATE CUSTOMER SET CUS_BAL = CUS_BAL + 100


WHERE CUS_NUM = 10936;
INSERT INTO INVOICE (INV_NUM, CUS_NUM,
INV_DATE,
INV_TOTAL)
VALUES
(986391,
10936, 15-FEB-2010, 100);
INSERT INTO INV_LINE(INV_NUM, PROD_NUM,
LINE_PRICE) VALUES (986391, 1023, 100);
UPDATE PRODUCT SET PROD_QOH = PROD_QOH 1
WHERE PROD_NUM = 1023;

At
Site A

At
Site B

COMMIT WORK;
SELECT CUS_NUM, CUS_NAME, INV_TOTAL FROM Distributed request
CUSTOMER, INVOICE WHERE CUSTOMER.CUS_NUM =
INVOICE.CUS_NUM;
SELECT * FROM INVOICE WHERE INV_TOT > 1000; Remote request
SELECT * FROM PRODUCT WHERE PROD_QOH < 10;

Distributed request

SELECT * FROM CUSTOMER;

Remote request

SELECT CUS_NAME, INV_TOTAL FROM CUSTOMER, Distributed request


INVOICE
WHERE
INV_TOTAL
>
1000
AND
CUSTOMER.CUS_NUM = INVOICE.CUS_NUM;
SELECT * FROM PRODUCT WHERE PROD_QOH < 10;
Remote request

Question 10
Technical role of a database administrator (DBA):
Installation, configuration and upgrading of Oracle server software and related products
Evaluate Oracle features and Oracle related products

Establish and maintain sound backup and recovery policies and procedures
Take care of the Database design and implementation
Implement and maintain database security (create and maintain users and roles, assign privileges)
Perform database tuning and performance monitoring
Perform application tuning and performance monitoring
Setup and maintain documentation and standards
Plan growth and changes (capacity planning)
Work as part of a team and provide 24x7 support when required
Perform general technical trouble shooting and give consultation to development teams
Interface with Oracle Corporation for technical support.
Patch Management and Version Control

You might also like