DigitalShadow:
Can I find this information, is there a logging script that could be used?
Chances are they've configured MySQL to "log any slow queries" and also to "log any queries which don't use indexes". Those are settings the server administrator can set server-wide, and the output gets dumped into text files on the server, which usually only the server administrator has access to. But they could share that data with you if they're willing. (Sometimes they won't because the logs might contain data from other sites on the server too, and they don't want to go to the trouble of stripping out only your data for you because that takes time on their part.)
And they might not want to have to package up a huge file storing 93396 queries for you to have to download ... besides, there's probably a lot of duplicates in it and that's too much data for you to go through anyway. That's why I asked for the top 10 unique ones.
But you can ask.
They might also be using some advanced tools to perform additional analysis on the logged data. Whether they have any extra information to share with you is unknown to you or me.
Your server might also be slow because of PHP errors ... which Zen Cart stores in the /logs/ folder: http://www.zen-cart.com/content.php?124-blank-page
If your server is generating logs on each page-click, then you really need to fix those first, as every error slows the site down.
.
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.