108 lines
7.2 KiB
HTML
108 lines
7.2 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="concept" />
|
||
|
<meta name="DC.Title" content="Database jobs" />
|
||
|
<meta name="abstract" content="The following is a list of database jobs." />
|
||
|
<meta name="description" content="The following is a list of database jobs." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakssystemjobs.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakssystemstartupjobs.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakssystemarbiters.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakssystemcommjob.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzakssystemotherjob.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzaksdatabasejobs" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Database jobs</title>
|
||
|
</head>
|
||
|
<body id="rzaksdatabasejobs"><a name="rzaksdatabasejobs"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Database jobs</h1>
|
||
|
<div><p>The following is a list of database jobs.</p>
|
||
|
<dl><dt class="dlterm">Qdbfstccol (database file statistic collection)</dt>
|
||
|
<dd>This job collects database file statistics. These statistics are crucial
|
||
|
to correct database query optimization.</dd>
|
||
|
<dt class="dlterm">Qdbsrvxr (database cross-reference) and Qdbx###xr for independent disk
|
||
|
pool group ###</dt>
|
||
|
<dd>This job maintains each of the file level system cross-reference files
|
||
|
in Qsys. These files contain cross-reference information about database files
|
||
|
and SQL information across the system. The files all begin with the prefix
|
||
|
of Qadb in library Qsys. The primary file that must be maintained is Qadbxref,
|
||
|
the cross-reference file. This file contains a record of each physical database,
|
||
|
logical database, DDM, and Alias file on the system. Qdbsrvxr activates when
|
||
|
a file is created, changed, deleted, restored, renamed, or its ownership is
|
||
|
changed.</dd>
|
||
|
<dt class="dlterm">Qdbsrvxr2 (database cross-reference 2) and Qdbx###xr2 for independent
|
||
|
disk pool group ###</dt>
|
||
|
<dd>This job maintains the two field level cross-reference files. Qadbifld
|
||
|
in library Qsys is the field cross-reference file. Qadbkfld in library Qsys
|
||
|
is the key field cross-reference file. Qdbsrvxr2 is activated when a file
|
||
|
is created, changed or deleted.</dd>
|
||
|
<dt class="dlterm">Qdbsrv01 (database server) and Qdbs###v01 for independent disk pool group
|
||
|
###</dt>
|
||
|
<dd>This job can be viewed as the database maintenance task dispatcher. The
|
||
|
number of database server jobs on the system is one plus twice the number
|
||
|
of processors, or one plus twice the number of ASPs, whichever is greater.
|
||
|
The minimum started is five. Qsbsrv01 is the main system job assigning work
|
||
|
to the others. Typically, Qdbsrv01 will be most active immediately after restoring
|
||
|
a library that contains database files. Its function includes:<ul><li>Signaling to the system-managed access path protection (SMAPP) Licensed
|
||
|
Internal Code (LIC) tasks that new access paths have been restored. SMAPP
|
||
|
then determines whether these access paths need to be protected.</li>
|
||
|
<li>Preparing the list of access paths that are required to be rebuilt because
|
||
|
the access paths were not restored.</li>
|
||
|
</ul>
|
||
|
<p>Of the remaining database server jobs, the first half process high-priority
|
||
|
requests, and the second half process low-priority requests. (Example: Qdbsrv02
|
||
|
through Qdbsrv05 are high priority, Qdbsrv06 through Qdbsrv09 are low priority.)</p>
|
||
|
</dd>
|
||
|
<dt class="dlterm">Qdbsrvxx (database server, high priority) and Qdbs###vxx for independent
|
||
|
disk pool group ###</dt>
|
||
|
<dd>These jobs perform journal and commitment control maintenance for the
|
||
|
system and are considered quick or short-running work.</dd>
|
||
|
<dt class="dlterm">Qdbsrvxx (database server, low priority) and Qdbs###vxx for independent
|
||
|
disk pool group ###</dt>
|
||
|
<dd>These jobs perform access path maintenance on user data files. Typically,
|
||
|
these jobs are inactive, but in certain cases, they might activate to perform
|
||
|
access path rebuilds. Some reasons why these jobs might be active are:<ul><li>Restoring database files that were not saved with access paths</li>
|
||
|
<li>Restoring logical files without the physical file they are based on</li>
|
||
|
<li>Canceling of an Rgzpfm command while in process</li>
|
||
|
<li>Invalidation of an index due to damage found in the index</li>
|
||
|
<li>Post-iServer installation activity to complete cross-reference or other
|
||
|
DB upgrade activity</li>
|
||
|
<li>Constraint verification</li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
<dt class="dlterm">Qqqtemp1 and Qqqtemp2 (database parallelism)</dt>
|
||
|
<dd>The database parallelism system jobs perform asynchronous database processing
|
||
|
for the DB2<sup>®</sup> Multisystem.
|
||
|
If users query distributed files, the jobs are used to speed up the queries
|
||
|
by doing certain tasks in parallel.</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakssystemjobs.htm" title="System jobs are created by the operating system to control system resources and perform system functions. System jobs run when the iSeries server starts or when an independent disk pool is varied on. These jobs perform a variety of tasks from starting the operating system, to starting and ending subsystems, to scheduling jobs.">System jobs</a></div>
|
||
|
</div>
|
||
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
||
|
<div><a href="rzakssystemstartupjobs.htm" title="Startup jobs are system jobs that run at IPL. They handle the tasks that get the operating system environment up and ready for work. The following is a list of the various system startup jobs.">System startup jobs</a></div>
|
||
|
<div><a href="rzakssystemarbiters.htm" title="The system arbiters (QSYSARB and QSYSARB2 through QSYSARB5), started by an SCPF system job, provide the environment for the running of high-priority functions. They allow subsystems to start and end and keep track of the state of the system (for example, a restricted state).">System arbiters</a></div>
|
||
|
<div><a href="rzakssystemcommjob.htm" title="This topic contains a list of system communication jobs.">System communication jobs</a></div>
|
||
|
<div><a href="rzakssystemotherjob.htm" title="This article contains is a list of other kinds of system jobs.">Other system jobs</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|