Jump to the post that solved this thread.
Solved: 1 Year, 5 Months, 1 Week ago Thank You Like - Recount very slow
#6
Solved: 1 Year, 5 Months, 1 Week ago
(2023-08-21, 04:43 PM)lost puppy Wrote: There are 6 queries (I think lol) and the first 4 .... each took seconds (I mean the db states 0.0004 for each one)

Excellent - I was hoping it would be fast even on a site with millions of thanks/likes.

(2023-08-21, 04:43 PM)lost puppy Wrote: Only problem was on the 5th query

Oh, I see - that's because the tyl_tnumtyls column was mistakenly removed (by me) from the core threads table in version 3.1.0 (August, 2018) of the plugin, and only reinstated in the latest version 3.4.5 (August, 2023), to which you have not yet upgraded.

I've updated the script (as attached in my previous post) to handle scenarios like yours. Please test the new version of the script (1.1.0) and let me know whether the error is avoided this time.

(2023-08-21, 04:43 PM)lost puppy Wrote: But it would definitely seem that it worked anyway  Big Grin

Taking 2 members:

On the real site forum Member 1 has 29671 'likes' >> but now on the 'test' site the member has 33690
Member 2 on the real forum has 381953 'likes' >> on 'test' site they now have 424704

Speed wise .... well what can I say ... last time it took near 24 hours and didn't complete (I had to stop it) 

This took seconds!!

Stunning ... thank you so very much ... you are a super star  Cool

That's great news. Cheers for the positive feedback.
Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: Thank You Like - Recount very slow - by Laird - 2023-08-19, 11:40 AM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-21, 08:04 AM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 01:32 AM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 09:14 AM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 10:27 AM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 11:11 AM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 11:28 AM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 12:13 PM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 12:30 PM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 12:42 PM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 12:58 PM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 01:08 PM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 01:51 PM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 02:28 PM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-22, 02:52 PM
RE: Thank You Like - Recount very slow - by Laird - 2023-08-23, 01:02 AM

Forum Jump:


Users browsing this thread: 6 Guest(s)