Why does the In Database 'Connect In-DB' tool not allow the use of 'Materialize' in a sql statement while the regular 'Input Data' tool will?
With Cust as
(select /*+MATERIALIZE*/
sto_cust_seq, etc..etc..
That is to say, I get a 'DataWrapOCI: unable to prepare the query' error at the 'Data Stream Out' tool.
Solved! Go to Solution.
It's my understanding that the In-DB tools will write temporary tables as a part of their normal operation and that specifying this command isn't necessary.
Thanks for pointing me to that. It makes sense.
Maybe it's my companies servers, but I've found using multiple In-Database 'Connect In-DB' inputs and joining them in-database is slower than using the Data Stream Out and using a regular join.
While the In-Database 'Connect In-DB' is faster with most of our tables, on some of them using the Input Data tool with 'Materialize' is significantly faster.
Thank you for your answer.
Happy to help.
In your case, it sounds like maybe your local machine has some rockin' resources compared to your server, or there are some parallelism settings on the server doing their thing.
Happy Alteryx-ing!