You are on page 1of 17

Oracle DBA Fundamental 1 Exam Questions Buffer Cache , Online Redo Log file , Large Pool , Java Pool

ache , Online Redo Log file , Large Pool , Java Pool as well as a few
other items.
and Answers
Q: What is the Shared Pool in SGA?
Q: What are the Oracle Architectural components?
A: The Shared Pool contains the Library Cache and the Dictionary Cache as
A: The Oracle Architectural components are:
well as a few other items, which are not in the scope of this section. The
Memory (SGA) such as Buffer Cache, Shared Pool, Redo Log Buffer, Large
Library Cache holds all users‟ SQL statements, Functions, Procedures, and
Pool, Java Pool, etc.
Packages. It stores parsed SQL statement with its execution plan for reuse.
Background Processes such as Log Writer, DB Writer, Checkpoint, Archiver,
The Dictionary Cache, sometimes also referred to as the Row Cache , holds
SMON, etc.
the Oracle repository data information such as tables, indexes, and columns
Oracle Physical Layout such as Datafiles, Controlfiles, Online Redo log files,
definitions, usernames, passwords, synonyms, views, procedures, functions,
Parameter file, Password file, etc.
packages, and privileges information.

Q: What are the Oracle Memory Components?


Q: What does the Buffer Cache hold in SGA?
A: All components such as Shared Pool (Library Cache , Dictionary Cache ),
A: The Buffer Cache holds users‟ data. Users query their data while they are
Buffer Cache , Online Redo Log file , Large Pool , Java Pool as well as a few
in the Buffer Cache. If user‟s request is not in the Buffer Cache then server
other items are referred to as the System Global Area (SGA ). And theplace
process has to bring it from disk. The smallest unit in the buffer cache is an
stores information like bind variable values , sort areas, cursor handling, etc
Oracle block. The buffer cache can be increased or decreased by granule
for a specific user is called Program Global Area (PGA ). The PGA is used to
unit. The smallest Granule Unit is 4Meg if the SGA size is less than 128Meg
store only real values in place of bind variables for executing SQL statements.
and the smallest Granule Unit become 16Meg is the SGA size is more than
The combination of these two memories structure while they are running is
128Meg.
called Oracle Instance.

Q: What are the differences between the Library Cache and Dictionary
Q: What is the Server Parameter File?
Cache?
A: The Server Parameter File is a binary file and Oracle uses it to change the
A: The Library Cache holds user‟s SQL statements, PL/SQL programs, but the
most of its system parameters dynamically.
Dictionary Cache holds only repository information such as user‟s table name,
its access privileges, and etc.
Q: What is the Parameter File?
A: The Parameter file is a configuration file and it contains all the Oracle
Q: What is the Redo Log Buffer in SGA?
instance and database configuration parameters. When you change any
A: The Redo Log Buffer holds users‟ entries such as INSERT, UPDATE,
parameter using this file, you should shutdown and startup the Oracle
DELETE, etc (DML) and CREATE TABLE, DROP TABLE (DDL). The Redo
Database.
Entries are information that will be used to reconstruct, or redo, changes made
to a database. The Log Writer writes the entries into the Online Redo Log files
Q: How do you use the init.ora file?
when a COMMIT occurs, every 3 seconds, or when one third of the Redo Log
A: The init.ora file is called initialized or parameter file. It is a configuration file.
Buffer is full. That will guarantee a database recovery to a point of failure if an
Oracle database failure occurred.
Q: What is the System Global Area (SGA)?
A: The SGA contains of Shared Pool (Library Cache , Dictionary Cache ),
Q: Describe the Large Pool component in SGA. or interval of how frequently its checkpoint should occur on its database.
A: The Large Pool holds information about the Recovery Manager (RMAN) LOG_CHECKPOINT_TIMEOUT = 3600 # every one hour
utility when RMAN is running. If you use the Multi-threaded Server (MTS) LOG_CHECKPOINT_INTERVAL =1000 # number of OS blocks
process, you may allocate the Oracle Memory structure such that you can get
advantage of using Large Pool instead of the Shared Pool . Notice that when Q: What is the Recovery Process?
you use dedicated servers, user session information is housed in the PGA . A: The RECO will be used only if you have a distributed database. You use
this process to recover a database if a failure occurs due to physical server
Q: Describe the Multi-threaded Server process. problem or communication problem.
A: The Multi-threaded Server process will be used when a user send his/her
request by using a shared server. A user‟s request will be assigned to a Q: What is the Lock Background Process?
dispatcher based on the availability of dispatchers. Then the dispatcher will A: The LCKn background process will be used if you have multiple instances
send or receive request from an assigned shared server. accessing to only one database. An example of that is a Parallel Server or a
Real Application Clusters.
Q: What are PGA and UGA?
A: When you are running dedicated servers then the session information can Q: How does the Archive Process work?
be stored inside the process global area (PGA). The UGA is the user global A: This background process archives the Online Redo Log file when you are
area, which holds session-based information. When you are runningshared manually or automatically switching an Online Redo Log file. An example of
servers then the session information can be stored inside the user global area manually switching is: ALTER SYSTEM SWITCH LOGFILE or ALTER
(UGA). SYSTEM ARCHIVE LOG CURRENT.

