在Oracle中,当用户要执行SELECT语句时,哪个进程从磁盘获得用户需要的数据

 我来答
百度网友9f70a8c
2010-05-25 · TA获得超过1179个赞
知道小有建树答主
回答量:574
采纳率:100%
帮助的人:639万
展开全部
各位不要误人子弟呀。应该是服务进程(server process)
ORACLE进程分后台进程跟服务进程,DBWR是后台进程,它只负责将DBBUFFER脏数据写到数据文件,是单向的。而与用户进程对应的服务进程则将数据块读到SGA。
concepts上写的很清楚:
Oracle processes run the Oracle server code. They include server processes and background processes.

Server processes (or the server portion of combined user/server processes) created on behalf of each user's application can perform one or more of the following:

1.Parse and run SQL statements issued through the application
2.Read necessary data blocks from datafiles on disk into the shared database buffers of the SGA, if the blocks are not already present in the SGA
3.Return results in such a way that the application can process the information
liyingcuo
2010-05-26 · TA获得超过272个赞
知道小有建树答主
回答量:123
采纳率:0%
帮助的人:117万
展开全部
DBWn将相关磁盘数据读到data buffer cache中去。
并负责将data buffer cache中的脏数据块写入磁盘。

查过concepts了果然是我错了。
受教了。多谢

When a client process requests a buffer, the server process searches the buffer cache for
the buffer. A cache hit occurs if the database finds the buffer in memory. The search
order is as follows:
1. The server process searches for the whole buffer in the buffer cache.
If the process finds the whole buffer, then the database performs a logical read of
this buffer.
2. The server process searches for the buffer header in the flash cache LRU list.
If the process finds the buffer header, then the database performs an optimized
physical read of the buffer body from the flash cache into the in-memory cache.
3. If the process does not find the buffer in memory (a cache miss), then the server
process performs the following steps:
a. Copies the block from a data file into memory (a physical read)
b. Performs a logical read of the buffer that was read into memory.
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
xautwuyi
2010-05-25 · TA获得超过404个赞
知道小有建树答主
回答量:570
采纳率:0%
帮助的人:368万
展开全部
应该是DBWR
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
爱学习爱茂茂
2017-11-03
知道答主
回答量:8
采纳率:0%
帮助的人:7920
展开全部
服务器进程
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
收起 更多回答(2)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式