ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbaforzahfprc.htm

79 lines
4.7 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 considerations for save and restore" />
<meta name="abstract" content="This topic provides tips for working with the save and restore functions." />
<meta name="description" content="This topic provides tips for working with the save and restore functions." />
<meta name="DC.Relation" scheme="URI" content="rbaforzahfpra.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dspobjd.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dspsavf.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/dsptap.htm" />
<meta name="DC.Relation" scheme="URI" content="../books/sc415304.pdf" />
<meta name="DC.Relation" scheme="URI" content="../rzahg/rzahgbackup.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="rbaforzahfprc" />
<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 considerations for save and restore</title>
</head>
<body id="rbaforzahfprc"><a name="rbaforzahfprc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Database considerations for save and restore</h1>
<div><p>This topic provides tips for working with the save and restore
functions.</p>
<ul><li>When you save an object to a save file, you can prevent the system from
updating the date and time of the save operation by specifying UPDHST(*NO)
on the save command.</li>
<li>When you restore an object, the system always updates the object description
with the date and time of the restore operation. Display the object description
and other save/restore related information by using the Display Object Description
(DSPOBJD) command with DETAIL(*FULL).</li>
<li>To display the objects in a save file, use the Display Save File (DSPSAVF)
command.</li>
<li>To display the objects on the media, specify DATA(SAVRST) on the Display
Diskette (DSPDKT) or Display Tape (DSPTAP) command.</li>
<li>To display the last save/restore date for a database file, type: DSPFD
FILE(file-name) TYPE(*MBR).</li>
</ul>
<p>Also consider automatically writing records to auxiliary storage. </p>
<div class="section" id="rbaforzahfprc__rbaforzahfprh"><a name="rbaforzahfprc__rbaforzahfprh"><!-- --></a><h4 class="sectiontitle">Force-writing data to auxiliary
storage</h4><p>The force-write ratio (FRCRATIO) parameter on the create
file and override database file commands indicates how often the records are
to be written to auxiliary storage.</p>
<p>A force-write ratio of one immediately
writes every add, update, and delete request to auxiliary storage for the
file in question. However, choosing this option can reduce system performance.
Therefore, consider saving your files and journaling your files as the primary
methods for protecting database files.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbaforzahfpra.htm" title="These topics discuss the iSeries functions of recovering or restoring your database after the system loses data.">Recover and restore your database</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../books/sc415304.pdf" target="_blank">Backup and Recovery PDF</a></div>
<div><a href="../rzahg/rzahgbackup.htm">Backup and recovery</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="../cl/dspobjd.htm">Display Object Description (DSPOBJD) command</a></div>
<div><a href="../cl/dspsavf.htm">Display Save File (DSPSAVF) command</a></div>
<div><a href="../cl/dsptap.htm">Display Tape (DSPTAP) command</a></div>
</div>
</div>
</body>
</html>