Q: Describe the log writer background process (LGWR). Q: How do you configure your database to do an automatic archiving?
A: The LGWR‟s job is to write the redo user‟s entries from the Redo Log A: SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
Buffer .
Q: What is the System Monitor Process?
Q: How often does LGWR write user’s entries to the Online Redo Log A: The SMON job is: when you start your database, it will make sure that all
Buffer files? datafiles, controlfiles, and log files are synchronized before opening a
A: It writes user‟s entries when the buffer exceeds one third of the Redo Log database. If they are no, it will perform an instance recovery. It will check the
Buffer, every 3 seconds, or when a user executes the commit SQL statement. last SCN that was performed against the datafiles. If it finds that there are
transactions that were not applied against the datafile, then it will recover or
Q: Describe the Checkpoint process. synchronize the datafile from either the Online Redo Log files or the Archive
A: The Checkpoint signals DB writers to write all dirty blocks into the disk. The Log files. The smaller Online Redo log files will bring a faster database
Checkpoint will occurred either by a specific defined time, size of the Online recovery.
Redo Log file used by DBA, or when an Online Redo log file will be switched
from on log file to another. Q: Describe the Program Monitor Process Job.
A: A user may be disconnected either by canceling its session or by
Q: How do you automatically force the Oracle to perform a checkpoint? communication link. In either act, the PMON will start and perform an action to
A: The following are the parameters that will be used by a DBA to adjust time clean the reminding memory allocation that was assigned to the user.
Parameter File (Example: REMOTE_LOGIN_PASSWORD=EXCLUSIVE).
Q: What are the differences between the SPFILE and PFILE startup?
A: You can read or change the init.ora file (PFILE) for startup of the Oracle Q: How do you create a password file?
database. It contains all Oracle parameters file to configure a database A: To create the password file, you should run the ORAPWD utility from
instance. In this file, you can reset and change the Buffer Cache size, Shared operating system.
Pool size, Redo Log Buffer size, etc. You also can change the location of your For example:
control files, mode of a database such as archivelog mode or noarchivelog MS-DOS> ORAPWD FILE=%ORACLE_HOME\dbs\orapw.pwd \
mode, and many other parameter options that you will learn them in the PASSWORD=mypass ENTRIES=3
course of this book. The ENTRIES parameter specifying the number of user entries allowed for the
But using Server Parameter File-SPFILE, you can not read the file. It is in a password file. Now, the DBA can be connected to the database as a user with
binary format. If you want to change database parameters dynamically, you sysdba privilege.
should create the Server Parameter file (CREATE SPFILE FROM PFILE ) and
startup your database using the SPFILE file. There are some few parameters Q: Describe the Online Redo Log file.
that you still need to shutdown and startup the database, if you want to make A: The Online Redo Log files hold the Redo Entries. You should have at least
the parameter in effect. two or more Redo Log Groups. Each group may have more than one member.
It is a good practice to multiplex Online Redo Log members. The Redo Entries
Q: What is the controlfile? are information that will be used to reconstruct, or redo, changes made to a
A: You cannot read this file and it is in a binary format. If you want to see the database. The Log Writer writes the entries into the Online Redo Log files
content of control file or the layout of your database, you should use the when a COMMIT occurs, every 3 seconds, or when one third of the Redo Log
ALTER DATABASE BACKUP CONTROLFILE TO TRACE statement. It writes Buffer is full. That will guarantee a database recovery to a point of failure if an
a trace file into the %ORACLE_BASE\admin\\UDUMP directory. Oracle database failure occurred.

