distinct clause issue for 600000 records
Hi,
I am facing issue with distinct clause whenever i am trying to retrieve 600000 records using one of the tool(pdi-etl tool),here issue is with CPU usage up to 100% .
As per my DBA input, the root cause for my issue is DISTINCT , i kept distinct clause in my select query because of getting duplicate records even though i have unique data. actually i should not get duplicate data why because i have all records with columns are unique.
Due to this distinct i am reaching CPU usage upto 100% how can i avoid duplicate records in MySQL database.
below is my sample query, when i join with other table then i am getting duplicate records but i have only one record.
select ee.id
from extn ee
left join srl prd on prd.id =ee.id where ee.id=2662
Thank you
Subject
Views
Written By
Posted
distinct clause issue for 600000 records
2035
November 10, 2015 08:57AM
1128
November 11, 2015 12:33PM
1013
November 12, 2015 12:49AM
1128
November 12, 2015 03:20AM
1027
November 12, 2015 07:24PM
1236
November 12, 2015 07:08AM
1229
November 12, 2015 07:18AM
1280
November 12, 2015 07:43AM
1143
November 13, 2015 12:37AM
1266
November 13, 2015 12:45AM
1299
November 13, 2015 02:42AM
1300
November 13, 2015 05:56AM
1108
November 13, 2015 06:38AM
1197
November 13, 2015 07:15AM
1163
November 13, 2015 08:11AM
1125
November 13, 2015 11:35AM
1195
November 16, 2015 03:04AM
1130
November 16, 2015 04:12AM
1066
November 16, 2015 05:54AM
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.