70 lines
3.9 KiB
HTML
70 lines
3.9 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="Save and restore considerations" />
|
|
<meta name="abstract" content="A partitioned table can be saved and restored just as any other database file." />
|
|
<meta name="description" content="A partitioned table can be saved and restored just as any other database file." />
|
|
<meta name="DC.subject" content="Partitioned tables, save and restore" />
|
|
<meta name="keywords" content="Partitioned tables, save and restore" />
|
|
<meta name="DC.Relation" scheme="URI" content="partitionedtables.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../rzahf/rzahfbkup.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="partsave" />
|
|
<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>Save and restore considerations</title>
|
|
</head>
|
|
<body id="partsave"><a name="partsave"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Save and restore considerations</h1>
|
|
<div><p>A partitioned table can be saved and restored just as any other
|
|
database file.</p>
|
|
<p>The partitions of a partitioned table are database members, and hence can
|
|
be saved and restored together or individually. Consider the following items
|
|
when saving and restoring partitioned tables.</p>
|
|
<ul><li>If you restore only some of the partitions of a partitioned table to a
|
|
system where the partitioned table did not previously exist, the system creates
|
|
the partitions that you did not restore. The created partitions that were
|
|
not restored cannot have any data restored.</li>
|
|
<li>If you save a table partitioned by range, then drop one or more partitions,
|
|
you are able to restore the dropped partitions to the partitioned table.</li>
|
|
<li>If you save a table partitioned by hash, then alter the table by dropping
|
|
or adding partitions, you are not be able to restore the table that was saved
|
|
to the table on the system. If, however, the table on the system is deleted,
|
|
you can restore the table that was saved.</li>
|
|
</ul>
|
|
<p>Applications using the following save and restore CL commands must be changed
|
|
to use <samp class="codeph">Member *ALL</samp> to process all partitions of a partitioned
|
|
table:</p>
|
|
<ul><li><a href="../cl/rstobj.htm">Restore Object
|
|
(RSTOBJ)</a></li>
|
|
<li><a href="../cl/savobj.htm">Save Object
|
|
(SAVOBJ)</a></li>
|
|
<li><a href="../cl/savrstobj.htm">Save Restore
|
|
Object (SAVRSTOBJ)</a></li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="partitionedtables.htm" title="DB2 UDB for iSeries supports partitioned tables using SQL.">Partitioned tables</a></div>
|
|
</div>
|
|
<div class="reltasks"><strong>Related tasks</strong><br />
|
|
<div><a href="../rzahf/rzahfbkup.htm">Database backup and recovery</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |