Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
Hi,
For testing purposes, is it possible to use VACUUM with less than 1 hour retaintion ?
In order to do it with a 1 hour retaintion I had to set a spark configuration:
Solved! Go to Solution.
HI @DennesTorres lets try like this ..i have seen some users doing that
spark.sql("VACUUM bronze_nyc_tlc_green.nycgreentaxi RETAIN 0 HOURS")
This can be the way to vacuum everything that is not in use. PS: I havent tested this , to be honest too tired today ( Just kidding )
Note : This is also can be risky and should only be done in a controlled environment where you are certain that you do not need older versions of the data.
Let me also know if that works for u !
Hi @DennesTorres ,
When i tested it , it did not threw any error , but at the same time it did not threw any error .
Just curiuos as to what is the bigger problem which you are tring to solve ?
Thanks
Himanshu
Hi,
It worked for me in lakehouses.
I'm concerned how these files would affect the performance.
Kind Regards,
Dennes
HI @DennesTorres lets try like this ..i have seen some users doing that
spark.sql("VACUUM bronze_nyc_tlc_green.nycgreentaxi RETAIN 0 HOURS")
This can be the way to vacuum everything that is not in use. PS: I havent tested this , to be honest too tired today ( Just kidding )
Note : This is also can be risky and should only be done in a controlled environment where you are certain that you do not need older versions of the data.
Let me also know if that works for u !
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
9 | |
5 | |
4 | |
3 | |
3 |