Spark provides many configurations to improving and tuning the performance of the Spark SQL workload, these can be done programmatically or you can apply