Create and maintain a database server

Assignment Help Database Management System
Reference no: EM132598712 , Length: word count:1500

COMP 30021 Database Administration - Middle East College

Learning Outcome 1: Create and maintain a database server
Learning Outcome 2: Implementing Database security policies

Assignment Tasks

Task 1: Assume that you are working as a database administrator. After the system requirement analysis, the following ER diagram is designed for a typical Property Management System.

Based on the ER-Diagram, assuming that you are a Database Administrator (DBA), perform the following:
You are required to provide SQL commands with appropriate level of discussion on tasks performed (follow OFA guidelines)
i. Create tablespace with appropriate segment management.
ii. Create user and link the user to the above tablespace.
iii. Grant appropriate privileges to connect and create the required objects.
iv. Create at least 5 tables for the above scenario (Tables should include appropriate constraints. Please note that while implementing a many to many relationship of E-R diagram, you need an additional table)
v. Create one complex view based on your analysis
vi. Create any two synonyms.
vii. Create index on any one table.
viii. Create one sequence of your choice that will be helpful for the Property Management System's database.
ix. Insert at least 5 rows to the table for which sequence is created.
x. Insert at least 5 rows with appropriate values on any two tables having primary key foreign key relationship.

2) Task 2

i. Assume that you are working as a database administrator. Create four users (Names of the users should be Ahmed_YourID, Akbar_YourID, Anthony_YourID and Rahma_YourID) in a typical database system and assign them the privilege of connect to the database. Out of the four users, one user (say for example, Ahmed_YourID) should have the DBA privileges who will be able to perform the DBA role and the corresponding responsibilities.

ii. Create the table by name EMP_YourID (for example. EMP_19F2019 (Emp_Id, Emp_Name, Emp_DOB, Emp_Phone, Emp_Address). Analyze what could be the drawbacks If Emp_name is defined as a Primary Key.
iii. Create the following three roles with the mentioned privileges.
• Manager: can view, edit and delete the records on the EMP_YourID table that is created by the user Akbar_YourID.
• Owner: can only view the records on the EMP_YourID table created by the user Akbar_YourID.
• Employee: can only add the records on the EMP_YourID table created by the User Akbar_YourID.
iv. Assign the roles created above to the users as indicated below:
• Assign the role Manager to the Rahma_YourID
• Assign the role Owner to the Anthony_YourID
• Assign the role Employee to the Ahmed_YourID
v. Write appropriate SQL commands to demonstrate select, insert, update and delete commands with each user login to show the understanding of roles and privileges.

Your solution must include the necessary SQL commands and brief explanation for each of the steps.

Attachment:- Database Administration.rar

Reference no: EM132598712

Questions Cloud

Genes and the garden pea : Describe the experimental protocols of Gregor Mendel, the results of his experiments and what these results implied about the nature of genes.
The nom-nom cake company : What are the advantages and disadvantages of changing the company organization from a sole proprietorship to an LLC?
What is the appropriate total budget for the department : The department actually completed 10,000 hours of production. What is the appropriate total budget for the department
What would be the most appropriate course of action : What would be the most appropriate course of action? You are performing a year-over-year comparison for your audit client, Atkins Ltd.
Create and maintain a database server : Create and maintain a database server and Implementing Database security policies - Create tablespace with appropriate segment management
Describe the genetic probabilities associated : Describe the genetic probabilities associated with the Breast Cancer (BRCA1) gene and Angelina Jolie's decision to undergo a double
What are the most likely ways to treat the host : What are the most likely ways to treat the host against you as a pathogen? Explain.
Compute the value-added : It takes 6 minutes to move the wreaths from the cutting; assembly process to the decorating process. Compute the value-added, non-value-added
When allocating costs is necessary : When Allocating costs is necessary? costs represent resources that are not shared across cost objects./ costs are assigned directly to the cost object.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd