- Posts: 1130
- Thank you received: 458
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I dont' like it , but hear you are , all high and mighty with proper Logic . PS I literally just faced this problem and was about to make a post , so thanks for answeringThank you we will add to the list of things to do.
it is tempting to use "Get value in the database" and "SQL Lookup" because it is easy it must me be avoided.
Imagine that you loading 10 million records of data into the database.
For every record you run "Get value in the database" and "SQL Lookup" functions
That is 20 million SQL statements.
It will take very long time,
overload the server and
make your DBA very unhappy
Please Log in or Create an account to join the conversation.
1. I always thought , you cache the data somewhere so SQL/DB Server is hit only once for the entire transformationImagine that you loading 10 million records of data into the database.
For every record you run "Get value in the database" and "SQL Lookup" functions
That is 20 million SQL statements.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have a list of say 20000 customers, their address are kept in a sql file against a code , in this scenario2. Your suggestion is then , we run a package/transformation and output everything to a text file in advance?
I do not really understand what you are trying to achieve here. My suggestion is to use lookup transformation if possible it does support data-base as data source so there is no need to save the data into the text file in advance.
Please Log in or Create an account to join the conversation.