<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>443900</bug_id>
          
          <creation_ts>2021-10-17 18:47:30 +0000</creation_ts>
          <short_desc>Mysql is very slow over the internet</short_desc>
          <delta_ts>2021-12-15 20:48:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Database-MariaDB</component>
          <version>7.1.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>frederik.bertling</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>metzpinguin</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.5.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2069302</commentid>
    <comment_count>0</comment_count>
    <who name="">frederik.bertling</who>
    <bug_when>2021-10-17 18:47:30 +0000</bug_when>
    <thetext>Hi,

I&apos;ve recently changed my digikam databse to mysql to make it accessable on multiple machines. This works well on my lan. However it is very slow accessing my server over wan. The bandwidth is not the bottleneck, so I wonder what I can do to improve speed. Or is the database access just not suitable over wan by design?


STEPS TO REPRODUCE
1. Use digikam with a mysql database accessed over wan

OBSERVED RESULT
Very slow loadings of picture compared to lan connection

EXPECTED RESULT
Compareable speed compared to lan connection when bandwith of wan is high enough.

SOFTWARE/OS VERSIONS
Debian 11 on both the client and the server with digikam 7.1.0

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2069310</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2021-10-17 19:28:42 +0000</bug_when>
    <thetext>One of the main causes is that the thumbnails are also stored in the database and the amount of data to be transferred is significant. We already have a wish to save the thumbnail database locally so that connections over a slower internet connection will improve.

See also Bug 373479

Maik

*** This bug has been marked as a duplicate of bug 297922 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2085841</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2021-12-15 20:48:24 +0000</bug_when>
    <thetext>Fixed with #297922</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>