MySQL Forums
Forum List  »  Optimizer & Parser

Re: Slow Query
Posted by: Gopal venkat
Date: September 04, 2019 11:47AM

Kind of picking up late. The fist thing came into my mind is I got a similar situation in my db2 luw database and I created a index on concat columns.

Example of my index.

CREATE INDEX CMSDB.IX_CONCAT_POCAT_PONUMBER on CMSDB.POMASTER (CONCAT(pocat, ponumber)) COMPRESS NO INCLUDE NULL KEYS ALLOW REVERSE SCANS

Options: Reply• Quote


Subject
Views
Written By
Posted
2129
June 21, 2019 04:47AM
1112
June 21, 2019 10:17AM
1189
June 24, 2019 02:18AM
1031
June 24, 2019 09:56AM
1046
June 24, 2019 10:15AM
1118
June 24, 2019 10:45AM
Re: Slow Query
1174
September 04, 2019 11:47AM
1037
September 04, 2019 02:32PM
976
September 06, 2019 05:59AM
1032
September 06, 2019 09:57AM


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.