Results 1 to 9 of 9

Thread: Need help on Problematic query

  1. #1
    Thread Starter
    Junior Member getliveads's Avatar
    Join Date
    Dec 2010
    Location
    India
    Posts
    22
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Need help on Problematic query

    Hi friends,

    Am facing an issue on my site, my site has been blocked by godaddy due to Problematic query, This query examines 532,215,396 rows, which is unacceptable in shared hosting.

    Problematic query:
    SELECT t.postcount AS total, d.postcount AS today FROM wp_cp_ad_pop_total AS t
    INNER JOIN wp_cp_ad_pop_daily AS d ON t.postnum = d.postnum
    WHERE t.postnum = 2689 AND d.time = '2012-06-05'

    EXPLAIN:
    id select_type table type possible_keys key key_len ref rows Extra
    1 SIMPLE t ALL 1713 Using where
    1 SIMPLE d ALL 310692 Using where

    Am not a expert programmer, I guess this problem has come after i uploded one plugin, later i clicked one option to delete some data from that plugin. after that i lost connection with my site.

    Kindly help me to solve this issue.

  2. #2
    Thread Starter
    Junior Member getliveads's Avatar
    Join Date
    Dec 2010
    Location
    India
    Posts
    22
    Thanks
    10
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Junior Member getliveads's Avatar
    Join Date
    Dec 2010
    Location
    India
    Posts
    22
    Thanks
    10
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    laura's Avatar
    Join Date
    Apr 2010
    Location
    Michigan
    Posts
    2,594
    Thanks
    60
    Thanked 279 Times in 254 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. The Following User Says Thank You to laura For This Useful Post:

    getliveads (June 6th, 2012)

  6. #5
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  7. The Following User Says Thank You to samcy For This Useful Post:

    getliveads (June 6th, 2012)

  8. #6
    laura's Avatar
    Join Date
    Apr 2010
    Location
    Michigan
    Posts
    2,594
    Thanks
    60
    Thanked 279 Times in 254 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #7
    Thread Starter
    Junior Member getliveads's Avatar
    Join Date
    Dec 2010
    Location
    India
    Posts
    22
    Thanks
    10
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #8
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  11. #9
    laura's Avatar
    Join Date
    Apr 2010
    Location
    Michigan
    Posts
    2,594
    Thanks
    60
    Thanked 279 Times in 254 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. Very slow SQL query
    By penev75 in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: August 2nd, 2013, 10:01 AM
  2. jobroller query
    By nalangsaon in forum JobRoller General Discussion
    Replies: 1
    Last Post: May 18th, 2012, 08:23 AM
  3. Indeed Query Only Pulling First Query
    By jlei1989 in forum Report JobRoller Bugs
    Replies: 4
    Last Post: February 15th, 2012, 04:32 AM
  4. Search query
    By mario174 in forum JobRoller General Discussion
    Replies: 7
    Last Post: June 23rd, 2011, 11:44 PM
  5. [SOLVED] Featured ads query
    By lausha in forum ClassiPress General Discussion
    Replies: 2
    Last Post: February 28th, 2011, 05:10 AM