Alter System Set Service_names
Alter system set service_names. Alter system set log_archive_dest_2servicedb11g_stby noaffirm async valid_foronline_logfilesprimary_role db_unique_namedb11g_stby. SQL show parameter service_names NAME TYPE VALUE----- ----- -----service_names string service2 service1 DATAPUMP doesnt change existing service name and no impact to existing services. SQL sho parameter service NAME TYPE VALUE----- ----- -----service_names string dba SQL shut immediate Database closed.
Oracle Database Cloud Schema Service - Version NA and later. Lets see Listener Status after Parameter change. What I have done so far and what has worked before to change the service name mydbfoobarto mydbonly.
Service name can be different from database name or instance name also know as SID. If you do not specify a service name for a database the service name will default to the Oracle Database - Global Database Name GLOBAL_NAME. For example if the listener address abcd is entered then it resolves to one listener address.
ORACLE instance shut down. During installation the service name was defined with the default domain but wed like to get rid of that. SQL startup ORACLE instance started.
SID_LIST_LISTENER SID_LIST SID_DESC. Alter system set service_names mydb scope. If the address is entered as abcd then it resolves to two listener addresses ab and cd.
Service_names Hi All Please let me know how to added services in 10g. Service name is like an alias that allow us to connect the db it can be recorded in tnsnamesora file or may not be recorded in tnsnamesora file it depends what connection method we use to connect. Alter system set global_names true scopeboth.
Execute immediate alter system set service_names service_namesservice_names2 scopememory. Ii Listener should be started using CDB environment file.
Modify init ora file and add new_service_name to service_names parameter.
It must be like this. Alter system set service_namesCAMAT1 scopeboth. For example if the listener address abcd is entered then it resolves to one listener address. During installation the service name was defined with the default domain but wed like to get rid of that. What I have done so far and what has worked before to change the service name mydbfoobarto mydbonly. Service name can be different from database name or instance name also know as SID. Alter system set global_names true scopeboth. I am working on a 10g database and somehow the service name got configured wrong. ORACLE instance shut down.
Connect to the CDB and run the following commands. Alter system set log_archive_dest_2servicedb11g_stby noaffirm async valid_foronline_logfilesprimary_role db_unique_namedb11g_stby. The Oracle Database - Service name is specified by the SERVICE_NAMES initialization Oracle Database - InitializationSystem Parameters. SQL startup ORACLE instance started. Oracle Database - Enterprise Edition - Version 10201 and later. Ii Listener should be started using CDB environment file. Additionally the SCOPE clause specifies the scope of a change as described below.
Post a Comment for "Alter System Set Service_names"