/ matomo Public
Cache whether a DB supports transaction level or not #18138
For when we could improve the performance / speed of Matomo.
Beginner friendly issues
We noticed on Cloud that https://github.com/matomo-org/matomo/blob/4.x-dev/core/Db/TransactionLevel.php#L57 might be called very often. Especially when having many funnels but also in general. It can cause a bit of load. It be better to instead cache this information whether uncommitted can be set or not instead of retrying for support every time. We should cache this eg on the
$this->dbas it's DB dependent as if someone configures different DBs for writer and reader for example then we cannot reuse / cache the same result.
I'm meaning something in this direction (not tested):
The text was updated successfully, but these errors were encountered: