D
Don Wiss
My Access databases are only used as data repositories for Excel to call.
Tables are either built by importing a Worksheet, or importing a text file.
As the calls to the database are many, I have a bunch questions on how to
make them as fast as possible.
I'm using Dao.DBEngine.36 to retrieve. Would ADO be faster?
The mdb files are in 2002 file format. They are much larger than if in 97
file format. Would the retrieval be faster, or slower, if I convert back to
97? The smaller 97 format would make it easier to propagate the files to
our branches.
All the tables together are 28 MB. But one of the tables has 40,000 lines
and is 27 MB of this. Some tables are tiny, with just a single record with
two columns. Is there a performance hit when retrieving the small tables
when the big table is in the same database?
I gave the big table a column that is Indexed (No Duplicates). All
retrieves will be for a single record on the indexed key. Would adding a
primary key make such calls faster?
Some tables are Indexed (Duplicates OK). Any call to these tables will be
to the indexed columns, and will want all the records with that key. Would
adding a primary key make such calls faster?
On the 27 MB table sometimes I just want the value from a single field. The
entire table has 15 fields (plus the key field). Would it be faster if I
had another table that only had that single field?
Thanks, Don <donwiss at panix.com>.
Tables are either built by importing a Worksheet, or importing a text file.
As the calls to the database are many, I have a bunch questions on how to
make them as fast as possible.
I'm using Dao.DBEngine.36 to retrieve. Would ADO be faster?
The mdb files are in 2002 file format. They are much larger than if in 97
file format. Would the retrieval be faster, or slower, if I convert back to
97? The smaller 97 format would make it easier to propagate the files to
our branches.
All the tables together are 28 MB. But one of the tables has 40,000 lines
and is 27 MB of this. Some tables are tiny, with just a single record with
two columns. Is there a performance hit when retrieving the small tables
when the big table is in the same database?
I gave the big table a column that is Indexed (No Duplicates). All
retrieves will be for a single record on the indexed key. Would adding a
primary key make such calls faster?
Some tables are Indexed (Duplicates OK). Any call to these tables will be
to the indexed columns, and will want all the records with that key. Would
adding a primary key make such calls faster?
On the 27 MB table sometimes I just want the value from a single field. The
entire table has 15 fields (plus the key field). Would it be faster if I
had another table that only had that single field?
Thanks, Don <donwiss at panix.com>.