60 lines
3.8 KiB
HTML
60 lines
3.8 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="Comparisons with using database files as queues" />
|
||
|
<meta name="abstract" content="This describes the differences between using data queues and using database files." />
|
||
|
<meta name="description" content="This describes the differences between using data queues and using database files." />
|
||
|
<meta name="DC.subject" content="database file, using as data queue, performance, data queue advantage, consideration, message queue" />
|
||
|
<meta name="keywords" content="database file, using as data queue, performance, data queue advantage, consideration, message queue" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="qcomm.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="mangq.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="compq" />
|
||
|
<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>Comparisons with using database files as queues</title>
|
||
|
</head>
|
||
|
<body id="compq"><a name="compq"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Comparisons with using database files as queues</h1>
|
||
|
<div><p>This describes the differences between using data queues and using
|
||
|
database files.</p>
|
||
|
<ul><li>Data queues have been improved to communicate between active procedures
|
||
|
and programs, not to store large volumes of data or large numbers of entries.
|
||
|
For these purposes, use database files as queues.</li>
|
||
|
<li>Data queues should not be used for long-term storage of data. For this
|
||
|
purpose, you should use database files.</li>
|
||
|
<li>When using data queues, you should include abnormal end routines in your
|
||
|
programs to recover any entries not yet completely processed before the system
|
||
|
is ended.</li>
|
||
|
<li>It is good practice to periodically (such as once a day) delete and recreate
|
||
|
a data queue at a safe point. Performance can be affected if too many entries
|
||
|
exist without being removed. Recreating the data queue periodically will return
|
||
|
the data queue to its optimal size. A more efficient approach may be to use
|
||
|
the auto reclaim feature.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="qcomm.htm" title="Data queues are a type of system object that you can create, to which one HLL procedure or program can send data, and from which another HLL procedure or program can receive data.">Use data queues</a></div>
|
||
|
</div>
|
||
|
<div class="reltasks"><strong>Related tasks</strong><br />
|
||
|
<div><a href="mangq.htm" title="Because smaller data queues have better performance than large ones, it's important to manage the size of the storage allocated to a data queue.">Manage the storage used by a data queue</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|