A
alex
Hello all,
Using Access ’03…
I have an mdb file that performs between four to six queries each
day. Each query only utilizes two tables:
One – an imported table (updated daily) that contains between 15 and
50 thousand records (it’s a bit fat too). This table contains names
and addresses (very little duplication; e.g., yes/no).
Two – a table contained in the mdb file that holds probably 200
records and remains mostly static.
The query works like this: both tables exist in the query’s design
grid (no relationship between the two). Table one is the main table
and a particular field from table two is listed in the criteria (e.g.,
like [tbl2].[Applicant_Name])
My question is about performance and indexing (I don’t have access to
SQL Server!). I use about 15 fields from table two in the criteria
section of my queries. Should those fields be indexed in table one?
If so, can I do it programmatically (possibly with code). Each query
takes about five minutes to run.
If not, table one comes from an ORACLE db; if I index the ORACLE table
before it gets to Access, will Access keep the indexes?
Thoughts? Thanks,
alex
Using Access ’03…
I have an mdb file that performs between four to six queries each
day. Each query only utilizes two tables:
One – an imported table (updated daily) that contains between 15 and
50 thousand records (it’s a bit fat too). This table contains names
and addresses (very little duplication; e.g., yes/no).
Two – a table contained in the mdb file that holds probably 200
records and remains mostly static.
The query works like this: both tables exist in the query’s design
grid (no relationship between the two). Table one is the main table
and a particular field from table two is listed in the criteria (e.g.,
like [tbl2].[Applicant_Name])
My question is about performance and indexing (I don’t have access to
SQL Server!). I use about 15 fields from table two in the criteria
section of my queries. Should those fields be indexed in table one?
If so, can I do it programmatically (possibly with code). Each query
takes about five minutes to run.
If not, table one comes from an ORACLE db; if I index the ORACLE table
before it gets to Access, will Access keep the indexes?
Thoughts? Thanks,
alex