IBM 000-8697 Bedienungsanleitung Seite 433

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 702
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 432
Data Consistency, Recovery, and Migration 4-61
Using UNLOAD with LOAD or dbload
Create and Edit the Schema File First
Use dbschema to create a schema file for the database or table that will
receive the data, if it does not yet exist.
After the schema file is created, you can edit the file with asystem editor. By
editingtheschemafile,youcanchangeaccessprivileges,object(table,index,
orview)ownership,lockmode,orinitialandnextextentsizes.Otherwise,all
privileges and ownership remain unchanged.
Thedbschemautilitygivesall
SERIAL fieldsincludedinCREATETABLE state-
mentsastarting value of 1.Ifthisisnotacceptable,you must edit theschema
file.
Verify Adequate Disk Space for Data
UsetheUNLOAD statementtounloadatable or specific columnsinatableto
one or more ASCII files.
You specify the output filename for each ASCII file as part of the UNLOAD
statement syntax. Ensure that adequate disk space is available to store the
ASCII files. Otherwise, an error is returned.
Move Files
Move the ASCII input files and the schema file to the new host machine (or
to the new directory if you are exporting to an IBM Informix SE database
server).
Create the New Database or Tables
If the new database or table does not yet exist, create it.
To create a database, either run the schema file or execute the CREATE
DATABASE
statement. To create a table, either run the schema file or execute
the CREATE TABLE statement.
Users might need to modify their DBPATH environment variable setting to
reflect the new database location.
Seitenansicht 432
1 2 ... 428 429 430 431 432 433 434 435 436 437 438 ... 701 702

Kommentare zu diesen Handbüchern

Keine Kommentare