.alter-merge table streaming ingestion policy
Change the table streaming ingestion policy. Use the streaming policy to manage streaming ingestion for databases and tables.
Use in low latency scenarios, where ingestion time is less than 10 seconds for varying data volume. You can optimize processing for many tables in one or more databases, when tables receive a few records per second, whereas the ingestion volume is thousands of records per second.
Use the classic bulk ingestion instead of streaming ingestion when the amount of data grows to more than 4 Gb per hour per table.
- To learn how to implement streaming ingestion, see streaming ingestion.
Syntax
.alter-merge table TableName policy streamingingestion PolicyObject
Arguments
- TableName - Specify the name of the table.ArrayOfPolicyObjects - An array with one or more JSON policy objects.
- PolicyObject - Define a policy object, see also streaming policy.
Returns
Returns a JSON representation of the policy.
Example
The following command returns enables streaming ingestion and determines the suggestion allocated rate for the table:
.alter-merge table MyTable policy streamingingestion
'{"IsEnabled": true, "HintAllocatedRate": 1.5}'
The following command disables the streaming ingestion policy:
.alter-merge table MyTable policy streamingingestion
'{"IsEnabled": false}'