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) »
  • Rackspace Cloud having issues with CiviCRM
Pages: [1]

Author Topic: Rackspace Cloud having issues with CiviCRM  (Read 1764 times)

jacoblee

  • Guest
Rackspace Cloud having issues with CiviCRM
January 15, 2010, 09:27:57 pm
I have spent the last hour on the phone with Rackspace and they can't handle a query longer than 30 seconds - (Shared Bluehost could) The queries relate to civi-event any ideas?

They are as follows:

# User@Host: 450163_dbd[450163_dbd] @  [172.17.34.168]
# Query_time: 0  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
use 450163_focusdbd;
SELECT a.id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created
_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.attribs, a.urls, a.me
takey, a.metadesc, a.access, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug, CASE WHEN CHAR_LEN
GTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END as catslug, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author,
 u.usertype, g.name AS groups, u.email as author_email, cc.title AS category, s.title AS section, s.ordering AS s_ordering, cc.ordering
AS cc_ordering, a.ordering AS a_ordering, f.ordering AS f_ordering FROM jos_content AS a INNER JOIN jos_content_frontpage AS f ON f.cont
ent_id = a.id LEFT JOIN jos_categories AS cc ON cc.id = a.catid LEFT JOIN jos_sections AS s ON s.id = a.sectionid LEFT JOIN jos_users AS
 u ON u.id = a.created_by LEFT JOIN jos_groups AS g ON a.access = g.id WHERE 1 AND a.access <= 0 AND a.state = 1 AND (( cc.published = 1
 AND s.published = 1 ) OR ( a.catid = 0 AND a.sectionid = 0 ) ) AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2010-01-1
6 05:09:10' ) AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2010-01-16 05:09:10' ) ORDER BY cc.ordering,  a.orderin
g LIMIT 0, 10;

 User@Host: 450163_dbd[450163_dbd] @  [172.17.34.27]
# Query_time: 0  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
use 450163_focusdbd;
SELECT a.id, a.title, a.alias, a.title_alias, a.introtext, a.fulltext, a.sectionid, a.state, a.catid, a.created, a.created_by, a.created
_by_alias, a.modified, a.modified_by, a.checked_out, a.checked_out_time, a.publish_up, a.publish_down, a.images, a.attribs, a.urls, a.me
takey, a.metadesc, a.access, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug, CASE WHEN CHAR_LEN
GTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END as catslug, CHAR_LENGTH( a.`fulltext` ) AS readmore, u.name AS author,
 u.usertype, g.name AS groups, u.email as author_email, cc.title AS category, s.title AS section, s.ordering AS s_ordering, cc.ordering
AS cc_ordering, a.ordering AS a_ordering, f.ordering AS f_ordering FROM jos_content AS a INNER JOIN jos_content_frontpage AS f ON f.cont
ent_id = a.id LEFT JOIN jos_categories AS cc ON cc.id = a.catid LEFT JOIN jos_sections AS s ON s.id = a.sectionid LEFT JOIN jos_users AS
 u ON u.id = a.created_by LEFT JOIN jos_groups AS g ON a.access = g.id WHERE 1 AND a.access <= 0 AND a.state = 1 AND (( cc.published = 1
 AND s.published = 1 ) OR ( a.catid = 0 AND a.sectionid = 0 ) ) AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2010-01-1
6 05:08:54' ) AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2010-01-16 05:08:54' ) ORDER BY cc.ordering,  a.orderin
g;
« Last Edit: January 15, 2010, 09:32:05 pm by jacoblee »

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: Rackspace Cloud having issues with CiviCRM
January 15, 2010, 11:13:16 pm

neither of those queries are civicrm related

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

jacoblee

  • Guest
Re: Rackspace Cloud having issues with CiviCRM
January 15, 2010, 11:28:39 pm
Lobo,

I think the level one tech does not know what he is doing. I found that I had to kill 8 quires all in relation to the de-duplication function in civi.

Any idea on how to optimize those quires? I have 90k + records and it always has an issue with the de-duplication function in Civi.

J

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Rackspace Cloud having issues with CiviCRM
January 16, 2010, 01:42:47 am
You can limit your dedupes to a group - I think you just add &gid=1 (ie. 1 for group 1) to the end of the URL.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Rackspace Cloud having issues with CiviCRM

This forum was archived on 2017-11-26.