Replicate Command - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

REPLICATE Command

"Syntax Description of REPLICATE "
"Considerations for REPLICATE "
"Examples of REPLICATE"
The REPLICATE command is a syntax-based utility that can be executed from any interface
where an SQL command can be executed.
The REPLICATE command allows an Neoview installation to replicate a table or an entire schema
from one Neoview system to another. The REPLICATE command behaves like any other SQL
command in that it can be issued anywhere an SQL command can be issued. The REPLICATE
command provides user-settable options, such as the priority of replication and progress
monitoring via query ID.
IMPORTANT:
information for each task that it performs. If you plan to use the REPLICATE command in a
JDBC or ODBC application, you must use fetch calls with the REPLICATE command.
The REPLICATE command can be used to replicate:
DDL for all objects in a schema. See
Data for single table and dependent indexes. See
Data for multiple tables in a list. See
Data for multiple tables in a schema. See
Statistics for all tables in a schema. See
REPLICATE object-specification, target-system-specification
[, replicate-options]
[, target-option]
[, control-options]
[, schema-repl-options]
object-specification is:
[SOURCE TABLE src
| SOURCE TABLES IN (src, ... srcN)
| SOURCE SCHEMA schema [, source-filter]
target-system-specification is:
TARGET SYSTEM node
replicate-options are:
PRIORITY number | PRIORITY_DELTA number
CONCURRENCY [MAX | DEFAULT | number]
COMPRESS [OFF | ON]
target-option is:
PURGEDATA TARGET
NO TRANSFORM TARGET
control-options are:
GET STATUS FOR QID 'query_id'
ABORT QID 'query_id'
RECOVER
schema-repl-options are:
COPY DDL
COPY STATISTICS
source-filter is:
SOURCE [NOT] LIKE 'pattern'
224
SQL Utilities
The REPLICATE command executes with cursor-like behavior and returns status
"Replicating an Entire Schema" (page
"Single-Table Replication" (page
"Replicating Multiple Tables" (page
"Replicating Multiple Tables" (page
"Replicating Statistics" (page
226).
227).
227).
227).
228).

Advertisement

Table of Contents
loading

Table of Contents