oracle进程代码,Oracle 12c进程结构 01

A is a mechanism in an operating system that can run a series of steps. The process execution architecture depends on the operating system. For example, on Windows an Oracle background process is a thread of execution within a process. On Linux and UNIX, an Oracle process is either an operating system process or a thread within an operating system process.

一个进程是在操作系统中用于一些特定步骤实现特定功能的一个方法.进程的执行方法依赖于操作系统.比如说,在Windows的一个Oracle进程是一个进程中的的执行线程.Linux和Unix中, 一个Oracle的进程 也许是一个操作系统进程,或者是一个操作系统进程中的线程.

Processes run code modules. All connected Oracle Database users must run the following modules to access a :

多数进程的运行时基于代码的编写方式, 所有连接到ORACLE数据库中的用户必须使用以下的方式来访问数据库实例.

Application or Oracle Database utility

应用或者数据库工具

A database user runs a database application, such as a program or a database tool such as SQL*Plus, that issues SQL statements to a database.

一个数据库用户启动了一个数据库应用,比如预编辑器,或者一个sql plus的数据库工具,发出了一条SQL语句

Oracle database code

Oracle数据库代码

Each user has Oracle database code executing on his or her behalf that interprets and processes the application's SQL statements.

每一个用户会拥有一些数据库代码,这些代码经过解释和编译体现为应用的SQL语句

A process normally runs in its own private memory area. Most processes can periodically write to an associated trace file (see "").

一般情况下一个进程运行在它自己的自由内存空间中。绝对大数进程会周期性的生成相关的Trace文件

如果有兴趣也可以参照如下内容

"" and

Types of Processes 进程类型

A database instance contains or interacts with the following types of processes:

一个数据库实例包含以下进程的类型

A runs the application or Oracle tool code.

运行应用程序或者Oracle工具的客户端进程

An is a unit of execution that runs the Oracle database code. In the multithreaded architecture, an Oracle process can be an operating system process or a thread within an operating system process. Oracle processes include the following subtypes:

一个Oracle的进程,是一个运行 Oracle数据库代码的可执行但愿. 在多线程结构中,一个Oracle进程可以是一个操作系统进程,或者是一个操作系统进程中的线程.Oracle进程包含以下类型

A starts with the database instance and perform maintenance tasks such as performing , cleaning up processes, writing redo buffers to disk, and so on.

后台进程.随着数据库实例的启动而运行,用于执行维护任务,例如执行实例级别的回复,清除没有用的进程,将redo buffer进入磁盘中等.

A performs work based on a client request.

系统进程,执行是基于客户端请求的任务。

For example, these processes parse SQL queries, place them in the , create and execute a for each , and read buffers from the or from disk.

比如说,有一些进程用于解析SQL查询,将这些SQL放入共享池中,创建并且依据执行计划来执行每一个查询,以及从数据库缓存或者磁盘中读取数据

Note:

Server processes, and the process memory allocated in these processes, run in the database instance. The instance continues to function when server processes terminate.

系统进程, 以及分配给这些进程的内容,都运行在数据库实例中,当服务器进程中断的时候实例会继续提供服务

A slave process performs additional tasks for a background or server process.

从属进程,用于执行一些针对后台进程还有服务器进程的 额外的任务

The process structure varies depending on the operating system and the choice of Oracle Database options. For example, you can configure the code for connected users fororconnections. In a shared server architecture, each server process that runs database code can serve multiple client processes.

进程结果的变化依赖与操作系统和数据库选项的调整。比如说,你可以通过代码配置将数据库条调整问专用服务器或者共享服务器。在一个共享服务器结构中,没一个运行有数据库代码的服务器进程都可以对多个客户端进程提供服务

shows aand background processes using dedicated server connections. For each user connection, a client process runs the application. This client process that is different from the dedicated server process that runs the database code. Each client process is associated with its own server process, which has its own.

下图列出了系统全局区的结构图,包含用于专用服务器连接的后台进程.每一个用户连接都针对一个客户端进程运行应用的程序客户端进程与专用服务器进程不同的是,每一个客户端进程都关联到它自己对应的服务器进程,并且每一个与它关联的服务器进程都有自己的程序全局区

5f7d99b04ae19a4bcab836d4cccc8766.gif

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值