Q: How do you backup your database controlfiles? Q: How do you start up an instance with the MOUNT option?
A: SQL> ALTER DATABASE BACKUP CONTROLFILE TO c:\ctnlrfl.bk; A: SQL> CONNECT / AS SYSDBA
SQL> STARTUP MOUNT
Q: What does a controlfile contain? --OR--
A: It contains information the structure of your database layout, database SQL> STARTUP NOMOUNT
name, last System Change Number (SCN) number, your database mode SQL> ALTER DATABASE MOUNT;
(archivelog mode or noarchivelog mode), maximum number of log files,
maximum number of log members, maximum number of instances, maximum Q: Describe the IMMEDIATE option in the SHUTDOWN command.
of number of datafiles, the location of the database Online Redo Log files , A: The IMMEDIATE option means not to wait for a user to log off and roll back
and backup information. uncommitted transactions, then shut down the instance and close the
database.
Q: Describe the password file. Q: Describe the ABORT option in the SHUTDOWN command.
A: The password file is an external file that contains the password of sysdba A: The ABORT option tells Oracle not to wait for a user and do not roll back
or sysoper. To use the password file you should set the for any transaction and shutdown the instance. If you SHUTDOWN with the
REMOTE_LOGIN_PASSWORD parameter to exclusive or shared mode in the ABORT option and then you start your database, the SMON will perform an
instance recovery automatically. 'C:\ORACLE\ORADATA\redo04a.log' /
A: Assuming that Online Redo Log file is offline, it relocates it to different
Q: Describe the PFILE parameter in the STARTUP command. location.
A: It tells the Oracle to use the specific parameter file that is in the PFILE
parameter. Q: What are the differences between an Oracle-Managed and User-
Managed files?
Q: What does the following SQL statement? A: A User-Managed file will be defined by an Oracle user. If you drop the
SQL> ALTER DATABASE BACKUP CONTROLFILE TO tablespace that was using the file, you should physically delete it from the
'c:\backupcontrolfile\control_ddmmyyyy.ctl' /A: It will backup a controlfile. disk. But an Oracle-Managed file will be created and defined by Oracle. If you
drop the tablespace that was using the file, oracle will physically deletes the
Q: What is the ALERT file in an Oracle database? file from the disk. It knows where the file is located.
A: It is a log file that any unknown problems with the database such as, not
enough space in the rollback segment or the maximum extent reached in a Q: How do you maintain a tablespace using the Oracle-Managed file
table. technique?
Q: How many different types of database mode can you change your A: You should tell Oracle where it should locate and create datafiles.
database to? SQL> ALTER SYSTEM SET db_create_file_dest='c:\newfolder'; Q: What
A: Six! ARCHIVELOG, NOARCHIVELOG, SUSPEND, RESUME, does the following SQL statement do?
RESTRICTED SESSION, and QUIESCE RESTRICTED mode. SQL> CREATE TEMPORARY TABLESPACE mytemp TEMPFILE
'mytemp_01.tmp' SIZE 20M EXTENT MANAGEMENT LOCAL UNIFORM
Q: What does the following statement do? SIZE 10M /
SQL> CREATE SPFILE A: It creates locally managed temporary tablespace with uniform size option.
FROM Q: What are the PCTFREE and PCTUSED space allocations in the
PFILE='%ORACLE_HOME%\admin\school\pfile\init.ora' /A: It creates a Server CREATE TABLE statement?
Parameter File using an specific parameter file. A: The PCTFREE parameter means that an Oracle user can add records to a
block until the unused space block reaches to the PCTFREE value. When a
Q: How do you configure a database to an archive mode? block uses all space up to the “1-PCTFREE” percentage, it stops adding
A: First you should change the following parameters in the parameter file. records to the block. Oracle takes that block out of the Freelist. It means that
log_archive_dest = /u01/app/oracle/admin//arch records can not be added to the block any more unless you delete records
log_archive_start = true from the block till it reaches to the PCTUSED value. Then Oracle will add the
log_archive_format = log%s.arc block in the Freelist again and records can be added to the block. And this
Then do the following in the SQLPLUS utility. process continues to determine when to add records in or stop adding records
SQL> SHUTDOWN IMMEDIATE SQL> STARTUP MOUNT from the block.
PFILE=%ORACLE_HOME%\admin\school\pfile\init.ora SQL> ALTER
DATABASE ARCHIVELOG ; SQL> ALTER DATABASE OPEN; Q: How do you create an UNDO tablespace?
Q: What does the following SQL statement? A: SQL> CREATE UNDO TABLESPACE my_undo_tablespace DATAFILE
SQL> ALTER DATABASE RENAME FILE SIZE 100K /
'C:\ORACLE\ORADATA\SCHOOL\REDO04.LOG' TO Q: What are the differences between a DICTIONARY-MANAGED and
LOCALLY managed tablespace? /
A: The difference between the DICTIONALY-MANAGED and LOCALLY
MANAGED tablespace is: In the locally managed tablespace all information Q: How do you lock a user?
about the datafiles such as the last performed checkpoint, etc are stored A: SQL> ALTER USER DEVELOPER ACCOUNT LOCK /
locally in the datafiles of the tablespace but in the DICTIONAY-MANAGED Q: What are the Oracle database triggers?
tablespace all such information would be stored in the Oracle repository in the A: The Oracle database triggers are triggers that will occur when an Oracle
SYSTEM tablespace. event happens either by the DML statements such as UPDATE, DELETE ,
INSERT, etc; the DDL statements such as DROP, CREATE, etc; the
Q: How do you create a TRANSACTION temporary table? Database events such as SHUTDOWN, STARTUP, etc; or events in a
A: SQL> CREATE GLOBAL TEMPORARY TABLE test_temp (col1 schema such as dropping a table in an specific schema.
NUMBER(5) PRIMARY KEY, col2 VARCHAR2 (10) check (col2 BETWEEN
'A' AND 'T')) ON COMMIT DELETE ROWS / Q: How do you start or stop auditing?
Q: What are the differences between a row migration and chained A: SQL> ALTER SYSTEM SET audit_trail=db SCOPE=spfile /and you should
record? shutdown and startup the database.
A: A “Chained Record” happens when a user updates a record and the new
value can not fit in the existing allocated location. So, Oracle stores the value Then start auditing by using the AUDIT command.
in a space that allocated for them (PCTFREE) and add a pointer to the row so Ex: SQL> AUDIT DELETE ON iself.emp BY ACCESS WHENEVER
that it knows where the rest of the record is. This process calls row Chaining. SUCCESSFUL /
Now, if there was no space in the PCTFREE area, then Oracle will take the
whole record and migrate it in a different block that has space. This process And stop auditing by using the NOAUDIT command.
calls row Migration. Ex: SQL> NOAUDIT ALL /
Q: What is a cluster table in the Oracle database?
Q: How do you monitor a usage of an index table? A: A cluster is a schema object that contains one or more tables that all have
A: SQL> ALTER INDEX uk_emp MONITORING USAGE / one or more columns in common. Rows of one or more tables that share the
Q: What does the EXCEPTIONS INTO EXCEPTIONS clause perform in the same value in these common columns are physically stored together within
ALTER TABLE statement? the database. Generally, you should only cluster tables that are frequently
A: It will insert all exceptions that were found during the ALTER TABLE joined on the cluster key columns in SQL statements. Clustering multiple
command into the EXCEPTIONS table. tables improves the performance of joins, but it is likely to reduce the
performance of full table scans, INSERT statements, and UPDATE
Q: How do you create a user account? statements that modify cluster key values.
A: SQL> CREATE USER developer IDENTIFIED BY developer DEFAULT
TABLESPACE iself_data TEMPORARY TABLESPACE temp QUOTA 10K Q: How do you re-organize all a schema’s tables?
ON iself_data QUOTA 0K ON SYSTEM PROFILE default PASSWORD A: SQL> EXECUTE dbms_stats.gather_schema_stats ('your_schema_name');
EXPIRE ACCOUNT UNLOCK /
Q: How do you assign a default tablespace to a user?
A: SQL> ALTER USER developer
DEFAULT TABLESPACE iself_data
Oracle DBA Fundamental 2 Exam Questions is
responsible for performing recovery of in-doubt transactions that often occur in
and Answers distributed
transactions.
Q: What are the Oracle Background Processes?
A: The Oracle Background Processes are programs or tasks that run on the
Q: Describe an archive log configuration.
Oracle background
A: In an archive log configuration, Oracle grantees to recover to the point of
such as log writers, db writers, archives, checkpoint, etc.
failure.

Q: Describe the V$BGPROCESS view.


