Syntax Description Of Replicate - HP Neoview SQL Reference Manual

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

Syntax Description of REPLICATE

src
name of the source table.
schema
name of the source schema.
node
target name in the format \node (backslash (\) followed by target system master segment
name, for example, \NEO0101).
query_id
query ID of the replicate object.
pattern
pattern same as what is used in LIKE clause.
object-specification
The SOURCE TABLE src can be specified in a single table name format or as a quoted
in-list. The name does not need to be fully qualified. If not fully qualified, the default
schema on the source will be used.
To use a delimited name, specify the name as a double-quoted string. Delimited names
are case sensitive.
The maximum number of objects that can be specified as part of an IN list is 100.
If you provide the SOURCE SCHEMA schema, all objects in the specified schema will
be replicated unless a filter is specified.
The target object will use the same name and schema as the source.
You must specify the TARGET SYSTEM using this format: \node (backslash (\) followed
by target system master segment name, for example, if the master segment is named
NEO0101, specify the name as \NEO0101).
The target table must exist before replicating from source table to target table.
replicate-options
The PRIORITY number is an absolute number between 1 and 199 and represents the
priority of the master and server processes. PRIORITY is set on both source and target
system processes.
The PRIORITY_DELTA number is added or subtracted from the current priority of the
master and server processes. If the resulting priority does not fall into the 1-199 range,
the default priority will be used.
You may specify only one priority option, either PRIORITY or PRIORITY_DELTA.
The CONCURRENCY MAX option replicates all partitions at the same time. This is the
default setting.
CONCURRENCY number specifies how many partitions to replicate at one time. After
they are replicated, the next batch of number partitions are replicated.
COMPRESS ON compresses the source data blocks before replicating them. This is the
default setting. COMPRESS OFF does not compress the source data blocks.
schema-repl-options
Only one schema-repl-option can be used at a time in separate commands.
The COPY DDL option replicates all object definitions in the specified schema to the
target system. The COPY DDL option does not exist for single-table replication.
When you use the REPLICATE command with the COPY DDL option, all dependent
objects are created in the correct order on the target system in the same schema as the
source. Because the COPY DDL option replicates all dependent objects, it is not necessary
to replicate dependent objects individually. After the REPLICATE command creates the
REPLICATE Command
225

Advertisement

Table of Contents
loading

Table of Contents