Download IBM Informix Migration Guide

Transcript
If the page sizes are different, onload fails. If the alignment or numeric data types
on the two computers are different (for example, with the most significant byte as
last instead of first, or different float-type representations), the contents of the data
page could be misinterpreted.
How the onunload and onload utilities work
The onunload utility, which unloads data from a database, writes a database or
table into a file on tape or disk. The onload utility loads data that was created with
the onunload command into the database server.
The onunload utility unloads the data in binary form in disk-page units, making
this utility more efficient than dbexport.
You can use the onunload utility to move data between computers that have the
same version of the database server.
Important: You cannot use the onload and onunload utilities to move data from
one version of a database server to another or between different types of database
servers. In addition, the onload command must have the same scope as the
corresponding onunload command that unloaded the same table or tables that
onload references. You cannot, for example, use onunload to unload an entire
database, and then use onload to load only a subset of the tables from that
database.
The onload utility creates a database or table in a specified dbspace. The onload
utility then loads it with data from an input tape or disk file that the onunload
utility creates.
During the load, you can move simple large objects that are stored in a blobspace
to another blobspace.
Syntax of the onunload command
The onunload command unloads data from a database and writes a database or
table into a file on tape or disk.
onunload
database
(1)
Destination Parameters
:
table
owner .
-V
-version
Notes:
1
See “onunload destination parameters” on page 13-4
Element
Purpose
Key Considerations
database
Specifies the name of a
database
Additional Information: The database name cannot be qualified by a
database server name (database@dbservername).
References: Syntax must conform to the Identifier segment; see the
IBM Informix Guide to SQL: Syntax.
Chapter 13. The onunload and onload utilities
13-3