Hi Experts:
Env : DS8.1, Unix, Oracle in PX
My Lookup database having 300 Million Records,
incoming file having 100 K to 500 K records, it needs to perform database lookup , if match found i will get the ACCT Num from the Database.
Req:
incoming file having name, street name, unit, city, state and zip fields if match found then i will get the acct num from the database.
the question is how can get the best performance. performance is very critical, i need to process multiple files in multiple times a day.
can you suggest me the solutions.
thanks
Vemisr
Database Lookup issue
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
As suggested -
1. Go for sql query join if both are from same database.
2. Can go for Join stage if not bothering about the unmatched records.
3. Also, if wants to perform the look up only then try to use minimum columns in look up stage and by pass the rest.
Also, Please elobrate more on your problem.
1. Go for sql query join if both are from same database.
2. Can go for Join stage if not bothering about the unmatched records.
3. Also, if wants to perform the look up only then try to use minimum columns in look up stage and by pass the rest.
Also, Please elobrate more on your problem.
Rgrds,
Abhi
Abhi
Re: Database Lookup issue
One simple Solutopn.
Insert the source records into a database if they come from other source, and do a database join.
Insert the source records into a database if they come from other source, and do a database join.
vemisr wrote:Hi Experts:
Env : DS8.1, Unix, Oracle in PX
My Lookup database having 300 Million Records,
incoming file having 100 K to 500 K records, it needs to perform database lookup , if match found i will get the ACCT Num from the Database.
Req:
incoming file having name, street name, unit, city, state and zip fields if match found then i will get the acct num from the database.
the question is how can get the best performance. performance is very critical, i need to process multiple files in multiple times a day.
can you suggest me the solutions.
thanks
Vemisr
Aravind