For a listener to forward client connections to an instance, the listener must know the name of the instance and where the instance’s ORACLE_HOME is located. The listener can find this information in two ways:
1、Dynamic service registration: Oracle8i, Oracle9i, and Oracle Database 10g instances automatically register with the default listener on database startup. No additional listener configuration is required for the default listener.
2、Static service registration: The earlier releases of the Oracle database do not automatically register with the listener and, therefore, require that the listener configuration file contain a list of all database services that the listener will serve. You may still choose to use static service registration with newer releases if:
- Your listener is not on the default port of 1521, and you do not want to configure your instance to register with a nondefault port.
- Your application requires static service registration.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/38542/viewspace-1004984/ ,如需转载,请注明出处,否则将追究法律责任。