You are on page 1of 2

35) Which initialization parameter holds this value?

What does the shared pool


comprise of?
Library cache and data dictionary cache.
Parameter : shared_pool_size
36) Which initialization parameter holds the name of the database?
Db_name
37) Which dynamic performance view displays information about the active transac
tions in the database? Which view returns session related information?
V$transaction, v$session
38) Which dynamic performance view is useful for killing user sessions? Which co
lumns of the view will you require to kill a user session? Write the statement t
o kill any of the currently active sessions in your database?
V$session (SID, SERAIL#)
Alter system kill session SID,SERIAL#;
39) What is the difference between the ALTER SYSTEM and ALTER SESSION commands?
Changes performed using ALTER SYSTEM are either permanent for the memory or data
base. But for ALTER SESSION, its only for that session
40) Write down the mandatory steps that a DBA would need to perform before the C
REATE DATABASE command may be used to create a database?
Create a pfile or spfile
Create password file
If windows, create instance using ORADIM utility
41) What does the script utlexcpt.sql create? What is this table used for?
It will create EXECEPTIONS table. See below link
http://searchoracle.techtarget.com/news/940634/Find-and-remove-duplicate-rows-us
ing-constraint-exceptions
42) In which Oracle subdirectory are all the SQL scripts such as catalog.sql/ ca
tproc.sql /utlexcpt.sql etc...? Located?
$ORACLE_HOME/rdbms/admin/
43) Which dynamic performance view would you use to display the OPTIMAL size of
the rollback segment RBS2. Write a query to retrieve the OPTIMAL size and Rollba
ck segment name?
V$undostat (but many scripts are available in google or even in my blog)
44) During a long-running transaction, you receive an error message indicating y
ou have insufficient space in rollback segment RO4. Which storage parameter woul
d you modify to solve this problem?
Extent size
45) How would I start the database if only users with the RESTRICTED SESSION pri
vilege need to access it?
Startup restrict
31) Write the statement to display the size of the System Global Area (SGA)?
Show parameter sga
Or
Show sga
32) Obtain the information about the current database? What is its name and crea
tion date?
Select name,created from v$database;
33) What is the size of the database buffer cache? Which two initialization Para
meters are used to determine this value?
Db_cache_size or db_block_buffers
34) What value should the REMOTE_LOGIN_PASSWORDFILE take if you need to set up O
perating System authentication?
exclusive
35) Which initialization parameter holds this value? What does the shared pool
comprise of?
Library cache and data dictionary cache.
Parameter : shared_pool_size
36) Which initialization parameter holds the name of the database?
Db_name
37) Which dynamic performance view displays information about the active transac
tions in the database? Which view returns session related information?
V$transaction, v$session
38) Which dynamic performance view is useful for killing user sessions? Which co
lumns of the view will you require to kill a user session? Write the statement t
o kill any of the currently active sessions in your database?
V$session (SID, SERAIL#)
Alter system kill session SID,SERIAL#;
39) What is the difference between the ALTER SYSTEM and ALTER SESSION commands?
Changes performed using ALTER SYSTEM are either permanent for the memory or data
base. But for ALTER SESSION, its only for that session
40) Write down the mandatory steps that a DBA would need to perform before the C
REATE DATABASE command may be used to create a database?
Create a pfile or spfile
Create password file
If windows, create instance using ORADIM utility
41) What does the script utlexcpt.sql create? What is this table used for?
It will create EXECEPTIONS table. See below link
http://searchoracle.techtarget.com/news/940634/Find-and-remove-duplicate-rows-us
ing-constraint-exceptions

You might also like