When I run a large query with multiple joins on TEMP tables, I get an error saying: "DDL statement interfered with query replan". It works well for relatively small tables. But it fails for a 100M rows table. I have no idea where to start looking. Any ideas?