in Big Data | Hadoop by
Q:
How will you resolve an out of memory error while running a JOIN query?

1 Answer

0 votes
by

In case of JOIN query with large tables, we have a lot of data in memory. This  can cause out of memory error.

One simple solution for handling this error is to change the RIGHT OUTER JOIN  to LEFT OUTER

 

JOIN. We should try to put the table with a large number of rows on the rightmost side in a JOIN query.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Dec 5, 2020 in Amazon Elastic Compute Cloud(EC2) by SakshiSharma
0 votes
asked Jan 9, 2020 in Vue.JS by GeorgeBell
...