Forum Discussion
Audit logs in Notebooks
- 5 months ago
Hi Poojitha_P,
Thank you Mauro89, for your insights,
Frequent small DML operations from Spark notebooks, such as audit-log inserts or updates, can result in many small files within Delta tables. This leads to increased task and metadata overhead, which can impact performance. According to Microsoft documentation, enabling Optimize Write helps by performing pre-write compaction, making it useful for tables with frequent small inserts or UPDATE and MERGE operations. Additionally, Auto-compaction can automatically compact fragmented files after writes, which helps maintain table performance when there are frequent small writes.
Tune File Size - Microsoft Fabric | Microsoft Learn
Cross-Workload Table Maintenance and Optimization - Microsoft Fabric | Microsoft Learn
Thank you.
Hi Poojitha_P,
welcome to the community and thanks for your post.
Iam not sure about the question you have, may I ask you to clear thinks up a bit?
If it is more of a feature request I recommend you to post this in the ideas section of this community here: Fabric Ideas - Microsoft Fabric Community
Best regards!
PS: If you find this post helpful consider leaving kudos or mark it as solution