亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ch15.htm

?? Teach yourself Oracle8 in 21 day
?? HTM
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>

	<TITLE>Teach Yourself Oracle 8 In 21 Days -- Ch 15 -- Managing Job Queues and Using Oracle Auditing</TITLE>
</HEAD>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF">

<CENTER>
<H1><IMG SRC="../buttonart/sams.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM" BORDER="0"><BR>
<FONT COLOR="#000077">Teach Yourself Oracle 8 In 21 Days</FONT></H1>
</CENTER>
<CENTER>
<P><A HREF="../wk3/wk3.htm"><IMG SRC="../buttonart/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../ch16/ch16.htm"><IMG
SRC="../buttonart/next.gif" WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" ALT="Next chapter"
BORDER="0"></A><A HREF="../index.htm"><IMG SRC="../buttonart/contents.gif" WIDTH="128"
HEIGHT="28" ALIGN="BOTTOM" ALT="Contents" BORDER="0"></A> 
<HR>

</CENTER>
<CENTER>
<H1><FONT COLOR="#000077">- Day 15 -<BR>
Managing Job Queues and Using Oracle Auditing</FONT></H1>
</CENTER>
<P>Today you will learn about managing job queues and the Oracle auditing facility.
Job queues are used to schedule jobs during off-peak hours or to schedule certain
tasks on a recurring basis. The Oracle job queue facility allows you to schedule
single or recurring tasks in an easy and reliable manner.</P>
<P>The Oracle auditing facility allows the administrator to monitor or audit the
system usage. Auditing is important if one or more incident has occurred to make
you suspicious of the activity of one or more users. Through auditing, a record is
made of the suspicious activity and can be used to track down the party at fault.
Think of auditing as a way of logging activity in the system.</P>
<P>Oracle job queues are used to divert the execution of an operation to a later
time. This allows you to schedule jobs.
<H2><FONT COLOR="#000077"><B>Managing Job Queues</B></FONT></H2>
<P><FONT COLOR="#000077"><B>New Term:</B></FONT><B> </B>A <I>job queue</I> is a method
whereby you can schedule a PL/SQL task to run at some time in the future, or even
to run periodically. The job-scheduling task can be done either graphically through
the Enterprise Manager or via the Oracle job-scheduling commands. As always, you
will learn about both methods here.</P>
<P>Using the Oracle job-queuing facility, you can easily schedule jobs to be run
at various times or on a regular schedule. Some examples of where this might be useful
include

<UL>
	<LI>Regularly scheduled jobs, such as end-of-day accounting--A job that must run
	every weekday can be scheduled to run unattended.
	<P>
	<LI>Large jobs that need to be run during off-peak hours--If you schedule them, you
	need not be present at 3:00 a.m.
	<P>
	<LI>A large number of jobs that must be run sequentially--In this case, the jobs
	might be so large that in order to reduce CPU usage, only one is run at a time.
</UL>



<BLOCKQUOTE>
	<P>
<HR>
<FONT COLOR="#000077"><B>NOTE:</B></FONT><B> </B>An advantage of scheduling jobs
	is that you need not be present when the job runs. A disadvantage is that if the
	job fails during its operation, nobody is around to restart it. Therefore, you should
	thoroughly test your job before queuing it. 
<HR>


</BLOCKQUOTE>

<P>Let's look at how to schedule jobs using both the Enterprise Manager and the stored
procedures in the <TT>DBMS_JOB</TT> package.
<H3><FONT COLOR="#000077"><B>Scheduling Jobs Using the Enterprise Manager</B></FONT></H3>
<P>As you recall from Day 5, &quot;Managing the Oracle RDBMS,&quot; the Enterprise
Manager has a pane called the Job pane. Within this pane you can manage jobs that
are running on this or other systems managed by this Enterprise Manager. By default,
the Job pane is located in the lower-left corner of the Enterprise Manager, as shown
in Figure 15.1.</P>
<P>Because this lesson is concerned only with the job-queuing functions of the Enterprise
Manager, I closed the other Enterprise Manager panes for the remaining figures in
today's lesson by deselecting them in the View drop-down menu.</P>
<P>To create a job using the Enterprise Manager, select the Create option by pulling
down the Job menu. This will invoke the Create Job dialog box, as shown in Figure
15.2. It is from this dialog that you create an Oracle job, as you will see in this
section.</P>
<P><A NAME="01"></A><A HREF="01.htm"><B>Figure 15.1.</B></A></P>
<P><I>The Oracle Enterprise Manager.</I></P>
<P><A NAME="02"></A><A HREF="02.htm"><B>Figure 15.2.</B></A></P>
<P><I>The Create Job dialog box.</I></P>
<P>Say you're the president of a dog club that keeps track of a large number of dogs
and their owners. Each week, an export image of this database is sent out to various
other dog clubs. Therefore, you want to create a job that, on a weekly basis, will
export the <TT>Dogs</TT> database. The first task is to invoke the Create Job dialog,
as you saw in the previous figure. This dialog has four different tabs that invoke
different screens, each of which has its own function. These tabs are

