# Processing time for Compacting

**URL:** <https://forum.duplicati.com/t/processing-time-for-compacting/16336>\
**Category:** Support\
**Created:** [June 4, 2023, 4:09pm UTC](https://forum.duplicati.com/t/processing-time-for-compacting/16336 "2023-06-04T16:09:46Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [December 29, 2024, 2:28pm UTC](https://forum.duplicati.com/t/processing-time-for-compacting/16336/25 "2024-12-29T14:28:04Z")

</div>

> [@onurbi](#):
>
> I realized, that the waiting time from start to log the first line has been disappeared!

That seems odd. Do you mean the first line which seems like just announcing a start?

> 2024-12-29 12:00:02 +01 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: Die Operation Compact wurde gestartet

If you mean the first download, some performance work might have reduced the delay.

[Blog post: Speeding up inner workings of `DoCompact()` by up to 1000x](https://forum.duplicati.com/t/blog-post-speeding-up-inner-workings-of-docompact-by-up-to-1000x/19219)

The linked pull request says:

> the preliminary work of determining which files to download and compact took up a considerably amount of time

> [@onurbi](#):
>
> 12G ZIP file (without an extension) in the TMP folder has been processed and copied.

This backup might be misconfigured. What’s the Options screen `Remote volume size`?  
Refer to help link for that in the GUI. Advanced option `dblock-size` has a similar effect.

```plaintext
2024-12-29 12:00:05 +01 - [Information-Duplicati.Library.Main.Database.LocalDeleteDatabase-CompactReason]: Compacting because there are 29 small volumes and the maximum is 20
2024-12-29 12:00:05 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()
2024-12-29 12:00:05 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (69 Bytes)
2024-12-29 12:00:05 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b0b33806d8450427693296219a206d4b9.dblock.zip (12.56 GB)
2024-12-29 12:03:00 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Completed: duplicati-b0b33806d8450427693296219a206d4b9.dblock.zip (12.56 GB)

```

means that at some past time, you had remote volume size set 12 about GB high or higher.

> 2024-12-29 12:31:55 +01 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-ba1290403dcca401a85dee0463024488f.dblock.zip (12.34 GB)

says you still do. We discussed `blocksize` above. Is yours still 100 KB? That’s a lot of blocks, probably stressing the SQL and its cache (discussed too – are you now using a higher value?).

---

_[View the full topic](https://forum.duplicati.com/t/processing-time-for-compacting/16336)._
