I have a delta table 'targetTable' which has 35 billion records. Every day I get 100 million records from source and I have to perform upsert operation on targetTable.
TargetTable:
- 25 columns
- 25 billion records
- 1 column commID which is unique for each row
as of now - it is taking 45min - 1hr to complete the job and it is keep on increasing.
any suggestion whether to use Z order or partition of files for better performance apart or any other