Accelerate queries with Delta:
This query is on a Delta table with many small files. To improve the performance of queries, run the OPTIMIZE command on the table `Schema`.`table_name`
Optimize a table
This is similar to collect stats command as in most of the relational database systems. Once you have performed multiple changes to a table, you might have a lot of small files. To improve the speed of read queries, you can use
Any one of the below commands can be used to optimize the table performance.
OPTIMIZE
to collapse small files into larger ones.Any one of the below commands can be used to optimize the table performance.
OPTIMIZE delta.`/delta/events`
OPTIMIZE events
Comments
Post a Comment