Skip to Content Skip to Menu

Lists taking a long time to show

  • Buzz50
  • Buzz50
  • OFFLINE
  • Posts: 180
  • Thanks: 10
  • Karma: 2
10 years 9 months ago #240369 by Buzz50
Lists taking a long time to show was created by Buzz50
My lists are taking over 10 seconds to show unless I have a filter in them.

What could I be doing wrong?

One of the lists shows members sorted by Last Online, 20 per page.
It feels as if the query is getting all of the members rather than the top 20.
When I put in a filter such as `lastvisitDate` >'2014/01/01' it is quite fast.

I have 7,000 members

Joomla 3.2.1
CB 1.9.9

Buzz50
Mike
Buzz50 Seniors
'Head Buzzer'

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #240388 by krileon
Replied by krileon on topic Lists taking a long time to show
The more members you have the longer it's going to take. You're pulling 7,000 rows all at once then 20 per page is 20 cbUser objects being parsed for fields. Then if you've CB Conditional or CB Privacy they're parsing every single row to remove users and adjust field output as needed. The more you stack on the slower it's going to get. For CB Conditional and CB Privacy you can shut off their usages for userlists for example to reduce their performance hit there. For 20 per page usage be sure you're not loading in dozens upon dozens of fields per user.


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.

Please Log in or Create an account to join the conversation.

  • Buzz50
  • Buzz50
  • OFFLINE
  • Posts: 180
  • Thanks: 10
  • Karma: 2
10 years 9 months ago #240407 by Buzz50
Replied by Buzz50 on topic Lists taking a long time to show
Thanks for the reply.

Is there a way to limit lists to a number of results?

I have lists such as 'Latest updated profiles' and LIMIT 200, for example, would be enough.

Buzz50
Mike
Buzz50 Seniors
'Head Buzzer'

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #240431 by krileon
Replied by krileon on topic Lists taking a long time to show
No, it always pulls as many rows that match the criteria as it can.


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum