Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Posts
    103
    Plugin Contributions
    0

    Default dedicated server cannot handle the database query?

    urgent help needed.
    it looks like every database query goes through the entire database:
    Rows_sent: 123570 Rows_examined: 371018 (see mySQL log below).

    Anybody can help with this?

    # Query_time: 5 Lock_time: 0 Rows_sent: 123570 Rows_examined: 371018
    select distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name,
    p.products_date_added, p.products_price, p.products_type, p.master_categories_id
    from zen_products p, zen_products_description pd
    where p.products_id = pd.products_id
    and pd.language_id = '1'
    and p.products_status = 1;

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: dedicated server cannot handle the database query?

    Maybe you've done something to delete all the indexes on your tables?
    Or maybe your hosting service is incapable of providing the services you require.
    .

    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.

  3. #3
    Join Date
    Oct 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: dedicated server cannot handle the database query?

    how do i confirm/check?
    If that is the case, how do i restore the indexes?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: dedicated server cannot handle the database query?

    Quote Originally Posted by w2e View Post
    how do i confirm/check?
    You can see the indexes via phpMyAdmin when looking at each table's structure.
    Or you can export structures and compare against the original Zen Cart files.
    Or you can hire a professional who handles this sort of thing all the time.

    Quote Originally Posted by w2e View Post
    If that is the case, how do i restore the indexes?
    You'll have to manually build them all based on the original Zen Cart structure, or again, hire a professional who is familiar with the process.
    .

    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.

  5. #5
    Join Date
    Oct 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: dedicated server cannot handle the database query?

    update:

    We have since moved the site from inmotionhosting to another, and after 1 month, we are now running our own dedicated server.

    The conclusion is that the problem is not about if zen cart can handle how many items. The problem is about the hosts! All the hosting companies want is money from you - the more the better! different companies use different tactics.

    The highest item count on our site so far is over 103K without a problem. The google webaster tools show our load speed at 0.7 - higher than 93% of the sites. All this has been done without making any changes to zen cart.

 

 

Similar Threads

  1. Virtual Server V Dedicated Server
    By mongoosepepper in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 23 May 2011, 02:12 PM
  2. What is the proper procedure for changing to Dedicated Server and upgrade zencart?
    By musicfreer in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 12 Jan 2011, 05:32 AM
  3. Query causing server/database load issues
    By JSWeb in forum General Questions
    Replies: 2
    Last Post: 17 Aug 2008, 03:00 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR