Jump to content

[SOLVED] Performance Issues


mad4it

Recommended Posts

MySQL version: 5.0.45

 

Hi,

 

I'm having problems with a database table - the structure is as follows :

 

 

CREATE TABLE `products_1` (

  `id` int(11) NOT NULL auto_increment,

  `product_name` varchar(200) default NULL,

  `product_code` varchar(50) default NULL,

  `product_category` varchar(200) default NULL,

  `uniqueid` varchar(13) default NULL,

  `product_price` decimal(10,2) default NULL,

  `xxxxpostage` decimal(15,2) default NULL,

  `product_importance` decimal(10,0) default NULL,

  `product_description` text,

  `product_discount` decimal(10,2) default NULL,

  `product_weight` decimal(10,2) default NULL,

  `product_subcategory` varchar(200) default NULL,

  `product_tax` char(3) default NULL,

  `product_stock` decimal(10,0) default NULL,

  `extra1` varchar(200) default NULL,

  `extra2` varchar(200) default NULL,

  `extra3` varchar(200) default NULL,

  `extra4` varchar(200) default NULL,

  `extra5` varchar(200) default NULL,

  KEY `id` (`id`),

  KEY `product_name` (`product_name`),

  KEY `product_category` (`product_category`,`product_subcategory`)

) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

 

 

The table contains appx 109,000 records and appears to be causing major CPU load issues. The table is searchable by either :

 

Product Name

Product Category

Product Category & Product SubCategory

Extra1

Extra2

Extra3

Extra5

 

The table previously contained appx 60,000 records and had no performance issues but since the size was increased from 60,000 to 109,000 the server has struggled to cope.

 

All ideas/suggestions welcome!

 

Thanks

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.