[DBTech] DragonByte Credits

[DBTech] DragonByte Credits [Paid] 6.0.9

No permission to buy (€14.95)
Is there any functionality to clear out transactions? I have almost 3 million making the transactions page painfully slow.
There has been only one other report of this, the vast majority of people see the transaction page load instantly.

What version of MySQL are you running?
 
There has been only one other report of this, the vast majority of people see the transaction page load instantly.

What version of MySQL are you running?
Not really, i'm facing with this problem too, it took 7-8 seconds to load the page, even 10 seconds
Mine has more than 5000 pages, which every page has 25 transactions
That's pretty slow, i hope you could improve it, took me so long everytime i want to access transactions page
 
MySQL version5.5.5 (10.4.7-MariaDB)
This appears to be a bug in MariaDB 10.4:

1569788410120.webp

Notice how the Currency join doesn't use the primary key? Every other JOIN table does. I don't believe this is a problem with my database setup, as it worked fine in MariaDB 10.3.
 
After some searching, I found you can disable the bugged feature temporarily with:
SQL:
SET GLOBAL join_cache_level=0;
Permanently in my.cnf:
Code:
join_cache_level = 0
https://mariadb.com/kb/en/library/server-system-variables/#join_cache_level

Do this at your own risk.
I don't know "join_cache_level=0" what it could impact to, so I can't risk it, also I'm not very good at stuffs like downgrade, I have to read instructions and do step by step to upgrade it, now if I downgrade, that would be a challenge for me
 
I don't know "join_cache_level=0" what it could impact to, so I can't risk it, also I'm not very good at stuffs like downgrade, I have to read instructions and do step by step to upgrade it, now if I downgrade, that would be a challenge for me
Then there is no way for you to avoid this bug in MariaDB. There is no problem with my query, this is a server side issue.
 
Can I safely empty xf_dbtech_credits_transaction?
Still, it would be nice to have a setting "Purge Transaction Log Older Than X Days", I see no reason to view transactions from months ago. This table is already 550mb and I haven't been using this for that long.
 
I mean could you try to find how to adapt with MariaDB 10.4 version by add/edit your code in someway to fix this bug?
It just so happens that this time, I have been able to find a workaround thanks to Xon's help.

As a general note though, it is worth bearing in mind that you installed broken software on your server (MariaDB 10.4 - related bug report: https://jira.mariadb.org/browse/MDEV-16337 ) and you cannot reasonably ask add-on authors to fix or mitigate issues resulting from installing broken software on your server.

What if making changes to work around the broken software you installed caused horrendous performance for everyone else? Then I would have to decide between you two having good performance and everyone else having terrible performance, or vice versa.

In short: It is not up to add-on authors to "be flexible" when the problem is a server-side software problem. It is up to the server administrator to not install broken software in the first place. If they have already deployed the broken server-side software, it is up to the server administrator to work out a plan to roll back to the last known good configuration of the server-side software.

Can I safely empty xf_dbtech_credits_transaction?
Still, it would be nice to have a setting "Purge Transaction Log Older Than X Days", I see no reason to view transactions from months ago. This table is already 550mb and I haven't been using this for that long.
If you don't use the "Frequency" option for any of your events then it may be safe to do so. I would recommend backing the table up before doing anything with it.

You may also wish to wait for the update that works around the bug in MariaDB 10.4.
 
Is there any chance in ACP or to run SQL querry to set all credits/"anything we set to be credits" to zero for all users on forum?
 
Back
Top Bottom