<UL>
	<LI>General
	<P>
	<LI>Tasks
	<P>
	<LI>Parameters
	<P>
	<LI>Schedule
</UL>

<P>These screens are very flexible and easy to use.
<H4><FONT COLOR="#000077"><B>The General Screen</B></FONT></H4>
<P>Use the General screen to uniquely define the job. Type the name of the job and
provide a description of it as well as defining the database, node, or listener that
the job will act on. The General screen, filled in for this example, is shown in
Figure 15.3.</P>
<P><A NAME="03"></A><A HREF="03.htm"><B>Figure 15.3.</B></A></P>
<P><I>Use the General screen to define the job.</I></P>
<P>
<H4><FONT COLOR="#000077"><B>The Tasks Screen</B></FONT></H4>
<P>You use the Tasks screen to define the task that the job will perform. There are
a number of predefined tasks, or you can define your own, as shown in Figure 15.4.</P>
<P><A NAME="04"></A><A HREF="04.htm"><B>Figure 15.4.</B></A></P>
<P><I>The Tasks screen is where you define what the job will do.</I></P>
<P>Possible choices include the following administrative tasks:

<UL>
	<LI>Backup Tablespace
	<P>
	<LI>Export
	<P>
	<LI>Import
	<P>
	<LI>Load
	<P>
	<LI>Run DBA Script
	<P>
	<LI>Run SQL*Plus
	<P>
	<LI>Shutdown Database
	<P>
	<LI>Startup Database
</UL>

<P>There are also a number of predefined, non-database administrative tasks, such
as

<UL>
	<LI>Broadcast Message
	<P>
	<LI>Run OS Command
	<P>
	<LI>Others
</UL>

<P>The appearance of the Parameters screen will vary depending on what type of task
is selected in the Tasks screen.
<H4><FONT COLOR="#000077"><B>The Parameters Screen</B></FONT></H4>
<P>The Parameters screen allows you to further define the parameters for the task
that was selected. Because I selected an export task for this example, this screen
allows me to define further export parameters, as shown in Figure 15.5.</P>
<P><A NAME="05"></A><A HREF="05.htm"><B>Figure 15.5.</B></A></P>
<P><I>You further define the task in the Parameters screen.</I></P>
<P>Here you can select the database to be exported as well as the export filename.
You can also choose to select export objects or advanced export options. The advanced
export options screen is shown in Figure 15.6.</P>
<P><A NAME="06"></A><A HREF="06.htm"><B>Figure 15.6.</B></A></P>
<P><I>You can choose advanced options for exporting.</I></P>
<P>This gives you a wide range of options for the export operation. Similarly, other
tasks have their own parameters you can set.
<H4><FONT COLOR="#000077"><B>The Schedule Screen</B></FONT></H4>
<P>The Schedule screen allows you to define how the job is to be run, as shown in
Figure 15.7.</P>
<P><A NAME="07"></A><A HREF="07.htm"><B>Figure 15.7.</B></A></P>
<P><I>You define the timing of the job in the Schedule screen.</I></P>
<P>Scheduling can be done at various rates, including

<UL>
	<LI>Immediately
	<P>
	<LI>Once
	<P>
	<LI>Interval (for example, every <I>x</I> days)
	<P>
	<LI>On Day of Week
	<P>
	<LI>On Day of Month
</UL>

<P>Scheduling is very flexible and easy to set up and run. At this point, all that
is necessary to schedule the job is to click the Submit button. You will see the
scheduled job listed on the Active Jobs screen, as shown in Figure 15.8.</P>
<P><A NAME="08"></A><A HREF="08.htm"><B>Figure 15.8.</B></A></P>
<P><I>The Active Jobs screen shows the status of active jobs.</I></P>