Q: What does the ARCHIVE LOG LIST command?
A: The V$BGPROCESS view contains information about active and inactive
A: The ARCHIVE LOG LIST command shows information about the database
background processes.
archive
log mode status.
Q: Describe the following background processes:
PMON
Q: What are disadvantage and advantage of a database in the
DBWn
NOARCHIVELOG mode?
ARC0
A: Disadvantage: You can‟t recover to the database point of failure.
CKPT
Advantage: It will
LGWR
use fewer resources.
SMON
RECO
Q: What are disadvantage and advantage of a database in the
A: PMON - The Process Monitor (PMON) is responsible for performing
ARCHIVELOG mode?
recovery if a user
A: Advantage: You can recover to the database point of failure. Disdvantage:
process fails and rolls back the uncommitted transactions. DBWn - The
It will use
Database Writer
more resources.
(DBWn) is responsible for writing the changed blocks or dirty blocks in
the database.
Q: What does the following SQL statememt?
ARC0 - The Archiver (ARC0) is responsible for writing the Online redo
SQL> SELECT * FROM v$bgprocess
log files into the
WHERE PADDR <> '00'
archive log destination. CKPT - The checkpoint process (CKPT) is responsible
/
for
A: It shows all the active Oracle background processes.
synchronizing the buffer cache with the data file. It updates all datafile
headers and the
Q: How do you test that a database is in archivelog or not?
control files. LGWR - The Log Writer (LGWR) is responsible for writing data
A: SQL> ARCHIVE LOG LIST
from redo
log buffers to the online redo log files. SMON - The System Monitor process
Q: What is the controlfile in the Oracle database?
(SMON)
A: The controlfile in the Oracle database is a binary file that contains the
is responsible for instance recovery. RECO - The Re-coverer Process (RECO)
database structure, A:
backup information, datafiles synchronization, and more. 1- SQL> ALTER DATABASE CLOSE 2- SQL> ALTER DATABASE
ARCHIVELOG3- Add the following statement into your parameter file.
Q: How do you get a list of all your controlfiles’ location? Log_archive_start =true log_archive_dest =‟c:\archivelogs‟log_archive_format
A: SQL> SELECT name FROM v$controlfile =‟arc%S.%T ‟
4- SQL> ALTER DATABASE OPEN
Q: Describe the following views:
V$CONTROLFILE view Q: How do you query your database’s archive log information?
V$CONTROLFILE _RECORD_SECTION view A: SQL> ARCHIVE LOG LIST
A: The V$CONTROLFILE view contains the location of your controlfiles and
their status. Q: How do you set an archive log destination?
The V$CONTROLFILE _RECORD_SECTION view shows different section A: SQL> ALTER SYSTEM ARCHIVE LOG START TO 'c:\archivelogs';
information
such as record_size, records_total, records_used, etc. Q: What is the Server Parameter file (SPFILE)?
A: The Server Parameter File (SPFILE) is the same as the database
Q: What do the following SQL statements? parameter file. The only
SQL> ALTER DATABASE BACKUP CONTROLFILE TO difference is: it is in a binary format code and can not be read or edited. It is
'c:\backupcontrolfile\control_ddmmyyyy.ctl'A: Copies controlfile exactly as it used to change
was on the time of its backup. the Oracle system parameters dynamically by using the ALTER SYSTEM SET
SQL> ALTER DATABASE BACKUP CONTROLFILE TO TRACE A: Gets a command.
SQL statement. We can use it to re-create the controlfile if we needed.SQL>
SELECT * FROM v$controlfile_record_sectionA: Queries information about Q: What do the following statements do?
different section in the controlfile. ALTER SYSTEM SET log_archive_start =true SCOPE=spfile A: It changes
the archive log automatic start.
Q: You, as a DBA, are responsible to multiplex controlfiles to protect ALTER SYSTEM SET log_archive_dest ='c:\archivelogs' SCOPE=spfileA: It
your organization changes the archive log destination dynamically.
from a possible and unexpected loss of controlfiles, due to media ALTER SYSTEM SET log_archive_format ='arc%S.%T ' SCOPE=spfileA: It
failure. You task is to add changes the archive log format dynamically.
one more controlfile to you database. What are the steps?
A: Q: You, as a DBA, are responsible to recover any failures to a point of
Add one more controlfile entry into the parameter file. failure and also to perform your backup while in online status. Your
You shut down the database. shop is 24x7 and you are not able to shutdown the database. Therefore,
Copy one of the controlfiles to with the new name that was added to the the database has to be in an archive mode. You should change you
parameter file. database mode from noarchivelog to archivelog mode. What are the
Start your database. steps that you should perform to change your database mode?

Q: How do you configure your database to an archivelog mode?


A: Q: You, as a DBA, are responsible to maintain and relocate the Redo Log
1- SQL> ALTER DATABASE CLOSE 2- SQL> ALTER DATABASE files in order to
ARCHIVELOG3- Add the following statement into your parameter file. distribute data among multiple hard disks to increase I/O performance.
Log_archive_start =true log_archive_dest =‟c:\archivelogs‟log_archive_format Your task is to relocate
=‟arc%S.%T ‟ only of the redo log file from it original location c:\orignial_location to
4- SQL> ALTER DATABASE OPEN c:\newlocation sub-directory.
What are the steps?
Q: Describe an online redo log file in a database. A:
A: The online redo log files are used to store Oracle user‟s entries; and once it Check the status of its group, if it is inactive then drop it.
is full, the file Create an online redo log group with the same group number.
will be archived to an assigned destination in the Oracle database. The log
writer process Q: How do you set an Oracle-Managed archive log file destination?
writes those users entries from the redo log buffer. A: SQL> ALTER SYSTEM SET log_archive_duplex_dest='c:\my2ndArclogs';

