Re: Enable Memory Restriction for Lookup Transformation

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Manan,

Using "Enable memory restriction" is generally aVery Bad Idea, unless
you are mapping very few rows against a very large lookup table. The
reason for this is that when you have this option checked, SSIS will
lookup and cache the lookup information row-at-a-time as it reads in
the source data.

In limited scenarios (e.g. large lookup table, but only a small number
of distinct lookup values expected in the source data) then using
memory restriction might not be a bad idea.

There are a few things you could try:
1) Use a SQL statement to define your Lookup source. Selecting "Table
or View" instead of a SQL statement prepares the statement in a
slightly less efficient way.
2) Restrict the returned columns. "SELECT *" is bad .. all the rows
in the lookup table are returned and cached even if they are not
actually used. Ideally you should only include the lookup key and
join columns in your query.
3) Index the lookup table.
4) Use a MergeJoin task. With large volumes of data this can
sometimes be quicker than a lookup.

Good luck!
J
.



Relevant Pages

  • Re: Searching/adding new records
    ... you don't need separate forms. ... you lookup a company. ... box's AfterUpdate event to requery the form (and base the source data for ...
    (microsoft.public.access.forms)
  • Re: Returning readable lookup value not integer value from table
    ... Assuming you've added the ClaimSpecialistNames table to your query, ... Is there a line length limitation that I'm encountering? ... In creating a query that includes the lookup table value not key, ... BTW, in generating the SQL statement via concatenating field names, ...
    (microsoft.public.access.formscoding)
  • Re: Functions in Excel
    ... the first column of your lookup table - if not you can use an INDEX/ ... and would like to be able to pull data from a source data sheet on another ... tab when I click in the cell. ... tried Vlookup and it ddn't work. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Vlookup
    ... just a typo, ... you have in sheet1!$a$1:$a$4 and what lookup value in a1? ... after I insert on column in the source data. ... Is there something missing or is there any corruption? ...
    (microsoft.public.excel.misc)
  • LRe: Expert: Sorting a DBGrid from an Access Db via ADO
    ... How do I do that in the SQL statement? ... Lookup does 100% what I want, so it's just so convenient and it's a shame ... against another table and fills in a field in the first database. ... values are "country code" and it's looked against the long name of the ...
    (borland.public.delphi.database.ado)