1. How to specify the Archived log file name format and destination?

By setting the following values in init.ora file.

LOG_ARCHIVE_FORMAT = arch %S/s/T/tarc (%S - Log sequence
number and is zero left paded, %s - Log sequence
number not padded. %T - Thread number lef-zero-paded and
%t - Thread number not padded). The file name created is
arch 0001 are if %S is used.
LOG_ARCHIVE_DEST = path.

2. Explain What is the use of ANALYZE command?

To perform one of these function on an index,table, or cluster:

- to collect statisties about object used by the
optimizer and store them in the data dictionary.
- to delete statistics about the object used by
object from the data dictionary.
- to validate the structure of the object.
- to identify migrated and chained rows of the table or
cluster.

3. How to reduce the network traffic?

Replication of data in distributed enviroonment.
Using snapshots to replicate data.
Using remote procedure calls.

4. What is snapshots?

snapshot is nothing but a consistance data for master table
if any chance the master table snapshot is fatch the
updated data for master table.

5. Do you know What are the various type of snapshots?

snapshots is three types of complite,fast and force.

6. Differentiate the simple and complex, snapshots?

A simple snapshot is based on a query that does not
contains GROUP BY clauses, CONNECT BY clauses, JOINs,
sub-query or snashot of operations.
- A complex snapshots contain atleast any one of the above.

7. What is dynamic data replication?

Dynamic data replication is feture of oracle actualy the to
more database ex:- this is production database and other
database with and synconoze with the production databse
throuth the dynamic replication. if any change the proction
database the symaltantinasly change the other database the
replication. the benefite the the user can access any were
ether prodction or syn with other database.

8. How to Enforce Refrencial Integrity in snapshots?

Time the references to occur when master tables are not in use.
Peform the reference the manually immdiately locking the
master tables. We can join tables in snopshots by creating
a complex snapshots that will based on the master tables.

9. Explain What are the options available to refresh snapshots?

COMPLETE - Tables are completly regenerated using
the snapshot's query and the master tables every time the
snapshot referenced.

FAST - If simple snapshot used then a snapshot log can be
used to send the changes to the snapshot tables.

FORCE - Default value. If possible it performs a FAST
refresh; Otherwise it will perform a complete refresh.

10. Explain snapshot log?

It is a table that maintains a record of modifications to
the master table in a snapshot. It is stored in the same
database as master table and is only available for simple
snapshots. It should be created before creating snapshots.

Download Interview PDF