Q: How do you add a redo log file group 3 to a database structure? Q: Describe an Oracle-Managed File (OMF).
A: SQL> ALTER DATABASE ADD LOGFILE A: An Oracle-managed file is a file that Oracle takes control to manage it.
GROUP 3 SIZE 2M;
Q: What are the following views?
Q: How do you resize a redo log file? V$ARCHIVE_DEST view
A: You should remove the redo log file and then re-create it with a new size. V$ARCHIVED_LOG view
V$LOG _HISTORY view
Q: How do you drop a redo log file 3? A: The V$ARCHIVE_DEST view shows information about archive
A: You can drop the online redo log groups that bear the status of INACTIVE. destinations.
SQL> ALTER DATABASE DROP LOGFILE The V$ARCHIVED_LOG view shows all created archived log information.
GROUP 3; The V$LOG _HISTORY view shows that what was the first change number on
that log.
Q: Describe the V$LOG and V$LOGFILE views.
A: Note that the V$LOG dictionary view contains information such as its group Q: What is the Sequence Archive log number?
number, A: It is a number that will be assigned for each archived log file.
size, member, status, archived, and the first change number in the log. The
V$LOGFILE Q: You, as a DBA, are responsible to duplex archived Online Redo log
dictionary view contains the location of logs and their status. files in order to protect the organization from a loss of or a case of
Q: What does the following SQL statement? corrupted archived files. Take one of the redo log file group and add a
SQL> SELECT * FROM v$archived_log WHERE recid > (SELECT member to it in a different disk. What are the steps?
MAX(recid) - 10 FROM v$archived_log)/ A: 1- SQL> SHOW PARAMETER %archive%dest2- SQL> HOST MKDIR
A: Queries the last 10 archived logs. c:\my2ndArclogs3- SQL> ALTER SYSTEM SET
log_archive_duplex_dest='c:\my2ndArclogs';
take more than an hour.
Q: How many backup do we have? You want to use the COLD backup process once a day. Write a script to
A: Two! They are the Physical and Logical backups. The physical backup can perform a complete
be performed cold backup.
as a COLD backup or HOT backup. The logical backup can be performed A: SQL> SET ECHO OFF SQL> SET HEADING OFF SQL> SET FEEDBACK
while the Oracle OFF SQL> SET PAGESIZE 1000 SQL> SPOOL
database is running using the EXP command. c:\userbkup\my_COLD_bkup.sql SQL> SELECT 'HOST COPY ' name '
c:\userbkup\*;'
Q: What is a cold or offline database backup? FROM v$controlfile; SQL> SELECT 'HOST COPY ' name ' c:\userbkup\*;'
A: It is a part of the recovery process and will be performed when the Oracle FROM v$datafile; SQL> SELECT 'HOST COPY ' member ' c:\userbkup\*;'
database is FROM v$logfile; SQL> SELECT „HOST COPY \
shutdown with immediate, transactional or normal options. „%ORACLE_BASE\admin\school\pfile\init.ora \
c:\userbkup\*;‟ FROM dual;
Q: Describe a usage of the following views: SQL> SQL> SPOOL OFF SQL> SET HEADING ON SQL> SET FEEDBACK
V$DATABASE view ON SQL> SET PAGESIZE 55 SQL> SET ECHO ON
V$LOGFILE view
V$DATAFILE view
V$CONTROLFILE view Q: What is a HOT or OFFLINE backup
A: The V$DATABASE view contains information about the Oracle database A: It is a part of the recovery process and will be performed when the Oracle
such as the database is running.
database id, name, created date, database mode, log mode, etc. The
V$LOGFILE view Q: Describe the DBA_DATA_FILES dictionary view.
contains information about the location of logs, their status, etc. The A: This dictionary view provides datafiles‟ statistics information.
V$DATAFILE view
contains information about datafiles‟ location, their status, etc. The Q: How do you perform a hot backup on a tablespace?
V$CONTROLFILE A: We backup one tablespace at a time:
view contains information about controlfiles‟ location, their status, etc. 1- ALTER TABLESPACE mytablespace BEGIN BACKUP;
2- Copy all its datafiles‟ locations.
Q: To perform a COLD backup, does the database need to be in an 3- ALTER TABLESPACE mytablespace END BACKUP;
archivelog mode?
A: No. Q: What are the differences between a hot and cold backup?
A: The Oracle database must be closed before performing a COLD backup
Q: You, as a DBA, are responsible to backup the database and restore but while you are
the data in case of a performing a HOT backup; your database doesn‟t need to be closed.
loss of data due to media failure. Based on your organization’s business
rules, the database can Q: What do the following SQL statements?
be shutdown every day for 5 hours. You also know the backup won’t SQL> ALTER TABLESPACE tools BEGIN BACKUP;
A: Put all the tablespace‟s datafiles in the backup mode and don‟t apply any TEMPORARY or
changes to the IMMEDIATE options?
datafiles unless I end the backup mode.SQL> HOST COPY \ A: No, unless you perform a media recovery.
C:\ORA9I\ORADATA\SCHOOL\TOOLS01.DBF \
C:\userhotbkup\* Q: You, as a DBA, are responsible to backup the tablespace or datafile
A: Start copying or backing up all the tablespace‟s datafiles. and restore the data to the point of failure in case of a loss of data due to
SQL> ALTER TABLESPACE tools END BACKUP; a media hard disk crash. Your organization is a 24x7 day shop and you
A: End the tablespace backup mode. are not able to shutdown the database. You have to use HOT or ONLINE
backup . How do you perform a tablespace backup?
Q: Describe the V$DATAFILE and DBA_DATA_FILES dictionary views? A:
A: See the above descriptions. 4- ALTER TABLESPACE mytablespace BEGIN BACKUP;
5- Copy all its datafiles‟ locations.
Q: Describe the TOTAL PAGES FAILING output from dbv utility. 6- ALTER TABLESPACE mytablespace END BACKUP;
A: If the TOTAL PAGES FAILING values are greater zero when you perform -- OR --
the DBV 7- ALTER TABLESPACE mytablespace OFFLINE;
command, it means there are problems in the datafile. You should only 8- Copy all its datafiles‟ locations.
perform the ONLINE 9- ALTER TABLESPACE mytablespace ONLINE;
tablespace backup when the tablespace‟s datafile values are zero.
Q: How do you store a destroyed datafile when Oracle is online and
Q: How do you OFFLINE a tablespace? running?
A: SQL> ALTER TABLESPACE users OFFLINE; A:
1- Offline the tablespace.
Q: How many different OFFLINE option do you have for a tablespace? 2- Restore the tablespace‟s datafile or datafiles.
A: The NORMAL (default option), TEMPORARY or IMMEDIATE options. Note 3- Recover the tablespace.
that 4- Online the tablespace.
if you use the TEMPORARY or IMMEDIATE options for OFFLINE, you will not
be able Q: How do you recover a tablespace?
to get the tablespace ONLINE unless you perform a media recovery. A: SQL> RECOVER TABLESPACE mytablespqace;

Q: How do you perform an integrity check on a datafile? Q: What does the following SQL statement?
A: MS-DOS> dbv file=C:\ORACLE\ORA90\SCHOOL\USERS01.DBF - SQL> RECOVER TABLESPACE users;
BLOCKSIZE=4096 A: It recovers the USERS tablespace.

Q: What does the dbv utility? Q: You, as a DBA, are responsible to recover the database to the point of
A: It performs an integrity check on a datafile. failure due to
a loss of data and a media failure. Assuming that you lost your TOOLS’s
Q Can you ONLINE a tablespace that was OFFLINE with the datafiles, what
are the steps to recover the datafiles to the point of failure?
A: Q: What does the following SQL statements do?
1- ATLER TABLESPACE tools OFFLINE; GRANT
2- Restore the tablespace datafile or datafiles. SELECT ON v_$datafile TO xxx; GRANT
3- RECOVER TABLESPACE tools; SELECT ON v_$logfile TO xxx; GRANT
4- ALTER TABLESPACE tools ONLINE; SELECT ON v_$controlfile TO xxx; GRANT
A: They grant select privileges to the user xxx who wants to access to those
Q: What is a physical backup? views.
A: A physical backup is one of a database recovery steps that is performed Q: What are the steps to create an automated Oracle HOT backup?
based A: 1- Put each tablespace into the BACKUP mode,
on a database physical layout. 2- Backup its datafile or datafiles,
3- Put them off the BACKUP mode.
Q: What is a logical backup? 4- Repeat this for all the database tablespaces.
A: A logical backup is one of a database recovery steps that is performed
based Q: How do you create the RMAN repository?
on a database logical layout. A: 1- Create RMAN tablespace
2- Create RMAN user 3- Grant CONNECT, RECOVERY_CATALOG_OWNER
Q: How do you perform a logical backup? , SYSDBA Roles
A: MS-DOS> exp
Q: How do you create the RMAN user?
Q: How do you perform a logical restore? A: SQL> CREATE USER rman IDENTIFIED BY password DEFAULT
A: MS-DOS> imp TABLESPACE rman_tablespace QUOTA UNLIMITED ON rman_tablespace;

