[#7430] CB Users Slow to Load

5 years 2 months ago - 5 years 2 months ago #309999 by cjmicro
[#7430] CB Users Slow to Load was created by cjmicro
I have cb subs and when we load the user table it is slow to load. i have it set for display 50 which helped (it was higher) but there are some queries that show "NO INDEX FOUND". could that be slowing things down? i can give you the debug of the slow queries

.
This message contains confidential information


Is there anything i can do to help this load faster? we have approximately 10,500 users and 4,700 paid subscriptions.

Thank you,
Cheryl

Please Log in to join the conversation.

5 years 2 months ago #310018 by krileon
Replied by krileon on topic CB Users Slow to Load
Your slow query seams to be just the general count query for user management.

SELECT COUNT( DISTINCT a.`id` ) 
  FROM `jos_comprofiler` AS a
 
  INNER JOIN `jos_users` AS b 
  ON b.`id` = a.`id`
 
  LEFT JOIN `jos_session` AS c 
  ON c.`client_id` in (0,1) 
  AND c.`userid` = a.`id`
 
  LEFT JOIN `jos_user_usergroup_map` AS d 
  ON d.`user_id` = a.`id`

It's not as slow for me as it is for you, but it's not as optimized as it could be. The 2 left joins aren't even necessary to this query. Have added a bug ticket to investigate further and see if we can improve our XML parsing library further.

forge.joomlapolis.com/issues/7430


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: cjmicro

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.197 seconds

Facebook Twitter LinkedIn