CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Advanced search in Drupal taking over 30 seconds
Pages: 1 [2]

Author Topic: Advanced search in Drupal taking over 30 seconds  (Read 2281 times)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Advanced search in Drupal taking over 30 seconds
August 23, 2010, 07:14:03 pm

yes surprisingly this has not come up before

since the code autogenerates the queries, there will always be quite a few unoptimized queries. Seems like you hit one of those spots. As with any software system, i suspect 80% of the orgs just use the top 20% of the features, and hence we have still a few more queries to optimize

I dont think its too hard to fix it. its just a matter of someone spending some time to optimize and test the queries. Auto-generating queries has the disadvantage that you need to understand the ramifications of the code etc (and hence writing unit tests help)

if you are interested on working on improving this in core jump on IRC and we can chat

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Advanced search in Drupal taking over 30 seconds

This forum was archived on 2017-11-26.