Q: You, as a DBA, are responsible to perform a logical backup using the Q: How do you create the RMAN objects?
EXP tool . Notice that if the loss of data since the last time of backup is A: rman> CREATE CATALOG ;
not significant then a logical backup is a good option to use. Scott lost
its EMP table and you have been tasked to restore it using the IMP Q: How do you create the RMAN tablespace?
utility. A: SQL> CREATE TABLESPACE rman_tablespace DATAFILE
A: MS-DOS> IMP userid=… file=myexport.dmp tables=EMP 'c:/newfolder/rman_tablespace_01.dbf' SIZE 50M AUTOEXTEND ON;

Q: What are the steps to perform an automated Oracle COLD backup? Q: What does the RMAN RCVCAT command?
A: A: Sign in to the rman catalog database.
1- Shutdown the database,2- Backup the database files, 3- Startup the
database. Q: What does the DBMS_RCVCAT package?
Q: What does the UTL_FILE _DIR parameter? A: The DBMS_RCVCAT package is responsible for maintaining information in
A: This parameter gives permission to Oracle to write or read from defined the recovery catalog.
directory.
Q: What does the DBMS_RCVMAN package? A: It registers the target database.
A: The DBMS_RCVMAN package is used for querying the recovery catalog or
the control file. rman> RESYNC CATALOG ;
A: It resynchronizes the database catalog with the target database.
Q: What do the following SQL and RMAN commands do?
SQL> CREATE TABLESPACE rman_tablespace DATAFILE rman> CONFIGURE SNAPSHOT CONTROLFILE NAME TO –
'c:/newfolder/rman_tablespace_01.dbf' SIZE 50M AUTOEXTEND ON;A: It 'c:\newfolder\snape01.snp';
creates the rman tablespace. A: It backups a controlfile.rman> BACKUP DATAFILE 7;
SQL> CREATE USER rman IDENTIFIED BY password DEFAULT A: It backups a datafile.rman> BACKUP CURRENT CONTROLFILE ;
TABLESPACE rman_tablespace QUOTA UNLIMITED ON A: It backup the current controlfile.rman> EXIT;
rman_tablespace;A: It creates the rman user. A: It will exit the rman utility.
SQL> GRANT CONNECT, RECOVERY_CATALOG_OWNER , SYSDBA
TO rman;A: It grants necessary roles privileges to the rman user. rman> Q: How do you configure a RMAN retention policy?
CREATE CATALOG ; A: RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
A: It creates the rman catalog.SQL> SELECT object_name FROM
dba_objects WHERE owner = 'RMAN' and object_type = 'PACKAGE';A: It Q: How do you exclude a tablespace from a daily backup?
queries the rman packages. A: RMAN> CONFIGURE EXCLUDE FOR TABLESPACE tools;

Q: How do you register a database to a RMAN utility? Q: How do you perform an image copy of a datafile?
A: rman> REGISTER DATABASE ; A: RMAN> COPY DATAFILE 7
TO 'c:\RMANBKUP\dbf_yymmdd.dbf' NOCHECKSUM;
Q: How do you synchronize a catalog?
A: rman> RESYNC CATALOG ; Q: Describe the NOCHECKSUM parameter.
A: It is a parameter to make sure that there is no datafile integrity problem.
Q: How do you backup a datafile of a database using RMAN?
A: rman> BACKUP DATAFILE 7; Q: How do you perform an image copy of your current controlfile?
A: RMAN> COPY CURRENT CONTROLFILE
Q: How do you backup a controlfile using RMAN? TO 'c:\RMANBKUP\ctlfl_yyyymmdd.ctl';
A: rman> BACKUP CURRENT CONTROLFILE ;
Q: How do you perform a backup in a specific location?
Q: What do the following SQL and RMAN commands do? A: RMAN>BACKUPDATAFILE 7
SQL> SELECT file_id, tablespace_name, bytes FROM dba_data_filesA: It FORMAT 'c:\RMANBKUP\file7_%T _%s_%p';
queries one or more file_id associated to a tablespace.
DOS> rman CATALOG rman/password@dbs4rman Q: What is the formatting the backup file’s name?
TARGET system/manager@schoolA: It logs in the rman with the dbs4rman A: It is a naming formatted Oracle roles that you want to backup a datafile. For
database catalog and the school database target. example you may want to use %T for the date, %s for the backup set number,
rman> REGISTER DATABASE ; and %p for the piece number in your naming format.
A: It verifies the complete or full backup.
Q: How can you backup database objects using the incremental option?
A: RMAN>BACKUP INCREMENTAL LEVEL 0 TABLESPACE tools Q: Describe the SET TIME command in the SQLPLUS tool.
FORMAT'c:\RMANBKUP\tools_L0'; RMAN>BACKUP INCREMENTAL LEVEL A: It makes it easy to see that time.
1 TABLESPACE tools
FORMAT 'c:\RMANBKUP\tools_L1'; Q: What is an incomplete database recovery?
A: An incomplete database recovery is a recovery that it does not reach to the
Q: What do the following formatting name syntaxes mean? point of failure. The recovery is at a point of time.
%T for the date
%S for the backup set number Q: What are the differences between an incomplete database recovery
%P for the piece number and complete database recovery?
A: We use %T for the system date to be part of a backup datafile name, %s A: A complete recovery recovers to the point of failure.
for the backup set number, and %p for the piece number. Note that you can
use a multiple datafiles to be backup in a single piece set. Q: How do you perform an incomplete database recovery?
A:
Q: How do you perform a tablespace recovery using RMAN? RMAN> SHUTDOWN IMMEDIATE ; RMAN> STARTUP MOUNT ; RMAN>
A: RUN { SQL "ALTER SESSION
RMAN> SQL 'ALTER DATABASE DATAFILE 7 OFFLINE'; RMAN> SET NLS_DATE_FORMAT=''DD-MON-YYYY HH24:MI:SS''"; SET UNTIL
RESTORE DATAFILE 7; RMAN> RECOVER DATAFILE 7; RMAN> SQL TIME '04-AUG-2002 01:04:22'; RESTORE DATABASE; RECOVER
'ALTER DATABASE DATAFILE 7 ONLINE'; DATABASE; } RMAN> OPEN RESETLOGS DATABASE ;

