Oracle Process Architecture - Oracle 进程结构篇4

前言:接上一篇 Oracle Process Architecture - Oracle 进程结构篇3

          http://blog.csdn.net/nature_ann/article/details/12710827

1.Optional Background Processes可选的后台进程

<<----可选的后台进程是一些没有被强制定义的后台进程。大多数的可选后台进程包含特殊的任务或特性。比如某些后台进程,在它们是有效的情况下,支持 Oracle Streams AQOracle ASM ---->>

An optional background process is any background process not defined as mandatory. Most optional background processes are specific to tasks or features. For example, background processes that support Oracle Streams  Advanced Queuing (AQ) or Oracle Automatic Storage Management(Oracle ASM) are only available when these features are enabled.

<<----下面是一些常见的可选进程:ARCn,CJQO and Jnnn,FBDA,SMCO---->>

This section describes some common optional processes:

>>Archiver Processes(ARCn)

>>Job Queue Processes(CJQO and Jnnn)

>>Flashback Data Archiver Process(FBDA)

>>Space Management Coordinator Process(SMCO)

1.1  Archiver Processes –ARCn 归档进程

<<----归档进程,在日志切换发生时,拷贝在线重做日志,离线存储。归档进程还收集事务重做数据并且传输它到standby数据库。归档进程只有在数据库是归档模式和自动归档被设置为enabled时才存在。---->>

The archiver processes (ARCn) copy online redo log files to offline storage after a redo log switch occurs. These processes can also collect transaction redo data and transmit it to standby database destinations. ARCn processes exist only when the database is in ARCHIVELOG mode and automatic archiving is enabled.

1.2 Job Queue Processes –CJQ0 and Jnnn 作业队列进程

<<----Oracle数据库使用作业队列进程来运行用户作业,通常使用批处理模式。作业是由用户定义的任务,被调度一次或多次。例如,你可以使用一个作业队列来定制一个在后台长时间运行更新的任务。设定一个开始时间和一个时间间隔,这个作业队列进程尝试在下一个间隔时间发生时运行该作业。---->>

Oracle Database uses job queue processes to run user jobs, often in batch mode. A job is a user-defined task scheduled to run one or more times. For example, you can use a job queue to schedule a long-running update in the background. Given a start date and a time interval, the job queue processes attempt to run the job at the next occurrence of the interval.

 

<<----Oralce数据库动态管理作业队列进程,在作业队列客户端有需要时,能使用更多的作业队列进程。当这些进程处于空闲时,数据库会释放资源给新的进程使用。 ---->>

Oracle Database manages job queue processes dynamically, thereby enabling job queue clients to use more job queue processes when required. The database releases resources used by the new processes when they are idle.

<<---- 动态作业队列进程可能会在一个指定的时间间隔里,大量的作业被同时运行。事件运行的顺序如下:1.Oracle 调度器根据需要会自动启动和停止作业协调器进程(CJQ0).协调器进程定期的从系统JOB$表中选择需要运行的作业。被选出来的新作业按时间排序。2.协调器进程动态派生出作业队列从属进程(Jnnn)来运行作业。3.作业队列进程运行由CJQ0(作业协调器进程)选出用来运行的某个作业。每一个作业队列进程一次运行一个作业直到完成。4.当进程完成单个作业的执行后,将会轮询更多的作业。如果没有作业被调度执行,则它进入睡眠状态,且在周期性醒来时再次轮询更多的作业。如果进程没有发现新的作业,那么它会在一个预设的间隔时间后悔终止。---->>

Dynamic job queue processes can run a large number of jobs concurrently at a given interval. The sequence of events is as follows:

>>The job coordinator process (CJQ0) is automatically started and stopped as needed by Oracle Scheduler. The coordinator process periodically selects jobs that need to be run from the system JOB$ table. New jobs selected are ordered by time.

>>The coordinator process dynamically spawnsjob queue slave processes (Jnnn) to run the jobs.

>>The job queue process runs one of the jobs that was selected by the CJQ0 process for execution. Each job queue process runs one job at a time to completion.

>>After the process finishes execution of a single job, it polls for more jobs. If no jobs are scheduled for execution, then it enters a sleep state, from which it wakes up at periodic intervals and polls for more jobs. If the process does not find any new jobs, then it terminates after a preset interval.

<<----初始化参数JOB_QUEUE_PROCESSES可以设定在一个实例上同时运行的作业队列进程的最大数目。然而,客户端不应假定所有作业队列进程都可用于执行作业。 ---->>

The initialization parameter JOB_QUEUE_PROCESSES represents the maximum number of job queue processes that can concurrently run on an instance. However, clients should not assume that all job queue processes are available for job execution.

1.3 Flashback Data Archiver Process –FBDA 闪回数据归档进程

<<----闪回数据归档进程将跟踪表的历史行到闪回数据归档区。当跟踪表中包含DML事务提交时,该进程将存储行的前镜像到闪回数据归档区。然而,它也会保存当前行上的元数据。 ---->>

The flashback data archiver process (FBDA) archives historical rows of tracked tables into Flashback Data Archives. When a transaction containing DML on a tracked table commits, this process stores the pre-image of the rows into the Flashback Data Archive. It also keeps metadata on the current rows.

<<----闪回数据归档进程管理闪回数据归档区的空间、组织和保留期等。此外,该进程还记录被跟踪的事务归档已经发生了多长时间。---->>

FBDA automatically manages the flashback data archive for space, organization, and retention. Additionally, the process keeps track of how far the archiving of tracked transactions has occurred.

1.4 Space Management Coordinator Process –SMCO 空间管理协调器进程

<<---- 空间管理协调进程协调各种空间管理相关的执行任务。比如主动预防性空间的分配和空间回收。SMCO进程动态派生出从属进程(Wnnn)来执行此任务。---->>

The SMCO process coordinates the execution of various space management related tasks, such as proactive space allocation and space reclamation. SMCO dynamically spawns slave processes (Wnnn) to implement the task.

 

待续。。

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值