Few Basics from architecture part for ORACLE DBA
Diffrence between Nomount,mount,open
Nomount – The database instance has been started (processes and memory structures have been allocated, but control file is not yet accessed).
Mount – Instance has accessed the control file, but has not yet validated its entry or accessed the datafiles.
Open – Instance has validated the entries in the control files and is accessing the datafiles – it is now open for business.
The startup process is Nomount -> Mount -> Open.
Diffrence Between listener.ora and tnsname.ora
******************************************Oracle acts as a Client-Server software. That means you have two main ends, the Client who must somehow get to the server, and the server who must accept connexion requests from clients.
When the client attempts to connect to the server, you give him a "Service". The service is mainly 4 info: Host for the server, Protocol and port (the language to speak) ad SID (name of the instance/database). Those 4 infos are usually and by default locates in a tnsnames.ora. This is called: Translation Named Server - errrrrr Service - errrr Ser* :)
On the server side you must have one or more active processes (daemons) who are waiting for the client to attempt a connection. Those services are called Listeners. In most cases only one listener is required. This listener is configured via a listener.ora file. This file includes the process config, mainly: Host for which it listens, protocol and port, list of SID for which the process can establish a connexion.
Furthermore, if you're connecting to the database on the server computer, and it's the default database, you don't need to tell where you're going when you're the client. Default Database. You don't even need to have a listener.
***********************************************************************************
Diff between sqlnet & tnsnames.ora
******************************>
This tnsnames.ora file is a configuration file that contains net service names mapped to connect descriptors for the local naming method, or net service names mapped to listener protocol addresses.
sqlnet.ora:
>
The sqlnet.ora file is the profile configuration file. It resides on the client machines and the database server. Profiles are stored and implemented using this file. The database server can be configured with access control parameters in the sqlnet.ora file. These parameters specify whether clients are allowed or denied access based on the protocol.
Comments
Post a Comment