cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

dbutils.fs.mv inefficient with ADLS

ktagseth
New Contributor II

dbutils.fs.mv with ADLS currently copies the file and then deletes the old one. This incurs costs and has a lot of overhead vs using the rename functionality in ADLS which is instant and doesn't incur extra costs involved with writing the 'new' data. 

3 REPLIES 3

BigRoux
Databricks Employee
Databricks Employee

Is there a question in there or are you sharing you experience with the community?

ktagseth
New Contributor II

Mostly just sharing my experience, didn't see this documented anywhere and it caused me some headaches. 

If i had a question it would be if fs.mv could be updated to use the rename functionality under the hood with adls but that wasn't my intention with the post 

BigRoux
Databricks Employee
Databricks Employee

The tool is really meant for dbfs and is only accessible from within Databricks.  If I had to guess the idea is that most folks will not be using dbfs for production or sensitive data (for a host of good reasons) and as such there has not been a big investment in the Databricks Utility.  FYI, Unity Catalog volumes are the preferred method for storing all your data and artifacts.  Cheers, Lou.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now