View Properties
The following table shows the core view properties:| Property | Default | Description |
|---|---|---|
write.metadata.compression-codec | gzip | Metadata compression codec: none or gzip |
version.history.num-entries | 10 | Controls the number of versions to retain |
replace.drop-dialect.allowed | false | Controls whether a SQL dialect is allowed to be dropped during a replace operation |
Metadata Compression
Control how view metadata is compressed:Version History
Configure how many view versions to retain:Retaining more versions allows you to query older view definitions but increases metadata storage size.
Dialect Dropping
Control whether SQL dialects can be dropped during replace operations:View Behavior Properties
These properties control view commit behavior:| Property | Default | Description |
|---|---|---|
commit.retry.num-retries | 4 | Number of times to retry a commit before failing |
commit.retry.min-wait-ms | 100 | Minimum time in milliseconds to wait before retrying a commit |
commit.retry.max-wait-ms | 60000 (1 min) | Maximum time in milliseconds to wait before retrying a commit |
commit.retry.total-timeout-ms | 1800000 (30 min) | Total retry timeout period in milliseconds for a commit |
Commit Retry Configuration
Configure commit retry behavior for views in high-concurrency environments:Retry Attempts
Controls how many times to retry a failed commit operation before giving up
Wait Times
Exponential backoff between min and max wait times for commit retries
Total Timeout
Maximum total time to spend retrying commits before failing the operation
Concurrency
Higher retry values help handle concurrent view updates from multiple clients
Example: Production View Configuration
Here’s a recommended configuration for production views:- Compresses metadata for efficiency
- Retains 30 days of view version history
- Prevents accidental dialect removal
- Uses robust retry settings for high-concurrency environments