The INFO361 Lab Assessment is due on March 31, 2025, and tests knowledge of Oracle Database Administration using SQL. Students must execute queries on an Oracle 19c database, document their work with screenshots, and submit a Word document containing their answers. The assessment includes various tasks related to database performance, management, and optimization across multiple scenarios.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
12 views5 pages
INFO3611 Lab Assessment
The INFO361 Lab Assessment is due on March 31, 2025, and tests knowledge of Oracle Database Administration using SQL. Students must execute queries on an Oracle 19c database, document their work with screenshots, and submit a Word document containing their answers. The assessment includes various tasks related to database performance, management, and optimization across multiple scenarios.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5
INFO361 Lab Assessment
Due: March 31 2025
Instructions: • This assessment is designed to test your knowledge of Oracle Database Administration using SQL.
• Ensure you have access to an Oracle 19c database.
• Use SQL*Plus or any SQL client of your choice to execute
queries.
• Answer ALL questions.
• You will be required to take screenshots of your work and
place in a separate Microsoft Word document, named <Your_UWI_ID>.docx. Number the document and place your respective screenshot for the associated question. The screenshot MUST have your UWI ID as a comment. If your ID is not present for a question you will receive a mark of 0 (zero) for that question.
• For each question place the relevant screenshot or
screenshots indicating that you completed the steps of the task. If after all your tries there is still an error message or the step did not work you are still required to take a screenshot. This is part of identifying invalid SQL statements. Place the screenshot in your answer document.
• Marks are allocated for correctness and clarity of the
queries.
• Upload your answer document (<Your_UWI_ID>.docx) to
myElearning. 1. You are a database administrator (DBA) tasked with managing an Oracle database for a large e-commerce platform. One morning, you receive an urgent request from the IT operations team regarding the Oracle instance and current database sessions.
a. The IT operations team suspects that the Oracle instance
might be experiencing performance issues due to high resource utilization. To investigate this, you need to query the Oracle instance information to gather details such as database version, instance name, host name, and current status. (5 marks)
b. After querying the Oracle instance information, you need to
examine the current database session information to identify any long-running or blocked sessions that could be contributing to the performance issues reported by the IT operations team. Your query should retrieve details such as session ID, serial number, username, client machine, session status, and SQL identifier for all active sessions connected to the database. (5 marks) [10 marks]
2. You are a senior database administrator (DBA) responsible for
managing a critical Oracle database used by a financial services company. One day, during routine maintenance, you encounter the following scenarios requiring your attention. Provide the SQL statements to perform the following tasks.
a. You receive a notification that the Oracle Database instance
is currently down due to a server restart. As the DBA, your first task is to start the Oracle Database instance to ensure uninterrupted service for the company's applications and users. (2 marks)
b. To test the resilience of the Oracle Database instance, you
decide to simulate a crash scenario by abruptly shutting down the database instance. This will trigger an instance recovery process to restore the database to a consistent state. (5 marks)
c. After successfully recovering the Oracle Database instance,
you decide to review and modify some initialization parameters to optimize database performance based on recent workload patterns and system resources. Based on your analysis, you decide to modify the sga_target parameter to adjust the size of the System Global Area (SGA) for better memory management. (5 marks) [12 marks]
3. You are a database administrator (DBA) responsible for
managing an Oracle database system for a large retail company. As part of your daily tasks, you need to query information about existing tablespaces, create a new tablespace, extend its size as needed, and monitor the space usage of specific data files to ensure optimal database performance and storage management.
a. You start by querying information about the existing
tablespaces in the Oracle database to understand their current status and resource utilization. Your query should retrieve details such as tablespace name, data file name, size in bytes, autoextensible status, and current status for all tablespaces in the database. (3 marks)
b. You receive a request from the application development team
to create a new tablespace for storing large volumes of transaction data. You decide to create a new tablespace named TRANSACTION_DATA and allocate an initial size of 1 GB, with autoextension enabled to allow for dynamic space allocation as needed. (5 marks)
c. After creating the new tablespace and allocating space for
transaction data, you need to monitor the space usage of the associated data file to ensure that it does not run out of available space and cause disruptions to database operations. Your query should retrieve details such as data file name, current size in bytes, maximum size, and autoextensible status for the data file associated with the TRANSACTION_DATA tablespace. (2 marks) [10 marks]
4. You are a seasoned database administrator (DBA) managing an
Oracle database for a large educational institution. Your responsibilities include ensuring the optimal performance and maintenance of the database system. Recently, you noticed increased activity and growth within the SYSAUX tablespace, impacting database performance.
a. You decide to query the space usage for a specific tablespace
and explore space usage of associated indexes. Your queries should provide insights into the total, used, and free space within the SYSAUX tablespace, as well as the space usage of associated indexes. (4 marks)
b. Upon analyzing the space usage, you observe fragmentation
within the SYSAUX tablespace, which can lead to performance degradation over time. To address this issue and optimize space allocation, you decide to manage free space by coalescing fragments within the SYSAUX tablespace. (2 marks) [6 marks]
5. You are a senior database administrator (DBA) responsible for
managing an Oracle database for a financial institution. Recently, you've noticed increased activity within the undo tablespaces, which are critical for managing transactions and maintaining data consistency. To address this issue perform the following tasks.
a. You decide to query information about undo tablespaces and
explore details about ongoing transactions. Your queries provide insights into the undo tablespaces present in the database and their current status, as well as details about ongoing transactions, including the username, session ID, start time, transaction name, and associated undo tablespace. (5 marks)
b. To address the increased activity within the existing undo
tablespaces, you decide to create a new undo tablespace and set it as the default undo tablespace. You then monitor its status and usage to ensure effective transaction management: Create a new undo tablespace named "new_undo_ts" with a specified data file size (1G), set it as the default undo tablespace for the database, and then monitor its status and usage. (5 marks)
c. While monitoring the database, you notice an increase in
undo-related wait events, indicating potential issues with undo management. Your query retrieves information about wait events related to undo management and orders them by the total time waited.
Master in Computer Application (MCA) (Second Year) Semester-I Examination Database Administration Paper-5 N.B.: - (1) All Questions Are Compulsory and Carry Equal Marks. Either