MySQL/MariaDB clients being slow

Hello.

I’m testing MySQL clients (GUI) on openSUSE and I have run into a problem. So far I have found 2 clients that suits me: Valentina Studio (VStudio) and Navicat.

The first was Valentina Studio but I noticed at the start that it is extremely slow (connecting to server, loading tables, views etc.) so I kept looking for another application.
The next I have found was Navicat (it runs through wine but whole package including wineprefix is provided) but it turned out that it is slow too.

I have no such problems with dbForge on Windows which runs as Virtual Machine on my Leap 42.2 and with mysql-workbench on Linux. I also tested DataGrip and I think it doesn’t make that problem either.
My father is helping me finding that client as he is also using Leap 42.2 and he doesn’t have those problems, everything runs smoothly.

I’ve already posted that on Facebook openSUSE group but I was told to post it here as some output might be required. So what should I give you to help me solving that problem?

Aside from inspecting myql logs,

I’d recommend

  • Determine if your problem is based on running both your client and server on the same machine. Deploy on different machines.
  • Is there latency after your tables are loaded? Particularly if there is a lot of data, loading into a client can take awhile.
  • View disk I/O (eg iotop) looking for latencies related to different activity.
  • Are you running in virtualization? Is your file system virtualized? If so, verify you don’t have disk block mis-alignment (see my following write-up and others on the web). In fact, look through a number of articles I’ve written about optimizing virtualized deployments
    https://en.opensuse.org/User:Tsu2#Virtualization
  • Verify you’re not experiencing memory pressure. Besides the memory optimization article in my above link for virtualization, the following is my write-up for how to use the Free memory utility (it’s also displayed in top)
    https://en.opensuse.org/User:Tsu2/free_tool

The above will get you started…
TSU

  1. I’m connecting to server on different machine while having mariadb server shutdown but same happens when I’m connecting to localhost.
  2. Loading data takes a while no matter if there are 15000 records (different machine) or 9 records (localhost).
  3. I didn’t notice any big IO operations with iotop. When I tried to load a table Actual DISK WRITE went to about 500K/s for a second.
  4. I’m running Windows on VirtualBox but I don’t think it matter because those latencies happen also when the machine is closed.
  5. While having Virtual machine on I have about 2GB RAM free and when it’s off I got about 5GB RAM free.