Q: How do you set a datafile status using the RMAN tool? Q: How do you perform a restore?
A: RMAN> SQL 'ALTER DATABASE DATAFILE 7 OFFLINE'; A: RESTORE DATABASE;

Q: How do you restore a corrupted datafile? Q: How do you recover a datafile until a specified time?
A: RMAN> RESTORE DATAFILE 7; A: SQL "ALTER SESSION
SET NLS_DATE_FORMAT=''DD-MON-YYYY HH24:MI:SS''"; SET UNTIL
Q: How do you recover a corrupted datafile? TIME '04-AUG-2002 01:04:22'; RESTORE DATABASE; RECOVER
A: RMAN> RECOVER DATAFILE 7; DATABASE;

Q: How do you perform a complete database backup using the RMAN Q: When do you use the RESETLOGS option?
tool? A: When you perform an incomplete recovery.
A: rman> RUN { ALLOCATE CHANNEL mybackup TYPE disk; BACKUP
DATABASE; }-- OR -- Q: How do you perform a LIST and REPORT commands in the RMAN
rman> BACKUP DATABASE; tool?

Q: Describe the LIST BACKUP command.


Q: How do you get a list of the schemas that can be deleted?
A: RMAN> LIST EXPIRED BACKUPSET ; RMAN> LIST BACKUP OF A: RMAN> REPORT SCHEMA ;
TABLESPACE tools; RMAN> LIST INCARNATION OF DATABASE ; RMAN>
REPORT NEED BACKUP ; RMAN> REPORT OBSOLETE ; RMAN> Q: What is Oracle Networking?
REPORT SCHEMA ; A: Oracle networking is a method for a DBA to manage connectivity between
database application clients and the server.
Q: How do you write a RMAN script?
A: RMAN> CREATE SCRIPT backup_tools { BACKUP TABLESPACE tools; } Q: What tool does Oracle use to establish client/server connectivity?
A: Oracle uses the SQL*NET tool (Oracle Networking Utility ) such as NET8 to
Q: How do you replace a RMAN script? perform connectivity, security, performance , configuration , and administration
A: RMAN> REPLACE SCRIPT backup_tools { BACKUP TABLESPACE tools of its network.
PLUS ARCHIVELOG ; }
Q: What tool does a DBA use to configure an Oracle Network?
Q: How do you delete a RMAN script? A: The NET8 Assistant or the NET8 Easy Config tools.
A: RMAN> DELETE SCRIPT backup_tools;
Q: What is a dedicated server?
Q: How do you run a RMAN script? A: In the dedicated server, a server doesn‟t share its work with any other
A: RMAN> RUN {EXECUTE SCRIPT backup_tools;} clients.

Q: How do you get a list of the backup of the datafiles for a tablespace? Q: What is a shared server?
A: RMAN> LIST BACKUP ; A: In the dedicated server, a server shares its work with other clients.

Q: How do you get a list of objects that need backup? Q: What is multithreaded sever (MTS)?
A: RMAN> REPORT NEED BACKUP ; A: The Multithreaded server (MTS) will be used when your clients (user
processes) are using shared server. Connecting your client (user processes)
Q: How do you get a list of objects with their confirmed retention policy? to shared servers in the multithreaded server (MTS) configuration is designed
A: RMAN> REPORT NEED BACKUP ; to reduce network traffic. Notice that the MTS architecture consists of a
SQL*NET listener , which hears user requests from across the network and
Q: How do you get a list of a database incarnations? passes all requests to the dispatcher .
A: RMAN> LIST INCARNATION OF DATABASE ;
Q: Describe a dispatcher jobs in the Oracle database.
Q: How do you get a list of the backup sets that are obsolete? A: A dispatcher can receive information from a client or the Connection
A: RMAN> REPORT OBSOLETE ; Manager server. A communication between a dispatcher and a shared server
will be performed through the Common Request Queue and the Response
Q: How do you get a list of the image copies that are obsolete? Queue in the System Global Area.
A: RMAN> REPORT OBSOLETE ;
Q: Describe the Common Request Queue in the SGA.
A: The Common Request Queue and the Response Queue in the System
Global Area performs a communication between a dispatcher and a shared Q: How many different ways can a user connect to the Oracle database
server. using Oracle NET?
A: Oracle NET helps you connect users to the Oracle database through TCP
Q: What does the Oracle Connection Manager utility? /IP, DECnet, IPX, and many other LAN or WAN products. It allows for Internet
A: We use the Oracle Connection Manager utility to configure the network that computing and Client/Server architecture. The Client/Server architecture
can act as a firewall for checking authorization and as a multi-protocol requires you to maintain a local copy of database connectivity and naming
interchange translates from one network protocol to another. You can use the information on the client side. This decentralization is only viable an
Connection Pooling feature to reduce the burden on the Oracle Network . It organization has a few users. See the Connection for a client to a server
allows the server to define a maximum number of connection sockets. If one Figure.
connection socket is inactive, it will disable it temporarily in order to process
the new one. Q: Describe a connect string.
A: A „Connect String‟ tells that where your database is located and what type
Q: What does the Oracle Internet Directory (OID) provide for Oracle of protocol will be used to communicate with the database server. An example
users? of connect string is: SQL> CONNECTsystem/manager@connect_string.
A: We use the Oracle Internet Directory (OID) to provide a single, centralized
repository for all user data. It creates and manages user identities, roles, Q: What does a connect descriptor contain?
authorization and authentication credentials, and profiles within a single A: It contains network-specific, host name, Oracle SID, and specific port
repository. number.

