MySQL Forums
Forum List  »  Performance

MySql Union Is Slow
Posted by: Frank Tirone
Date: December 07, 2022 09:50AM

I have 10 MySQL databases. One for each region. I'm using ADF to pull and combine table, same format, into one table for ELT into a Snowflake Data Warehouse. Problem is when a new region comes online, 150 pipelines need to be updated to add the new region's tables.

I attempted to create a view combining the 10+ tables. Performance went down and each ELT is now Taking 3 to 4 times as long translating into many hours longer

Benefit is going forward we just add another union to the view and there are no code changes


We are trying LIMIT as some other forums suggested.

Options: ReplyQuote

Written By
MySql Union Is Slow
December 07, 2022 09:50AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.