eturi Posted September 28, 2004 Posted September 28, 2004 My DB is quite large and load times is being increasing, have anyone some solutions for this ?
julianpuje Posted September 28, 2004 Posted September 28, 2004 I used this that was posted earlier, sorry, i can't remember who by. Following the order presented, in PHPMyAdmin select your database and: 1. Click the SQL tab and enter the following in the textbox and click enter: alter table categories add index (sort_order); alter table customers add index (customers_email_address); alter table orders add index (customers_id); alter table products add index (products_model), add index (products_price), add index (products_date_available), add index (manufacturers_id); alter table products_attributes add index (products_id), add index (options_id); alter table products_options add index (products_options_name); 2. Click the Structure tab and under the table listing click Check All and select Optimize from the drop down. This optimizes the database. Also make sure you have gzip compression enabled in your admin area. I also used the config cache and thumbs GD library contributions. My site has come down from @ 50sec @ 56k to 8.3 sec. I hope this helps Julian :D A little knowledge is dangerous, I SHOULD KNOW. If Life Begins At 40, What ends????
Guest Posted September 28, 2004 Posted September 28, 2004 Sounded good, don't have optimize in my drop down tho. Are you supposed to sql each individually or as a set? Thanks Rolf
Daemonj Posted October 15, 2004 Posted October 15, 2004 Copy and paste the entire sql block and you should be good. :) "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
oscommercenewbie Posted November 24, 2004 Posted November 24, 2004 Tied this and received the following error message. Error SQL-query : ALTER TABLE products ADD INDEX ( products_model ) , ADD INDEX ( products_price ) , ADD INDEX ( products_date_available ) , ADD INDEX ( manufacturers_id ) MySQL said: #1069 - Too many keys specified. Max 32 keys allowed Anyone know what this means?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.