Q: What is the Oracle Names (ONAME) Utility? Q: What is a listener in the Oracle environment?
A: We use the Oracle Names utility to centrally define the service addresses, A: The listener on the server always is listening or waiting for a call using the
inter-database links, net service names (aliases), and client configuration same port number (default is: 1521 or 1526). When the listener hears a call, it
profiles by using Oracle Enterprise Manager utility (OEM). will either reject or accept the call. It will reject it only if the user process
requests a connection to a SID that it doesn‟t give service, has a wrong
Q: Describe the Single Sign-On feature in the Oracle environment. password, or the database is down.
A: It is a feature to let a user access multiple accounts and applications with a
single password by using the Oracle Advanced Security . Q: What is a System Identifier (SID) in an Oracle database?
A: The System Identifier (SID) is a unique name identifier that is assigned to
Q: Describe the Oracle Wallet Manager feature in the Oracle an instance in a server.
environment.
A: It is a feature to authenticate a user to multiple services, such as database Q: What are the relationships between a listener, user processes,
and application servers. The contents of the wallet are encrypted with a key dedicated servers, shared servers, and dispatchers?
based on a user-specified password. It is part of Oracle‟s SSL implementation. A: If accepted, then the listener process assigns either a new dedicated
server, prespawned dedicated server, or the least busy dispatcher to the user
Q: What is a protocol? process depending on the listener configuration file (listener.ora ). If a listener
A: It is a translator. (listener.ora ) was configured to use a dedicated server process, then it
generates or spawns a new dedicated server for that user process. Once the
user process and dedicated server shake hands, the listener will be isolated. Q: How do you configure a LISTENER with one or more protocol?
Now, the user process requests the dedicated server to provide data on its A: Just add more protocol to it.
behalf and when the user process ends, the dedicated server ends too. If a (ADDRESS=(PROTOCOL =tcp) (HOST=mycomupter) (PORT=1521))
listener was configured to use a shared server, then it will provide the user
process with the least busy dispatcher process. Now, the user process will Q: Describe the PAMN background process jobs.
establish a connection with the dispatcher directly. The dispatcher process will A: Its job is to make sure that if a user process got disconnected, clean the
maintain a queue for the user process to place its data requests on. Note that entire remaining task.
the dispatcher has number of shared processes to work with. They will pull the
user‟s request off the queue in FIFO (First in First Out) order and process the Q: How can you assign a password to you listener?
request in behalf of the user process. A: Add the following line to the listener.ora file.
PASSWARDS _listener4mydbs=(X6Z76H07Y34D)
Q: How do you configure a LISTENER in your database server?
A: The listener ‟s configuration file is stored in listener.ora , which is located in Q: How do you turn on the trace utility on a listener on the user level?
the default directory $ORACLE_HOME/network/admin on UNIX and A: Add the following line to the listener.ora file.
%ORACLE_HOME\network\admin on Windows. If you are going to relocate TRACE_LEVEL _listener4mydbs=(OFFADMINUSERSUPPORT)
the configuration file make sure to set the TNS_ADMIN environment variable.
An example of listener .ora : Q: How do you start a listener?
LISTENER4MYDBS= A: $ lsnrctl start
(DESCRIPTION=
(ADDRESS_LIST= Q: How do you stop a listener?
(ADDRESS=(PROTOCOL =tcp) (HOST=mycomupter) (PORT=1521)) A: $ lsnrctl stop
(ADDRESS=(PROTOCOL =ipc) (KEY=extproc))
) Q: What does the reload command do in the listener?
) A: It reloads the modified listener file.
SID_LIST_LISTENER4MYDBS=
(SID_LIST= Q: What are the various naming method supported by Oracle Net?
(SID_DESC= A: The following are the various naming methods supported by Oracle Net.
(GLOBAL_DBNAME =mydbs.company) 1- Host Naming Method
(ORACLE_HOME=/u01/app/oracle/product/9.2.0) 2- Local Naming Method
(PROGRAM=extproc) 3- Directory Naming Method
(SID_NAME =mydbs) 4- Oracle Names Method
)
) Q: Describe the Host Naming Method.
A: When you using the Host Naming method, a client must specify a
Q: Can you have multiple listeners running on a database server? username, password, and a connect string. The connect string either should
A: Yes. be the hostname or its IP address. The database listener on the server must
listen to the port number 1521. This will not work if you change the port Manager tool?
number. A: Click on the „Logging & Tracing‟ tab to enable or disable your logging. The
default is enabled and the location of your log is:
Q: Describe the Local Naming Method. %ORACLE_HOME\network\log\. You can also, disable or enable the tracing.
A: When you using the Local Naming method, the same as the Host Naming The default is disabled. Enabling this option may generate thousands of bytes
method, a client must specify a username, password, and a connect string. of dump to trace the network traffic. The tracing can be on USER, ADMIN, etc.
The connect string must be your Service Name. The Service Name is an entry
that was defined in the TNSNAMES.ORA file. The TNS stand for Transparent Q: How do you add a service name using the Net Manager tool?
Network Substrate. In contrast to the Host Naming Method , the Local Naming A: To create a Service Name , highlight the Service Naming item and then
Method can use any port number as long as it has not been used. The Oracle click on the Green „+‟ sign (Create icon). In the „Net Service Name Wizard:
default port number is 1521 or 1526. Welcome‟ window, type your net service name (myaccess). Click Next.

Q: Describe the Oracle Names Method. Q: How do you modify a service name the Net Manager tool?
A: When you using the Oracle Names method, the same as the Local Naming A: Open a service name and then modify the changes.
method, a client must specify a username, password, and a connect string.
The connect string must be your Service Name. In contrast to the local Q: How do you test a service name using the Net Manager tool?
Naming Method , the Oracle Names Method will use the IP address or host A: Click on the Test button to test the connection. If failed check the userid
name where the Oracle Name Server was installed (not the database and password. To change the userid and password, you should click on the
hostname or IP address) and is listening. Then from the Oracle Name Server, „Change Login‟ push button on the window. Type the right userid and
a user process will be directed to an assigned destination database server. password (SYSTEM/MANAGER) and click OK to close the window. In the
Connection Test window, click on the „Test‟ button again. If your user id or
Q: How do you add a listener using the Net Manager tool? your net work configuration parameter were right, then you get „The
A: Click on the „+‟ sign next to the „Listeners‟ item to expand it. You will see a connection test was successful.‟ Then Close the window and click „Finish.‟
default created listener. To create a new listener, highlight the „Listeners‟ item Notice that the „MYACCESS‟ service name was added to the list of Service
and click on the green „+‟ sign in the vertical toolbar in the Oracle Net Manager Name.
window. In the „Choose Listener Name‟ window, type a new listener name
such as „MYLISTENER‟ and then click OK.

Q: How do you modify a listener using the Net Manager tool?


A: Open the listener and modify the changes.

Q: How do you view all listeners in your server using the Net Manager
tool?
A: In the Oracle Net Configuration section, expand the Local item. In the Local
item, you can display listeners.

Q: How do you enable or disable a listener’s logging using the Net

You might also like