COMP1802 Advanced Database Technologies | University of Greenwich

Published: 11 Feb, 2025
Category Coursework Subject Computer Science
University University of Greenwich Module Title COMP1802 Advanced Database Technologies

Detailed Specification 

This is an individual coursework. 

You need to complete the implementation and to write a final report to support the following  case study and requirements. 

Case Study: 

You are hired as a DBA for a medium size retailer company. The company stores  information about its products, orders and customers in a database.  

The database design is complete (please see the Entity Relationship Diagram below). At  the beginning of the module, you have been provided with the script to upload all the  necessary data into your VM Oracle Database. The owner of the tables is the user oe  having password oe. 

The employees of the company work in several departments: Sales, Marketing, Inventory,  Customer Service, HR, etc. They need to have different access rights to the tables in the  database, based on their job descriptions.

Your tasks are as follows: 

• to implement DBA requirements specified below using your Virtual Machine (VM) provided for the module and a created Oracle Database on the VM; 

• to describe your solutions for potential DBA problems as specified in the  Problem-solving requirements.

Entity Relationship Diagram (ERD) 

oe schema:

COMP1802 Advanced Database Technologies

DBA requirements

1. Please create a new permanent tablespace tbse in your database to store  additional information that can be updated on a regular basis. This tablespace should  have an initial size of 50 megabytes and one data file. The space in this tablespace  should be managed locally and extend automatically by 10 megabytes. 

You must provide an SQL command for a tablespace creation and a  screenshot of successful execution of that SQL command. Please also provide  a detailed explanation on why you made those choices of tablespace properties and their values, and what are the benefits and drawbacks of your  choices.

2. You are required to create the following two new users with login requirements specified below: 

a) One user called cust for the Customer Service department and one user called invent for the Inventory department.  

b) The default tablespace with unlimited quota for both users should be set to tbse (created in Question 1). The temporary tablespace for both users should  be set to temp. The profile profdep should be assigned to both users. 

c) The user cust should be forced to change their password on the first login. The user invent does not have this requirement. 

d) Both users should be forced to change their passwords every 2 months.

You must provide SQL commands and screenshots of successful execution of  these SQL commands. Make sure you include an explanation on how all the  requirements are implemented, possible alternatives, their benefits and drawbacks. Please provide passwords (existing and new if changed) for the  created users.

3. Two new users (created in Question 2) should have the following access rights: a) Both users should be able to login to the database. 

b) The user cust should have Read/Only access to the OE.ORDERS and OE.CUSTOMERS tables. 

c) The user invent should have Read/Write access to the OE.WAREHOUSES table. 

d) Both users should be allowed to create new tables and views. 

You must provide SQL commands and screenshots of successful execution of  these SQL commands. Make sure you include an explanation on how all the  requirements are implemented, possible alternatives, their benefits and  drawbacks. 

4. New information about contractors working with the retailer company should be  inserted into the database. 

a) Create a new table Contractors in the schema of the user invent (created in  Question 2) and stored in the tbse tablespace (created in Question 1). Please use the structure described in the table below.  

Make sure all the constraints have user-defined names.

Column  

name

Data type 

Constraint

id 

NUMBER(10) 

Primary Key

name 

VARCHAR2(30) 

Not Null

phone 

NUMBER(15)

 

status 

CHAR(1) 

Check constraint: this column  should contain only two values: ‘A’ (for ‘Available’) and ‘U’ (for  ‘Unavailable’)

b) Populate the created table Contractors with information of your choice about any  two contractors, validate the column constraints of the table. 

You must provide SQL commands and screenshots of successful execution of these  SQL commands. Make sure you include an explanation on how all the requirements are implemented.

Problem solving requirements

5. You have accidently dropped an important schema (for example, hr) in your  database. Please discuss the best functionality to use in order to recover it quickly  and safely, providing SQL commands and explanations of the steps needed to  recover data. 

You must provide discussions and explanations, including SQL commands,  for the potential specified DBA problem. There is no need to execute these  SQL commands on your database. 

6. You try to execute SQL command SELECT * FROM MYTABLE; but get an error “ORA-00942: table or view does not exist”. Please explain all possible reasons for this error. Describe your solutions for this  error depending on each reason, including necessary SQL commands. 

You must provide discussions and explanations, including SQL commands,  for the potential specified DBA problem. There is no need to execute these  SQL commands on your database.

If you are facing a problem in completing the COMP1802 Advanced Database Technologies assignment, then our computer science assignment help in UK and assignment writing help service is the perfect solution for you! We will cover all the important topics such as ER Model, Normalization, SQL Queries, NoSQL Databases, Transaction Management, Data Warehousing. We do not rely on AI-generated content but on providing 100% human-written, plagiarism-free solutions. First, avail free samples; check the quality and get done with your work stress-free. Contact us for online coursework writing today and win the grades war!

Workingment Unique Features

Hire Assignment Helper Today!


PSB6008CL Innovation Management and Entrepreneurship CW1 Research Proposal Report

PSB6008CL CW1 Report: Critically evaluate the fundamental concepts of innovation and entrepreneurship in the context of local and global start-ups and existing organisations.

CM1040 Web Development Coursework 1 Brief

CM1040: In this coursework you are tasked with producing a presentation about web development. The presentation should be based on the material you have studied in the first half of the course.

PSB7003CL Entrepreneurship and Innovation Coursework 2 Written Management Report

Based on the identified organisation in your CW1, evaluate how innovation is supported and implemented through entrepreneurship practice. This includes the types of innovation evident to the organisation, the process of innovation, the implementation of innovation and how entrepreneurship and innovation is practiced.

M30029 Advanced Thermodynamics and Fluid Mechanics Coursework Brief 2024-25 | UoP

The numerical values in this coursework are based on your student number. Your student number is a six- or seven-digit code UP QWERTYZ. In the assignment below, you should replace letters Q, W, E, R, T, Y, Z with digits from your student number.

MANG6046 Optimisation and Decision Modelling Individual Coursework Brief Sem 01 | UoS

This piece of work will count for 80% of the overall mark for MANG6046. You need to submit a report of your comment on a project and an Excel file (not multiple Excel files) in two separate folders (one is called Individual Coursework_Reports Only; the other is called Individual Coursework_Excel Files.

CTEC3754D Malware Analysis Coursework Brief 2024-25 | DMU

Evaluate malware evasive techniques, e.g., packing, obfuscation, and anti-disassembly. antis and pro-boxing, etc. and how to circumvent them. Investigate, select, and apply real malware through static and dynamic analyses using standard tools and techniques.

CMP7205 Applied Statistics—PG CWK Assignment Brief 2024-25 | BCU

CMP7205 Task: Report your statistical analysis on a reasonably complex dataset(s) in a professional manner, using appropriate probabilistic and/or statistical techniques implemented with modern statistical software.

Managing Customer Experience CW1 Summative Assessment Brief | BPP University

You are required to write a 2500-word report on the customer experience (referred to as CX from now on in this brief) strategy.

Leading Through Digital Change CWK Assessment Brief | BPP

In recent decades, businesses around the world have faced challenges by the persistent stream of disruptive digital innovations (DDI). T

Leading Through Digital Change Formative CW3 Brief - BPP

LTDC CW3 : A digital transformation strategy outlines how a company will utilise digital technology to continually develop novel products, services, processes, and channels of engagement (Pratt, 2023).

Online Assignment Help in UK