SQL Speed Problem - Dynamic Content - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

SQL Speed Problem - Dynamic Content

T

TPMH Tiszaújváros

SP Page Builder 4 months ago

Hi!

I would like to ask about the speed of dynamic content SQL query. I have a COLLECTION that contains 8 short text fields (of which 2 are OPTION 4 and 9 with values). In total, sppagebuilder_collection_items contains 119 records, and sppagebuilder_collection_item_values is 700+. I have an SP page, where 10 COLLECTIONs are loaded from this with different filters, 12-15 records per filter. The front-end page gives the following loading time (attachment 2). The page has only text, no media.

MySQL is a dedicated server. Can its speed be improved? Interestingly, when I open the SP page for editing on the front-end page, it loads almost immediately (attachment 1).

http://www.termal.tujvaros.hu/sp/backend_sql.jpg http://www.termal.tujvaros.hu/sp/frontend_slow_sql.jpg

BR Csaba

0
27 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196346

Thank you. I will check & let you know. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #195953

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. To better address the issue, could you kindly provide Joomla administrator access? This will enable me to thoroughly investigate the matter and provide you with a prompt resolution.

I appreciate your cooperation and will ensure to get back to you as soon as possible.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #195966

Hi Toufiqur !

I am attaching the access data.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #195973
0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #195980

Sorry :) Very fresh subdomain record :) Please wait 1-2 hours :)

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #195997

This is not just dynamic content being queried—it's fetching the entire Page Builder content of your page, including media and text.

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196051

Hi!

But their size is not significant, other pages load at normal speed with significantly larger media sizes. As I remove DCs, the loading speed increases. How can I find out what is causing the slowdown?

BR Csaba

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196053

Meanwhile, I noticed that the DCs actually load very quickly, but for a long second the ACCORDION doesn't respond, as if it's waiting for something in the background (is it the AC or the DC?) or some processing is going on.

The page is about 7 MB when downloaded.

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196068

Hi

I tested the affected page in Firefox. There is no such problem there :)

BR Csaba

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196074

Does it occurred on google chrome?

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196089
0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196093

Hi

Is this amount normal?

http://www.termal.tujvaros.hu/sp/queries.jpg

BR Csaba

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196095

Google Chrome tends to cache aggressively and often uses a significant amount of RAM. This behavior is normal for the browser.

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196098

Hi!

I found it. If JOOMLA /Global configuration/ DEBUG SYSTEM is on, Chrome freezes for 10-15 seconds :) I turned it off and the freeze is gone. But this freeze only occurs when there is DC on the page.

BR Csaba

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196099

Does it occurred when you disable the debug mode?

But this freeze only occurs when there is DC on the page.

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196100

If debugging is active it freezes but only in Chrome and if there is DC on the page.

Largest Contentful Paint (LCP) reduced from 18 to 3. mp :)

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196101

Can you share a screencast video?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196102

Or produce the same thing on this URL.

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196103

Hi

Just open the link. https://teszt.tujvaros.hu/hu/araink

  1. the DC loads ( 3-4 sec)
  2. the first line of the accordion is open
  3. then after a few seconds it closes (the accordion is set to close all lines)
  4. The DEBUG bar can then appear + the accessibility icon
0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196114

Please produce the same thing on this URL.

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196153

Hi

Is it possible to load the SQL? I don't feel like manually entering the records. :)

BR

Csaba

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196175

Can i download a Akeeba backup of your site?

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196180

Of course you can download it

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196195

Backup size is large. Can you provide me FTP access?

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196323

Hi!

I was able to download it. You can't?

Unfortunately I can't provide SFTP.

BR Csaba

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 4 months ago #196325

Can you provide me it via google drive?

0
T
TPMH Tiszaújváros
Accepted Answer
4 months ago #196343

I have attached the link.

0