0% found this document useful (0 votes)
6 views

CST8276-Lab02 Oracle Architecture

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

CST8276-Lab02 Oracle Architecture

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

NAME - JASKARAN PREET KAUR

STUDENT ID = 041103226

CST8276 – Advanced Database Topics

Lab #2

1. Concepts: Refer to the above noted resources. Copy your answers to your submission document.

a. Without using virtual tables or similar mechanisms, a database instance can be associated with
__1_ database(s). [How many?]
b. To start a database instance, configuration parameters must be read. This information is
contained in binary format in __sever parameter file__________ and in text format in
_____initiazation parameter file_________.
c. During STARTUP, the instance knows where the data files are located by reading the
___control___________ file.
D.The main difference between a TRANSACTIONAL SHUTDOWN and an IMMEDIATE SHUTDOWN is,
in a TRANSACTIONAL SHUTDOWN _____active transcations are are allowed to be completed
before the database is shut down________________________________________ whereas in an
IMMEDIATE SHUTDOWN ____________the database is shut down immediately without waiting
for transcations to complete,as active transcations are reverted._______________________.

2. Review the Startup/Shutdown Process (Write the queries and their results):
a. Logon as SYS as SYSDBA.
b. Enter SHOW PARAMETERS
i. From the SHOW PARAMETERS results, determine where the SPFILE file is located.
Record this location in your lab file below.

D:\ORACLE19CINSTALL\WINDOWS.X64_193000_DB_HOME\DATABASE\
SPFILEORACLE8276.ORA
C. Create a PFILE: Enter: CREATE PFILE from SPFILE;

Locate and resulting PFILE and in your lab document, specify:


the name of the pfile (show a screenshot of the folder and file on disk)
SPFILEORCL8276.ORA

Open the file and determine the oracle_base name (show a screenshot of the file
contents)
ORCL8276

the location of the control_files


'D:\oracle19cinstall\oradata\ORCL8276\control01.ctl','D:\oracle19cinstall\oradata\
ORCL8276\control02.ctl'

Enter: SHUTDOWN

Enter: STARTUP

Indicate, in your lab document, the sequence of objects being started.

Total System Global Area


Fixed Size
Variable Size
Database Buffers
Redo Buffers
Database mounted
Database opened

3. DATA DICTIONARY: From the SQL prompt, enter DESC DICT- this command describes the structure (the
columns) of the internal data dictionary.
Hint: Throughout the course, when you forget the names of special tables you can return to the
dictionary and determine the name.

In your lab document answer the following questions (Write the queries and their results):
a. List the number of rows that are in this table (you may not want to select the rows as there are
a lot). __4666_____________
b. List the name of the view or table that describes Tablespaces: ____DBA_TABLESPACES_______
c. List the name of the view or table that describes Datafiles: ___V$DATAFILE________
d. Write a query that joins the V_$DATAFILE and V_$TABLESPACE tables, then use the query
results to answer the following questions:
E.What is the location and name of the datafile associated with the SYSTEM tablespace. _____
C:\ORACLE19CBASE\ORADATA\ORCL\SYSTEM01.DBF

F. What is the location and name of the datafile associated with the USERS tablespace.
C:\ORACLE19CBASE\ORADATA\ORCL\USERS01.DBF

You might also like