Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Historian

aaAddStorageShard

  • Last UpdatedMar 10, 2025
  • 1 minute read

Returns definition information for specified storage shard (partition).

Syntax

aaAddStorageShard ShardId, ShardName, Description, ComputerName, BlockDuration, TimeUnitId, TimeZoneId, AdjustToDST, MaxSnapshotSize, CmdArgs, CmdExtArgs

where:

Argument

Description

ShardId

The unique identifier for the partition (shard).

ShardName

The name of the partition.

Description

The description of the partition.

ComputerName

The network name of the computer on which the storage partition resides.

BlockDuration

Duration, in hours, for history blocks. Valid values are: 1, 2, 3, 4, 6, 8, 12, 24. The default is 24 hours. The history block size must always be greater than the highest scan rate. For more information, see Managing Partitions and History Blocks in the AVEVA Historian Administration Guide.

TimeUnitId

Foreign key to TimeUnit. Indicates whether the block duration is in hours/days.

TimeZoneId

The time zone associated with this storage partition.

AdjustToDST

Internal use only.

MaxSnapshotSize

Maximum size, in MB, for data storage snapshots in memory. Bigger snapshots allow for faster retrieval. You might need to increase this size for systems with very high data rates. For example, if retrieval is slow from data in the current history block, try increasing this rate. Also be sure that you have enough RAM, up to 1 GB.

CmdArgs

Command line parameters for customizing replication and storage execution.

CmdExtArgs

Command line parameters for customizing replication and storage execution.

Permission

Execute permission defaults to the aaAdministrators group.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in