[digikam] [Bug 456024] New: Use Write-Ahead-Logging as default journalling mode

2022-06-27 Thread zilexa
https://bugs.kde.org/show_bug.cgi?id=456024

Bug ID: 456024
   Summary: Use Write-Ahead-Logging as default journalling mode
   Product: digikam
   Version: 7.6.0
  Platform: Manjaro
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: Database-Mysql
  Assignee: digikam-bugs-n...@kde.org
  Reporter: zil...@gmx.com
  Target Milestone: ---

SUMMARY
***
Each Digikam db still uses "delete" journalling mode, while WAL was introduced
in 2010 and is over and over again confirmed to be more efficient. Especially
on Linux with EXT4 or BTRFS filesystem users will benefit from changing journal
mode to WAL instead of delete. 
***


STEPS TO REPRODUCE
1. Please find benchmark results here.
https://wiki.tnonline.net/w/Blog/SQLite_Performance_on_Btrfs
2.  Note although these are specific for BTRFS filesystem as it will benefit
even more because it is a CoW filesystem, EXT4 will benefit too. This is not a
btrfs-specific request, although constant DB changes do require btrfs users to
change journal mode to WAL. 


OBSERVED RESULT
See results here: https://wiki.tnonline.net/w/Blog/SQLite_Performance_on_Btrfs

EXPECTED RESULT
- improved performance on EXT4
- required for BTRFS

SOFTWARE/OS VERSIONS
All Linux systems using EXT4 or BTRFS filesystem. 

ADDITIONAL INFORMATION
Note every other software I come across already uses journal_mode=WAL instead
of journal_mode=delete.
I requested this over a year ago through the mailing list as well as it seems
like a trivial thing to do. 
Users can do it manually, but should not be required to do so.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 435070] New: Use WAL mode for SQLite databases

2021-03-28 Thread zilexa
https://bugs.kde.org/show_bug.cgi?id=435070

Bug ID: 435070
   Summary: Use WAL mode for SQLite databases
   Product: digikam
   Version: 7.2.0
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: Database
  Assignee: digikam-bugs-n...@kde.org
  Reporter: zil...@gmx.com
  Target Milestone: ---

SUMMARY
Use WAL mode for the SQLite databases. This has 3 advantages: 
1. it increases performance. 
2. it is the default choice for Copy-on-Write filesystems such as BtrFS
3. It reduces wear on SSDs.
Extensive testing results can be found here: 
https://wiki.tnonline.net/w/Blog/SQLite_Performance_on_Btrfs

STEPS TO REPRODUCE
whish instead of bug 

OBSERVED RESULT
-

EXPECTED RESULT
-

SOFTWARE/OS VERSIONS
All Linux OS

ADDITIONAL INFORMATION
Extensive testing results can be found here: 
https://wiki.tnonline.net/w/Blog/SQLite_Performance_on_Btrfs

-- 
You are receiving this mail because:
You are watching all bug changes.