cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

difference between optimize and auto optimize and Optimize in delta

User16826994223
Honored Contributor III

What would be good for me , if I should use Optimize every time or should I be using auto-optimize?

1 REPLY 1

brickster_2018
Databricks Employee
Databricks Employee

  • Optimize:  Bin-packing/Compaction. Idempotent and Incremental
  • Optimize + Z-Order: Helps in Data Skipping; Use Range Partitioning
  • Optimize write: Improve the write operation to the Delta table. optimization is performed before the write/during the write.
  • Auto-compaction: Post-commit action Triggered when more than 50 files/directory

Auto-optimize = Optimize Write + Auto-compaction

What is suitable is determined by the use cases.

Reference:

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group