Re: Slow Query, Optimization Advice Needed
Version is 5.5.45-37.4-log
Explain is:
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY TL ref nMovementOutID,nTrailerID_nMovementInID_nMovementO... nMovementOutID 4 const 10553 Using temporary; Using filesort
1 PRIMARY T eq_ref PRIMARY,nTrailerVendorID,eStatus PRIMARY 4 trailype_new.TL.nTrailerID 1 Using where
1 PRIMARY TV eq_ref PRIMARY PRIMARY 4 trailype_new.T.nTrailerVendorID 1 Using where
1 PRIMARY M ref nTrailerID,nLocationID nTrailerID 4 trailype_new.TL.nTrailerID 2 Using where
1 PRIMARY L eq_ref PRIMARY PRIMARY 4 trailype_new.M.nLocationID 1
2 DEPENDENT SUBQUERY M2 index_subquery tsMovement,nTrailerID nTrailerID 4 func 2 Using where
Subject
Views
Written By
Posted
1725
April 26, 2016 09:30AM
893
April 27, 2016 01:02AM
Re: Slow Query, Optimization Advice Needed
1027
April 27, 2016 07:20PM
821
April 27, 2016 11:28PM
1016
April 28, 2016 01:25AM
972
April 28, 2016 01:12AM
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.