MySQL Forums
Forum List  »  Performance

Slower machine 1,000's of time faster??
Posted by: David Wynter
Date: December 13, 2005 03:16AM

I think that it is the MySQL setup that is causing this. On a separate much slower machine the query runs in seconds. It has this explain:

1, 'PRIMARY', 'ce1', 'index', 'PRIMARY,Cap_Chng_Market_idx', 'PRIMARY', 8, '', 194169, ''
1, 'PRIMARY', 'ce2', 'ref', 'PRIMARY,Cap_Chng_Market_idx', 'Cap_Chng_Market_idx', 9, 'securitymaster.ce1.Cap_Chng_Market_Lvl_Id', 24271, 'Using where; Using index'
2, 'UNION', 'ce3', 'index', 'PRIMARY,Div_Market_Lvl_idx', 'PRIMARY', 8, '', 194169, ''
2, 'UNION', 'ce4', 'ref', 'PRIMARY,Div_Market_Lvl_idx', 'Div_Market_Lvl_idx', 9, 'securitymaster.ce3.Div_Market_Lvl_Id', 1, 'Using where; Using index'
3, 'UNION', 'ce5', 'index', 'PRIMARY,Asset_Id_idx,Event_Type_idx', 'PRIMARY', 8, '', 194169, 'Using where'
3, 'UNION', 'ce6', 'ref', 'PRIMARY,Asset_Id_idx,Event_Type_idx', 'Asset_Id_idx', 9, 'securitymaster.ce5.ASSET_ID', 1, 'Using where'
4, 'UNION', 'ce7', 'ref', 'PRIMARY,Event_Type_idx', 'Event_Type_idx', 5, 'const', 767, 'Using where; Using temporary; Using filesort'
4, 'UNION', 'ce8', 'ref', 'PRIMARY,Event_Type_idx', 'Event_Type_idx', 5, 'const', 767, 'Using where'
, 'UNION RESULT', '<union1,2,3,4>', 'ALL', '', '', , '', , ''

i.e it is that same as the faster machine where the query takes 30 minutes to run? I cannot explain the difference

David

Options: ReplyQuote


Subject
Views
Written By
Posted
2196
December 09, 2005 11:45AM
1432
December 09, 2005 11:51AM
1502
December 09, 2005 11:53AM
1578
December 09, 2005 12:11PM
1364
December 09, 2005 12:12PM
1361
December 09, 2005 12:33PM
1392
December 10, 2005 10:50AM
1464
December 12, 2005 05:14AM
Slower machine 1,000's of time faster??
1392
December 13, 2005 03:16AM
1532
December 14, 2005 11:17PM
1497
December 16, 2005 11:46AM
1422
December 26, 2005 08:32PM
1412
December 14, 2005 10:47PM
1426
December 23, 2005 12:29PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.