Posts: 234
Joined: Nov 2009
Reputation:
4
I have not noticed an improvement with 14.2 unfortunately.
Autocommit:
"By default, MySQL runs with autocommit mode enabled. This means that as soon as you execute a statement that updates (modifies) a table, MySQL stores the update on disk to make it permanent."
It might speed up changes to the database (or maybe not as it needs to wait for disk now)
Anywho, It does not give any improvements to selects.
Posts: 4,146
Joined: Jan 2008
Reputation:
41
Correct. Only benefit here is when doing bulk inserts. Adding movies for example is faster now.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 178
Joined: Feb 2011
Reputation:
2
I've tried all the tweaks for this, but it remains painfully slow. Listings take 2 - 3 times longer to display than under Gotham. A couple of observations:
- The main listing for TV shows and Movies is not too bad, but drilling down into the Season listing for TV shows is extremely slow, regardless of the number of episodes. It feels like it's reading the data for every episode of every show and then filtering, because it takes the same amount of time for a show with hundreds of episodes as it does to display a show with only one or two episodes.
- Once the data has been read once, it appears to be cached, and displays quickly the next time, UNTIL any video is played. That seems to wipe out the cache entirely. It seems odd that there's a single cache for playing videos and for displaying library contents.
I suspect there's an error in the select query, as I can do an external query from my iPad using something like QueryDB and get those results instantly.
Posts: 234
Joined: Nov 2009
Reputation:
4
mkortstiege: Where you able to find some bugs or do performance tuning? Do you have an update for us?
Posts: 234
Joined: Nov 2009
Reputation:
4
Good information about optimizing MySQL performance. Thank you all.
Unfortunately, the major slowdown is still the dirty (too general) queries in Kodi14.
mkortstiege: Could you tell us if any progress has been made in Isengard regarding this issue?
Posts: 4,146
Joined: Jan 2008
Reputation:
41
Not much progress. I think the amount of queries even increased.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 413
Joined: Mar 2012
Reputation:
7
I finally was able to solve my slowness with multi user mysql.
I fixed it by switching to Emby. It's way faster now and multi user is supported out of the box.
Posts: 3,629
Joined: Sep 2009
Reputation:
118
These emby schill posts are getting tiresome
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 3,629
Joined: Sep 2009
Reputation:
118
(not per se saying the above is one necessarily but there's been a real rash of hit and run 'emby is great' one liners lately...
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.