|
Parameter name
|
Description
|
Default value
|
Comment
|
|---|---|---|---|
|
host
|
database host
|
Mandatory
|
|
|
port
|
database port
|
Mandatory
|
|
|
database
|
database name where the value_stream table exists
|
Mandatory
|
|
|
username
|
database user
|
Mandatory
|
|
|
password
|
database password
|
Mandatory
|
|
|
interval_to_retain
|
Calculated interval to retain = current time minus 26 hours (maximum time zone difference) minus the given interval_to_retain.
|
Mandatory
Possible formats:
• 1h or hours
• 1d or 1day
• 1 month
• 1y or 1year
|
|
|
action
|
Drop or Archive partitions action
|
Mandatory
Possible values:
• ‘drop’
• ‘archive’
|
|
|
value_stream_archive_name
|
Archived value stream table name
|
'value_stream_archive'
|
If you change the default name, then do not use the names:
• value_stream_part_0,
• value_stream_old,
• value_stream_tmp,
• or any existing table or partition.
|
|
future_data_exists
|
Optional
|
no
|
Possible values:
• yes or no
• if = yes (optional), the script will support future data partitioning
|
|
|
For recovery purposes, clone or back up the database before initiating the partitioning process.
|