ローカル接続(リスナーを経由しない場合)
sqlplusとサーバプロセスの間に親子関係がある
[root@localhost ~]# ps -ef |grep 9433| grep -v grep oracle 9433 3998 0 21:03 pts/0 00:00:00 sqlplus as sysdba oracle 9434 9433 0 21:03 ? 00:00:00 oracleorcl (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq))) [root@localhost ~]#
リモート接続(リスナーを経由する場合)
sqlplusとサーバプロセスの間に親子関係がない。 リスナーからfork()??exec()??されているかららしい。
[root@localhost ~]# ps -ef |grep 9811|grep -v grep oracle 9811 1 0 21:09 ? 00:00:00 oracleorcl (LOCAL=NO) [root@localhost ~]# ps -ef |grep sqlplus|grep -v grep oracle 9809 3998 0 21:09 pts/0 00:00:00 sqlplus [root@localhost ~]#