<BLOCKQUOTE>
	<P>
<HR>
<BR>
	<FONT COLOR="#000077"><B>NOTE:</B></FONT><B> </B>For job queuing to work properly,
	the user preferences must be set up correctly. The user for the database must be
	a valid database user with the system permissions necessary to perform the task required.
	The user for the node must be a valid NT user with &quot;login as batch job&quot;
	permission. This user must also have a password. Accounts with no passwords cannot
	be used. The preferences setup screen for the Enterprise Manager is shown in Figure
	15.9. For my setup I created a batch account and added the proper privileges. 
<HR>


</BLOCKQUOTE>

<P>It is important for the Enterprise Manager to be properly configured for it to
be able to submit jobs. After you have submitted the job, you can also modify it
from the Enterprise Manager.</P>
<P><A NAME="09"></A><A HREF="09.htm"><B>Figure 15.9.</B></A></P>
<P><I>Setting Enterprise Manager preferences.</I></P>
<P>
<H4><FONT COLOR="#000077"><B>Administering Jobs</B></FONT></H4>
<P>After the job has been scheduled, you can administer it from the Enterprise Manager.
You can't do much here except monitor the status and delete the job; these tasks
can be accomplished from the Jobs menu. Selecting the Show Details option shows you
how the job was submitted. Selecting the Remove Job option deletes the selected job.
<H3><FONT COLOR="#000077"><B>Scheduling Jobs Using the Command-Line Facilities</B></FONT></H3>
<P>It is possible to manage the Oracle job queues through the Server Manager or SQL*Plus
rather than use the Enterprise Manager. This is very useful because all users can
use Oracle queuing, and typically only administrators have access to the Enterprise
Manager console.</P>
<P>A job is administered by calling the <TT>DBMS_JOB</TT> package just as you would
call any other package. The stored procedures that make up this package are the following:

<UL>
	<LI><TT>BROKEN</TT>--Disables job execution without removing the job.
	<P>
	<LI><TT>CHANGE</TT>--Can be used to alter the job description, when it will run,

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人精品免费网站| 精品成人一区二区三区四区| 成人激情文学综合网| 国产精品1区二区.| 国产精品亚洲午夜一区二区三区| 激情都市一区二区| 国产毛片精品视频| 国产成人精品亚洲日本在线桃色| 国产美女视频91| 成人不卡免费av| 一本色道久久综合亚洲91| 色综合久久久久综合99| 一本久久综合亚洲鲁鲁五月天 | 97精品国产97久久久久久久久久久久 | 亚洲成av人影院在线观看网| 亚洲成人免费视频| 日韩av电影免费观看高清完整版| 蜜臀av一级做a爰片久久| 国产中文字幕一区| 国产成人av电影在线观看| av毛片久久久久**hd| 91在线视频观看| 欧美私人免费视频| 日韩视频一区二区三区在线播放| 久久久99精品久久| 国产精品久久久久久亚洲伦| 亚洲精品欧美激情| 亚洲va欧美va人人爽午夜| 免费成人在线观看| 国产宾馆实践打屁股91| 91免费在线看| 欧美精品一二三| 久久精品一区二区三区不卡牛牛 | 亚洲成av人片在线观看无码| 麻豆专区一区二区三区四区五区| 国产盗摄一区二区| 91国偷自产一区二区开放时间| 337p亚洲精品色噜噜狠狠| 久久久精品免费观看| 亚洲欧美视频在线观看视频| 日韩精品高清不卡| 成人妖精视频yjsp地址| 欧美日韩精品欧美日韩精品一| 精品欧美一区二区三区精品久久 | 亚洲免费电影在线| 另类小说图片综合网| 99精品视频在线观看免费| 91精品国产色综合久久| 欧美国产97人人爽人人喊| 午夜国产不卡在线观看视频| 国产精品99久久久久久似苏梦涵| 91九色02白丝porn| 久久精品人人爽人人爽| 一区二区免费看| 国产精品自拍网站| 91麻豆精品久久久久蜜臀| 17c精品麻豆一区二区免费| 美日韩一区二区| 色综合欧美在线| 久久久久久久久久电影| 午夜天堂影视香蕉久久| 成人动漫一区二区在线| 日韩欧美亚洲另类制服综合在线| 亚洲免费观看在线视频| 国产乱子伦视频一区二区三区| 欧美图区在线视频| 国产精品视频观看| 精品在线观看视频| 欧美视频在线播放| 亚洲人妖av一区二区| 国产一区二区三区香蕉| 欧美日韩成人在线一区| 日韩理论在线观看| 国产ts人妖一区二区| 欧美一二三四区在线| 亚洲一区二区3| 成人免费毛片高清视频| 26uuu久久综合| 日韩成人精品在线观看| 欧美日韩激情一区二区三区| 成人免费在线播放视频| 国产成人精品1024| 精品999在线播放| 奇米精品一区二区三区四区| 在线观看成人小视频| 亚洲日本电影在线| 不卡的av网站| 欧美国产视频在线| 国产成人在线电影| 久久精品这里都是精品| 国产麻豆精品视频| 精品欧美一区二区在线观看| 美女在线一区二区| 欧美一区二区福利在线| 日韩国产在线观看一区| 欧美精品自拍偷拍| 婷婷国产在线综合| 91精品国产91久久综合桃花 | 色婷婷av一区二区三区大白胸| 国产精品理伦片| www.视频一区| 国产精品国产三级国产普通话蜜臀 | 成人avav影音| 国产精品久久久久久久岛一牛影视| 国产经典欧美精品| 久久这里只精品最新地址| 精品一区二区影视| 久久久国产一区二区三区四区小说| 精品一区二区成人精品| 欧美精品一区二区三区高清aⅴ| 麻豆精品国产91久久久久久| 精品国产伦一区二区三区观看体验| 精品亚洲免费视频| 国产性天天综合网| av在线不卡观看免费观看| 亚洲免费av在线| 欧美日韩国产bt| 久久精品国产一区二区| 国产亚洲va综合人人澡精品| 99国产精品久久久| 亚洲国产中文字幕| 欧美mv和日韩mv的网站| 国精产品一区一区三区mba视频| 欧美激情综合在线| 色吊一区二区三区| 日本欧美大码aⅴ在线播放| 日韩久久精品一区| 丰满岳乱妇一区二区三区| 自拍偷拍欧美精品| 欧美乱妇15p| 国产真实乱对白精彩久久| 国产精品久久久久婷婷| 欧美日韩在线不卡| 狠狠色综合播放一区二区| 亚洲色图在线视频| 日韩一区二区在线观看| 国产福利一区二区三区视频在线 | 91九色最新地址| 91黄视频在线| 精品在线免费视频| 亚洲欧美国产毛片在线| 91精品国产综合久久久蜜臀图片 | 欧美va日韩va| 91免费国产在线观看| 免费精品视频在线| 最新欧美精品一区二区三区| 欧美丰满少妇xxxxx高潮对白| 国产精品一区二区在线观看不卡| 亚洲精品菠萝久久久久久久| 日韩精品最新网址| 91九色02白丝porn| 国产精品中文欧美| 午夜久久久久久| 国产精品色哟哟| 欧美一区二区三区四区高清| 成人性色生活片| 日本欧美一区二区三区| 自拍偷拍国产亚洲| 久久久久国产免费免费| 欧美日韩亚洲综合一区| 风流少妇一区二区| 午夜精品久久久| 国产精品麻豆久久久| 日韩一卡二卡三卡| 日本韩国一区二区三区| 国产美女在线精品| 日本成人在线一区| 亚洲尤物视频在线| 国产精品乱码一区二区三区软件| 欧美一区二区三区视频| 一本色道久久加勒比精品| 国产福利不卡视频| 六月丁香综合在线视频| 亚洲一区电影777| 日韩毛片高清在线播放| 欧美国产精品一区二区| 26uuu成人网一区二区三区| 欧美日韩精品一区二区| 色国产精品一区在线观看| 成人三级在线视频| 国产精品自产自拍| 九色|91porny| 欧美aaa在线| 日本成人中文字幕在线视频 | 欧美性大战久久久久久久| 丁香啪啪综合成人亚洲小说| 久久99九九99精品| 久久精品免费观看| 美脚の诱脚舐め脚责91| 日韩专区一卡二卡| 亚洲国产一区二区视频| 一区二区三区在线视频免费观看| 中文幕一区二区三区久久蜜桃| 26uuu久久综合| 精品少妇一区二区三区在线视频 | 亚洲成av人片一区二区| 亚洲一区在线观看网站| 亚洲宅男天堂在线观看无病毒 | 欧美无砖专区一中文字| 91官网在线免费观看|