Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4382970
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:50:50+00:00 2026-05-21T12:50:50+00:00

I am working on something that uses Zen Cart. Changing the site from Zen

  • 0

I am working on something that uses Zen Cart. Changing the site from Zen Cart is not optional at this point. The site works fine most of the time, but every week or so, the site takes a performance hit. Discussions with the server provider indicates that it is almost certainly being caused by too many writes to the database resulting in inefficient i/o usage. The database server is different from the web server, but if the database server does not have enough available i/o, the site would suffer (since pretty much every single page on the site makes a database call). I am looking for a solution to fix this, and believe I have found some, but would like some feedback.

A) Determine if I can modify zen cart to use INSERT DELAY instead of INSERT so the pages don’t hang on particular queries. However, Zen Cart is a huge system and making a broad scale change like this might have negative ramifications (for instance, DELAY statements won’t execute on tables that have been locked with LOCKED TABLES, or subsequent pages not properly reflecting actions taken by the user on prior pages since they can load without the prior queries being completed).

B) Deploy a hybrid hosting solution in which the site runs on the cloud, but the database runs on a server with multiple SAS drives to increase write speed and thereby freeing up I/O more rapidly for subsequent queries. I would like to avoid this since it raises costs significantly.

Has anyone run into this issue with Zen-Cart? What are your views on these fixes? What fixes have you utilized?

UPDATE:
I ended up using Query Cache by Data Diggers and that helped greatly. I also found out that zencart’s usage of getimagesize() accounts for much of its load time, so I am creating a way to get those values from cache. The majority of the mysql query lag was caused by excessive read operations, not write operations. Things have improved drastically since I implemented the changes. I will mark AJ’s answer as correct since he did answer what I was originally asking.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T12:50:51+00:00Added an answer on May 21, 2026 at 12:50 pm

    Making a broad change like INSERT DELAY instead of INSERT may be the right solution, but not all of your queries are causing the problem. Only a few (or maybe even only one) are responsible for the performance problem.

    You should be trying to figure out which specific query/queries are causing the performance issue. Work with your host to enable slow query logging and let MySQL tell you where the inefficiencies are. If none are slow to run, and it’s just a sheer concurrency issue, IFF you are married to Zen Cart then you need to look at beefing up your infrastructure. I like your thinking on having separate Web and database servers. Don’t go overboard though – if they’re both running on one server right now, just get a second server and move your database.

    Make incremental changes and monitor the results. Changing too many things at one time will make it difficult to identify the cause of any gains (hopefully not losses) in performance you see.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the a simple LinqToSQL statement that is not working. Something Like this:
I'm working on something that pulls in urls from delicious and then uses those
I am working on a Bash shell script that does something like this: #!/bin/bash
I'm working on a site that uses Google Analytics. On most of the pages
I am working with some code that uses an OleDbConnection to load data from
I'm working on something that uses search, so each recursive call needs a separate
I'm working on a site that uses setTimeout() to do kind of a 'slideshow'
Im working on a drupal site that uses jQtouch (for iphone), and im trying
I'm working on a webapp that uses jQuery, and I'm getting something that looks
I'm building something that uses processing.js to operate on JPEG images dragged from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.