# Release: 2.3.0.102 (Canary) 2026-05-09

**URL:** <https://forum.duplicati.com/t/release-2-3-0-102-canary-2026-05-09/22383>\
**Category:** Releases\
**Created:** [May 9, 2026, 10:10am UTC](https://forum.duplicati.com/t/release-2-3-0-102-canary-2026-05-09/22383 "2026-05-09T10:10:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [August 7, 2026, 6:42pm UTC](https://forum.duplicati.com/t/release-2-3-0-102-canary-2026-05-09/22383/6 "2026-08-07T18:42:51Z")

</div>

> [@kenkendk](#):
>
> ## Slow Query Monitor
> 
> Added a slow query monitor to help diagnose performance issues by tracking long-running database queries.

> <https://github.com/duplicati/duplicati/pull/6900/files>
>
> When queries are slow on end-user machines it is hard to debug what the exact pr…oblem is.
> 
> The typical flow is to discover a "stuck" process. But since profiling logging was not enabled there is no output.
> 
> The user then has to re-run the problematic operation with profiling on, and locate the last output where the call gets stuck.
> 
> This PR introducces a monitor mechanism where all queries register themselves prior to execution, and then de-register once done.
> 
> At a fixed interval, the list of active queries is examined, and if a query is found to be running longer than the threshold, it will be logged as a warning.
> 
> This means the user can simply go view the live log for warnings, and the offending query will be emitted.
> 
> The default threshold is set at a conservative 30 minutes. Since the timer only checks at the interval, it can take at most 2x the interval before a message is logged. After this, a message is logged each time the interval is reached (e.g., a new warning is logged every 30 min).
> 
> The option \`--long-database-query-threshold\` can be used to set a different threshold.

In server profiling log, I’m not getting `SlowQuery` tags even after [hours of run](https://forum.duplicati.com/t/slow-or-stuck-in-sqlite-at-waiting-for-upload-to-finish/22597).

```plaintext
  --long-database-query-threshold (Timespan): The threshold for a
    database query to be considered slow
    If any query takes longer than this threshold, it will be logged
    with a warning as a slow query. Set this value to less than 0
    seconds to disable the monitor.
    * default value: 30m

```

I’m actually on 2.3.1.0\_beta\_2026-07-28, but this might be its only announce.  
It “looks” like the feature continued in Canary, but didn’t sneak into 2.3 Stable.  
I’m looking in a live log at Warning level, and a profiling log of server activities.

EDIT 1:

It sometimes works, sometimes not. I saw it in 2.3.0.108\_canary\_2026-07-20.

> <https://github.com/duplicati/ngclient/issues/491>
>
> Default is 30m, and dropdown does in fact show \`m\`, so at least it's readable if… you know the one-character units.
> Dropdown only offers Years, Months, Weeks, Days, all of which seem a little on the long side for a speed warning.
> 
> If I \`Edit contents as text\` and change it to \`1h\` or \`1s\`, then \`Show editor\`, it changes to \`0 Days\`, so turns it off.
> If it had shown \`h\` or \`s\`, that would be better (why is \`m\` special?), but why not let me choose smaller time units?
> 
> Temporary workaround is to skip \`Show editor\` and just Submit, but this is prone to being lost upon the next edit.
> You don't need any special effort. Just Submit from Options screen, which will have brought value into the editor.
> 
> 2.3.0.108\_canary\_2026-07-20

Had to be dealt with awkwardly. I set `1s`, and production backup warned some.  
`1m` at least isn’t killed by job edit, but I set that, and in 5 minutes got no warning  
from the “Waiting for upload to finish” test, but I’m pretty sure it’s stuck in SQLite.  
Maybe it doesn’t like that that query also escapes the log, or its timing is nested?

---

_[View the full topic](https://forum.duplicati.com/t/release-2-3-0-102-canary-2026-05-09/22383)._
