Sample Questions Best site for GRE, LSAT, SAT, GMAT, TOEFL, CCNA, CCSA and interview sample questions  

Technical Sample Questions : C |  C++ |  Oracle |  Java | Unix |  Operating Systems |  Data Structure

Oracle Sample Questions ›› Oracle SQL*Net

Technical Sample Questions

Oracle Sample Questions : SQL*Net

  1. What is SQL*Net?

    Answer: SQL*NET is Oracle's client/server middleware product that offers transparent connection from client tools to the database or from one database to another.

  2. What is TNS?

    Answer: TNS or Transparent Network Substrate is Oracle's networking architecture.TNS provides a uniform application interface to enable network applications to access the underlying network protocols transparently.

    The TNS architecture consists of three software components: TNS-based applications, Oracle Protocol Adapters, and networking software like TCP/IP.

  3. How does one configure SQL*Net?

    Answer: Most people prefer to edit the SQL*Net configuration files by hand.The only "officially supported" configuration method, however, is via the Oracle Network Manager utility.

  4. How can I produce a trace file?

    Answer: Create/edit your SQLNET.ORA file.You will find the SQLNET.ORA file in one of the following locations (SQL*Net V2 searches for it in this order):

    • Directory pointed to by the TNS_ADMIN parameter ($TNS_ADMIN on Unix)
    • /var/opt/oracle (Unix only)
    • $ORACLE_HOME\network\admin directory

    It should contain the following lines to produce a trace file:



  5. How can I set up a dedicated server?

    Answer: Set the dedicated server option in your database connects


    (NODE=yourServerName)) (CONNECT_DATA=(SID=yourSid) (SERVER=DEDICATED)))

    or edit your TNSNAMES.ORA file and add the (SERVER=DEDICATED) part in the CONNECT_DATA list.

  6. Can I upgrade to SQL*Net V2 if I still have V1 clients?

    Answer: SQL*Net V1 cannot talk with SQL*Net V2, and vice versa.The only way to overcome this problem is to run SQL*Net V1 and V2 simultaneously on the same database server.You can then install SQL*Net V2 on your clients as time permits.SQL*Net V1 and V2 can coexist on the same server, or on the same client. You can also list V1 connect strings in your TNSNAMES.ORA file.

    ORA1_NET1 = T:machine_name/port:database_name

  7. How can I enable dead connection detection?

    Answer: Dead database connections can be detected and killed by SQL*Net if you specify the SQLNET.EXPIRE_TIME=n parameter in your SQLNET.ORA file.This parameter will instruct SQL*Net to send a probe through the network to the client every n minutes, if the client doesn't respond, it will be killed.

  8. What different protocol drivers are supported?

    Answer: These are the main SQL*Net protocol adapters supported by Oracle:

    • IBM's VTAM
    • DEC Net
    • IBM's LU 6.2
    • Named Pipes
    • TCP/IP
    • Novell's IPX/SPX
    • IBM MVS Cross Memory
    • NetBEUI

  9. Can one get connected to a database regardless of machine failure?

    Answer: With SQL*Net V2 you can connect to a database, even if some kind of physical failover occurred.Look at the following example:

    oradb1 = (DESCRIPTION =


    (ADDRESS =



    (HOST = Machine01))

    (ADDRESS =



    (HOST = Machine02)))



    Suppose Machine01 is down, then every new SQL*NET connection using service oradb1 will automatically login to Machine02.However, there is one restriction, the SID must be the same on both machines.This feature can provide guaranteed login for application servers and the Oracle Parallel Server.

Sample Test Questions
GRE Sample Questions
CAT Sample Questions
GMAT Sample Questions
TOEFL Sample Questions
ACT Sample Questions
SAT Sample Questions
LSAT Sample Questions
PSAT Sample Questions
MCAT Sample Questions
PMP Sample Questions
GED Sample Questions
ECDL Sample Questions
DMV Sample Questions
CCNA Sample Questions
MCSE Sample Questions
Network+ Sample Questions
A+ Sample Questions
Technical Sample Questions
WASL Sample Questions
CISA Sample Questions

Other Sample Questions
Sample Interview Questions
Sample Teacher Interview Questions
Sample Citizenship Questions
Accuplacer Sample Questions
Science Bowl sample Questions
Driving Test Sample Questions
Sample Survey Questions Sample Essay Questions
Sample Behavioral Interview Questions

Copyright © 2004-2013, Best BSQ. All Rights Reserved.