Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2021 10:03 PM
HI,
i have several delta tables on Azure adls gen 2 storage account running databricks runtime 7.3. there are only write/read operation on delta tables and no update/delete.
As part of release pipeline, below commands are executed in a new notebook in workspace on a new cluster
spark.sql('set spark.databricks.delta.properties.defaults.autoOptimize.optimizeWrite = true;')
spark.sql('set spark.databricks.delta.properties.defaults.autoOptimize.autoCompact = true;')all my application jobs are triggered on different notebook and different cluster.
Question:
- Is above autoOptimize is sufficient to have optimize on all the delta tables OR i should periodically run Optimize {tableName} for each table.
- Is there way to verify if autoOptimize is working or not, since when i execute query on my delta table, it gives suggestion to run Optimize
Labels:
- Labels:
-
Azure
-
Delta-lake