Product Documentation

BTRV Edition User's Guide

Previous Topic

Next Topic

<smartcopy>

The smartcopy option enables the use of batched read/write techniques to improve performance of file copy operations. If this option is set to yes, the file copy reads and writes records in blocks in order to reduce the number of read and write operations. If this option is set to no, the records are copied one by one. This option is enabled by default.

Accepted Values

Value

Effect

Synonyms

yes

Records are copied in blocks. This is the default value.

y, true, on, 1

no

Records are copied one by one.

n, false, off, 0

Attributes

Attribute

Values

Description

Default

rpc

yes or no

Uses an RPC function to copy records from one file to another directly within the server process.

yes

raw

yes or no

Uses physical batches instead of standard functions. This enhancement is available only if the <smartcopy rpc> attribute is set to yes; it is not enabled by default.

not enabled

Example

To enable smartcopy:

<smartcopy>yes</smartcopy>

To disable the server-side copy, define the following attribute:

<smartcopy rpc="no">

To enable raw copying (using physical batches), define the following attribute:

<smartcopy raw="yes">

TOCIndex