Jump to the post that solved this thread.
Solved: 1 Year, 5 Months, 1 Week ago Thank You Like - Recount very slow
#3
Solved: 1 Year, 5 Months, 1 Week ago
(2023-08-19, 11:40 AM)Laird Wrote:
(2023-08-16, 04:03 PM)lost puppy Wrote: the last time I did a 'Recount & Rebuild' on the Thank You Like it took over 23 hours (actually I stopped it at near 24 hours because it was getting slower and slower)!

It began by sending between 300 to 400 queries per second and I stopped it when it was taking near 30 seconds per 300 - 400 .... at this point I think that it still had approx 1 million to do!

Mmm, yeah, looking at the code, it's terribly inefficient in terms of database queries.

(2023-08-16, 04:03 PM)lost puppy Wrote: How can I make this 'Recount' vastly quicker?

It could be done in a few manual queries, each of which might take a little while to run. If necessary, I can come up with those queries for you, however...

(2023-08-16, 04:03 PM)lost puppy Wrote: Else I do not think that I can do the upgrade as I may need to do a 'Recount'!

...there's nothing about an upgrade that would entail the need for a recount if one wasn't already required.

Thank you so much for your reply  Smile

It is good to read that an update will not require a recount ... that does allay my concerns.

I would very much like to have the 'like' count actually correct so, if I may impose on you, It would be brilliant to have the manual queries to run?
The forum is very quiet for approx 4-5 hours overnight so I could run them at that time (I would first run them on a 'test' site I have of the forum) and it would be no issue!

Again ... thank you for helping me  Heart
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 lost puppy - 2023-08-20, 02:18 PM
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: 7 Guest(s)