Created
July 29, 2017 19:03
-
-
Save anjijava16/6a443d178a79f0d7a497e510ee9054ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
• DISTINCT and GROUP BY - Use only if it is necessary. Try to avoid it as it will degrade the performance. | |
• PARTITION - Try to partition the table. Using the partition column in Filter will Improve the performance. | |
• Rewrite - Do not use the same query as used in RDBMS. Rewrite the query completely to improve the performance. | |
• Map Split Size - Try to reduce the Map Split Size. This will reduce the time taken by the query. | |
• Map Join - Try to Map Join small tables so that joining it with large table will take less time. | |
• Memory - Change the memory based on queries used. | |
• Format ORC - Try to keep all the tables in ORC format which will improve the queries on that table. | |
• Hive Execute parallel - For executing jobs in parallel. | |
• CTAS - Try creating Managed tables instead of External tables. | |
• Data Explosion - Try to fetch the filtered data set and join. Make sure that there is no cross join between large data set. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment