New Oracle Security Interview Questions :: ALLInterview.com http://www.allinterview.com New Oracle Security Interview Questions en-us What are the benefits of distributed options in databases ? http://www.allinterview.com/showanswers/14201.html Database on other servers can be updated and those transactions can be grouped together with others in a logical unit. Database uses a two phase commit. When will the data in the snapshot log be used ? http://www.allinterview.com/showanswers/14200.html We must be able to create a after row trigger on table (i.e., it should be not be already available ) After giving table privileges. We cannot specify snapshot log name because oracle uses the name of the master table in the name of the what is snapshot log ? http://www.allinterview.com/showanswers/14199.html 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. What are the options available to refresh snapshots ? http://www.allinterview.com/showanswers/14198.html 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 snapsho How can you Enforce Refrencial Integrity in snapshots ? http://www.allinterview.com/showanswers/14197.html 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. What dynamic data replication ? http://www.allinterview.com/showanswers/14196.html Updating or Inserting records in remote database through database triggers. It may fail if remote database is having any problem Differentiate simple and complex, snapshots ? http://www.allinterview.com/showanswers/14195.html - 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. What are the various type of snapshots ? http://www.allinterview.com/showanswers/14194.html Simple and Complex. What is snapshots ? http://www.allinterview.com/showanswers/14193.html Snapshots are read-only copies of a master table located on a remote node which is periodically refreshed to reflect changes made to the master table. How can we reduce the network traffic ? http://www.allinterview.com/showanswers/14192.html Replication of data in distributed enviroonment. Using snapshots to replicate data. Using remote procedure calls. What is the use of ANALYZE command ? http://www.allinterview.com/showanswers/14191.html 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 fro How can we specify the Archived log file name format and destination http://www.allinterview.com/showanswers/14190.html 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 n How can you enable automatic archiving ? http://www.allinterview.com/showanswers/14189.html Shut the database Backup the database Modify/Include LOG_ARCHIVE_START_TRUE in init.ora file. Start up the databse. What are the steps to switch a database's archiving mode between http://www.allinterview.com/showanswers/14188.html To check database is in which mode 1. Conn sys/sys as sysdba 2. select log_mode from v$database To set database in Archivelog mode 1. shutdown immediate; 2. startup mount; 3. alter database archivelog; 4. alter database open; To set d What are roles ? How can we implement roles ? http://www.allinterview.com/showanswers/14187.html If a user wants to give some privileges to another user or a group of users then they will create role and they give this role to the users.let the privileges be 'insert' and 'update' on 'emp' table then instead of