リスナーコントロールのコマンドを確認する。
lsnrctl help
LSNRCTL for 64-bit Windows: Version 12.2.0.1.0 - Production on 05-6月 -2025 15:19:09
Copyright (c) 1991, 2016, Oracle. All rights reserved.
次の操作を使用できます。
アスタリスク(*)は修飾子または拡張されたコマンドを示します:
start stop status services
servacls version reload save_config
trace quit exit set*
show*
動的サービス登録を行う。
sqlplus /nolog
alter system set service_names=データベース1,データベース2,データベース3;
LOCAL_LISTENERを使用しない。
ALTER SYSTEM SET LOCAL_LISTENER='' SCOPE=BOTH;
C:\app\admin\virtual\admin\データベース\pfile\init.ora.*
- local_listener削除後
- 初期設定
##############################################################################
# Copyright (c) 1991, 2013 by Oracle Corporation
##############################################################################
###########################################
# SGA Memory
###########################################
sga_target=2399m
###########################################
# Miscellaneous
###########################################
compatible=12.2.0
diagnostic_dest=C:\app\admin\virtual
###########################################
# Cursors and Library Cache
###########################################
open_cursors=300
###########################################
# Cache and I/O
###########################################
db_block_size=8192
###########################################
# System Managed Undo and Rollback Segments
###########################################
undo_tablespace=UNDOTBS1
###########################################
# Security and Auditing
###########################################
audit_file_dest="C:\app\admin\virtual\admin\データベース\adump"
audit_trail=db
remote_login_passwordfile=EXCLUSIVE
###########################################
# Sort, Hash Joins, Bitmap Indexes
###########################################
pga_aggregate_target=800m
###########################################
# Database Identification
###########################################
db_name="データベース"
###########################################
# File Configuration
###########################################
db_create_file_dest="C:\app\admin\virtual\oradata"
db_recovery_file_dest="C:\app\admin\virtual\fast_recovery_area\データベース"
db_recovery_file_dest_size=9546m
###########################################
# Processes and Sessions
###########################################
processes=640
###########################################
# Shared Server
###########################################
dispatchers="(PROTOCOL=TCP) (SERVICE=データベースXDB)"
control_files=("C:\APP\ADMIN\VIRTUAL\ORADATA\データベース\CONTROLFILE\O1_MF_N???????_.CTL", "C:\APP\ADMIN\VIRTUAL\FAST_RECOVERY_AREA\データベース\データベース\CONTROLFILE\O1_MF_N???????_.CTL")
##############################################################################
# Copyright (c) 1991, 2013 by Oracle Corporation
##############################################################################
###########################################
# SGA Memory
###########################################
sga_target=2399m
###########################################
# Miscellaneous
###########################################
compatible=12.2.0
diagnostic_dest=C:\app\admin\virtual
###########################################
# Cursors and Library Cache
###########################################
open_cursors=300
###########################################
# Cache and I/O
###########################################
db_block_size=8192
###########################################
# System Managed Undo and Rollback Segments
###########################################
undo_tablespace=UNDOTBS1
###########################################
# Security and Auditing
###########################################
audit_file_dest="C:\app\admin\virtual\admin\データベース\adump"
audit_trail=db
remote_login_passwordfile=EXCLUSIVE
###########################################
# Sort, Hash Joins, Bitmap Indexes
###########################################
pga_aggregate_target=800m
###########################################
# Database Identification
###########################################
db_name="データベース"
###########################################
# Network Registration
###########################################
local_listener=LISTENER_データベース
###########################################
# File Configuration
###########################################
db_create_file_dest="C:\app\admin\virtual\oradata"
db_recovery_file_dest="C:\app\admin\virtual\fast_recovery_area\データベース"
db_recovery_file_dest_size=9546m
###########################################
# Processes and Sessions
###########################################
processes=640
###########################################
# Shared Server
###########################################
dispatchers="(PROTOCOL=TCP) (SERVICE=データベースXDB)"
control_files=("C:\APP\ADMIN\VIRTUAL\ORADATA\データベース\CONTROLFILE\O1_MF_N???????_.CTL", "C:\APP\ADMIN\VIRTUAL\FAST_RECOVERY_AREA\データベース\データベース\CONTROLFILE\O1_MF_N???????_.CTL")
コメント