oracle专有和共享服务模式
专有模式:
在专有服务器配置中,Oracle为每个连接到服务器得客户机启动一个专用服务器进程。一个客户机的专用服务器进程只为此客户机工作。各专用服务器进程完全独立,无需共享数据。在用户会话存在的整个过程中,相应的专用服务器进程一直存在,不论用户是否活动。直到用户会话终止后,该应用的专用服务器进程才终止。在专用服务器模式下,用户进程与服务进程是一一对应的关系。如果同时有大量用户会话,服务器就要创建相同数目的专用服务器进程。
图一 专用服务器模式结
共享服务器模式:
在共享服务器模式下,实例在启动时创建一定数目的服务器进程,在一个调用进程的帮助下,这些服务进程可以为任意数目的客户机服务。
服务器进程的数目可以根据服务器所在的计算机的内存容量,cpu速度等来确定。
图二,共享模式
相关文档:
1. 取A表的数据,更新B表字段
update m_build b
set b.district_id=(
select d.district_id
from
bjhouse.d_district d
where
b.build_name_jq=d.district_name)
where exists
(select 1
from ......
Oracle log files : An introduction
The Oracle server maintains the redo Oracle log files to minimize the loss of data in the Database in case of an uncontrolled shutdown.
Online redo Oracle log files are filled with redo records. A redo record, also called a redo entry, is made up of a gr ......
Oracle 无监听程序
近日本地的Oracle数据库无法连接,抛出无监听程序错误,baigoogledu一下,总结了如下解决方案:
First:
一、运行监听器
在CMD中输入以下内容:
C:>lsnrctl
LSNRCTL for 32-bit Windows: Version 8.1.6.0.0 - Production on 14-3月 -2003 14:17
: ......
[oracle@dba01 dbs]$ orapwd file=/oracle/app/oracle/product/10.2.0/db_1/dbs/orapworcl password=oracle entries=20 force=y
[oracle@dba01 dbs]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 29 13:07:10 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Con ......