Results 1 to 8 of 8

Thread: Database high RAM usage

  1. #1
    Thread Starter
    Junior Member grafro's Avatar
    Join Date
    Jul 2011
    Location
    Austria
    Posts
    35
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Database high RAM usage

    Hello!

    My host contacted me about high RAM usage. He told me that this:

    SELECT SQL_CALC_FOUND_ROWS wp_posts.*, IF(
    wp_posts.ID IN ( 287888,287773,287755), 1, 0) AS featured FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relati
    onships.object_id) WHERE 1=1 AND wp_posts.ID NOT IN (223717) AND ( \n wp_term_relationships.term_taxonomy_id IN (23397)\n) AND wp_posts.p
    ost_type = 'ad_listing' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'tr_pending' OR wp_posts.post_status = 'tr_failed'
    OR wp_posts.post_status = 'tr_completed' OR wp_posts.post_status = 'tr_activated') GROUP BY wp_posts.ID ORDER BY featured DESC, RAND() LIMI
    T 0, 3

    Is causing high RAM usage. He told me to improve this as the server crashes often when some people access the site.

    Maybe somebody can help me with this!

    Greetings

    Julia

  2. #2
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Junior Member grafro's Avatar
    Join Date
    Jul 2011
    Location
    Austria
    Posts
    35
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Junior Member mayed's Avatar
    Join Date
    Jan 2012
    Location
    United Arab Emirates
    Posts
    28
    Thanks
    11
    Thanked 3 Times in 3 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    Junior Member grafro's Avatar
    Join Date
    Jul 2011
    Location
    Austria
    Posts
    35
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    Thread Starter
    Junior Member grafro's Avatar
    Join Date
    Jul 2011
    Location
    Austria
    Posts
    35
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Jomark High traffic usage
    By orangemedia in forum Help Using JobRoller
    Replies: 7
    Last Post: May 7th, 2014, 02:56 AM
  2. Jomark JobRoller - hosting high load (CPU usage)
    By vladko13 in forum Report JobRoller Bugs
    Replies: 6
    Last Post: May 17th, 2013, 03:24 AM
  3. Sort out search low to high vs high to low
    By dragana in forum ClassiPress General Discussion
    Replies: 3
    Last Post: May 9th, 2013, 01:59 PM
  4. How to optimize CP 3.1.3 for high cpu usage
    By gedop in forum ClassiPress General Discussion
    Replies: 1
    Last Post: August 15th, 2011, 04:41 AM