Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2005
    Location
    UK and Ireland
    Posts
    258
    Plugin Contributions
    1

    Default Query causing server/database load issues

    Hi Zenners,

    We have a sitewhich seems to be causing a lot of server and database problems. They have been upgraded to 1.3.8a but their site is still causing a lot of problems (especially on the database queries).
    Code:
    # Time: 080817 10:53:35
    # Query_time: 1308  Lock_time: 0  Rows_sent: 22  Rows_examined: 47187469
    select distinct c.categories_id as id, cd.categories_name as name
            from zen_products p, zen_products_to_categories p2c, zen_categories c, z                                      en_categories_description cd, zen_product_music_extra pme
            where p.products_status = 1
              and pme.products_id = p2c.products_id
              and p2c.categories_id = c.categories_id
              and p2c.categories_id = cd.categories_id
              and cd.language_id = '1'
              and pme.record_company_id = '7'
            order by cd.categories_name;
    The website url is: www.reggae.co.uk

    Any advice on where this is stemming from would be a real help.

    Kind Regards

    Jamie

  2. #2
    Join Date
    Jul 2005
    Location
    UK and Ireland
    Posts
    258
    Plugin Contributions
    1

    Default Re: Query causing server/database load issues

    Problem resolved; Thanks thatsoftwareguy for your great support.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Query causing server/database load issues

    Unless there are security issues involved, it would probably help the rest of us if we could know what the problem was and how it was fixed.

 

 

Similar Threads

  1. v139f database issues after server migration
    By s_mack in forum General Questions
    Replies: 7
    Last Post: 26 Jun 2013, 06:14 PM
  2. Database query causing logjam
    By Beau91324 in forum General Questions
    Replies: 5
    Last Post: 31 Mar 2010, 02:22 AM
  3. dedicated server cannot handle the database query?
    By w2e in forum General Questions
    Replies: 4
    Last Post: 24 Feb 2010, 11:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg