Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
What is an LOV?
An LOV is a scrollable popup window that provides the operator with either a single
or multi column selection list.
What are the built -ins used for Modifying a groups structure?
ADD-GROUP_COLUMN (function)
ADD_GROUP_ROW (procedure)
DELETE_GROUP_ROW(procedure)
I've lost my REDOLOG files, how can I get my DB back? (for DBA)
The following INIT.ORA parameter may be required if your current redo logs are
corrupted or blown away. Caution is advised when enabling this parameter as you
might end-up losing your entire database. Please contact Oracle Support before
using it. _allow_resetlogs_corruption = true
What is a property clause?
A property clause is a named object that contains a list of properties and their
settings. Once you create a property clause you can base other object on it. An
object based on a property can inherit the setting of any property in the clause that
makes sense for that object.
I've lost some Rollback Segments, how can I get my DB back? (for DBA)
Re-start your database with the following INIT.ORA parameter if one of your rollback
segments is corrupted. You can then drop the corrupted rollback segments and
create it from scratch.
Caution is advised when enabling this parameter, as uncommitted transactions will
be marked as committed. One can very well end up with lost or inconsistent data!!!
Please contact Oracle Support before using it. _Corrupted_rollback_segments =
(rbs01, rbs01, rbs03, rbs04)
What are the differences between EBU and RMAN? (for DBA)
Enterprise Backup Utility (EBU) is a functionally rich, high performance interface for
backing up Oracle7 databases. It is sometimes referred to as OEBU for Oracle
Enterprise Backup Utility. The Oracle Recovery Manager (RMAN) utility that ships
with Oracle8 and above is similar to Oracle7's EBU utility. However, there is no
direct upgrade path from EBU to RMAN.
How can a group in a cross products be visually distinguished from a group that
does not form a cross product?
A group that forms part of a cross product will have a thicker border.
What are three panes that appear in the run time pl/sql interpreter?
1. Source pane.
2. interpreter pane.
3. Navigator pane.
What are the two panes that Appear in the design time pl/sql interpreter?
1. Source pane.
2. Interpreter pane
What are the two ways by which data can be generated for a parameters list of
values?
1. Using static values.
2. Writing select statement.
What are the default extensions of the files created by menu module?
.mmb,
.mmx
What are the default extensions of the files created by forms modules?
.fmb - form module binary
.fmx - form module executable
To display the page no. for each page on a report what would be the source &
logical page no. or & of physical page no.?
& physical page no.
It is possible to use raw devices as data files and what is the advantages over file.
system files ?
Yes. The advantages over file system files. I/O will be improved because Oracle is
bye-passing the kernnel which writing into disk. Disk Corruption will be very less.
List the Optional Flexible Architecture (OFA) of Oracle database? or How can we
organize the tablespaces in Oracle database to have maximum performance ?
SYSTEM - Data dictionary tables.
DATA - Standard operational tables.
DATA2- Static tables used for standard operations
INDEXES - Indexes for Standard operational tables.
INDEXES1 - Indexes of static tables used for standard operations.
TOOLS - Tools table.
TOOLS1 - Indexes for tools table.
RBS - Standard Operations Rollback Segments,
RBS1,RBS2 - Additional/Special Rollback segments.
TEMP - Temporary purpose tablespace
TEMP_USER - Temporary tablespace for users.
USERS - User tablespace.
Which parameter in Storage clause will reduce no. of rows per block?
PCTFREE parameter
Row size also reduces no of rows per block.
What is the difference between locks, latches, enqueues and semaphores? (for DBA)
A latch is an internal Oracle mechanism used to protect data structures in the SGA
from simultaneous access. Atomic hardware instructions like TEST-AND-SET is used
to implement latches. Latches are more restrictive than locks in that they are
always exclusive. Latches are never queued, but will spin or sleep until they obtain
a resource, or time out.
Enqueues and locks are different names for the same thing. Both support queuing
and concurrency. They are queued and serviced in a first-in-first-out (FIFO) order.
Semaphores are an operating system facility used to control waiting. Semaphores
are controlled by the following Unix parameters: semmni, semmns and semmsl.
Typical settings are:
semmns = sum of the "processes" parameter for each instance
(see init<instance>.ora for each instance)
semmni = number of instances running simultaneously;
semmsl = semmns
Where can one get a list of all hidden Oracle parameters? (for DBA)
Oracle initialization or INIT.ORA parameters with an underscore in front are hidden
or unsupported parameters. One can get a list of all hidden parameters by
executing this query:
select *
from SYS.X$KSPPI
where substr(KSPPINM,1,1) = '_';
The following query displays parameter names with their current value:
select a.ksppinm "Parameter", b.ksppstvl "Session Value", c.ksppstvl "Instance
Value"
from x$ksppi a, x$ksppcv b, x$ksppsv c
where a.indx = b.indx and a.indx = c.indx
and substr(ksppinm,1,1)='_'
order by a.ksppinm;
Remember: Thou shall not play with undocumented parameters!
What is a database EVENT and how does one set it? (for DBA)
Oracle trace events are useful for debugging the Oracle database server. The
following two examples are simply to demonstrate syntax. Refer to later notes on
this page for an explanation of what these particular events do.
Either adding them to the INIT.ORA parameter file can activate events. E.g.
event='1401 trace name errorstack, level 12'
... or, by issuing an ALTER SESSION SET EVENTS command: E.g.
alter session set events '10046 trace name context forever, level 4';
The alter session method only affects the user's current session, whereas changes
to the INIT.ORA file will affect all sessions once the database has been restarted.
How free extents are managed in Ver 6.0 and Ver 7.0 ?
Free extents cannot be merged together in Ver 6.0.
Free extents are periodically coalesces with the neighboring free extent in Ver 7.0
What are the factors causing the reparsing of SQL statements in SGA?
Due to insufficient Shared SQL pool size. Monitor the ratio of the reloads takes place
while executing SQL statements. If the ratio is greater than 1 then increase the
SHARED_POOL_SIZE. LOGICAL & PHYSICAL ARCHITECTURE OF DATABASE.