Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: db tuning - some queries not using defined indexes?

    You have not provided the server base system????

    No matter, as tuning my.cnf is an item that hosts spend a huge amount of time on and are reluctant to share
    Zen-Venom Get Bitten

  2. #2
    Join Date
    Jun 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: db tuning - some queries not using defined indexes?

    Do you mean the server/install specs?

    MySQL 5.0.90-community
    PHP Version 5.2.9
    Zen Cart 1.3.8
    Dedicated machine with a lot of RAM

    And all of the tables in the query have indexes on the primary keys and the columns in the where clauses, yet they aren't used. Maybe it's because of the LEFT JOIN, the distinct or some other parts of the query but I'm not sure. I tried googling around and didn't find a clear answer.

    -d

    Quote Originally Posted by kobra View Post
    You have not provided the server base system????

    No matter, as tuning my.cnf is an item that hosts spend a huge amount of time on and are reluctant to share

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: db tuning - some queries not using defined indexes?

    Something about that query is just wrong.
    Where did you get it from? As in ... I can't find that query within Zen Cart anywhere. What addon is using that?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 14 Feb 2015, 08:37 PM
  2. Replies: 2
    Last Post: 4 Nov 2013, 06:15 PM
  3. Using EZpages instead of Defined for contact us
    By Feznizzle in forum General Questions
    Replies: 5
    Last Post: 9 Jul 2010, 02:55 PM
  4. New Page adding - using Defined Pages
    By shawnchr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jul 2009, 04:01 PM
  5. some fine tuning help please.
    By cyrusli in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Jun 2008, 10:27 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