Deleting and Recreating Access Tables

B

BarryC

I have a program that imports data, processes it and places the results

into final tables. My problem is that it is really slow. Each temp
processing table has almost 2 million records in it. I have identified
the deletion of these temporary records as a bottleneck in the speed.

My first thought is to drop the tables and recreate them instead of
deleting the records.


Any thoughts on this? Better ideas? I've seen comments that this isn't
good for DB
stability.
 
M

Marshall Barton

BarryC said:
I have a program that imports data, processes it and places the results

into final tables. My problem is that it is really slow. Each temp
processing table has almost 2 million records in it. I have identified
the deletion of these temporary records as a bottleneck in the speed.

My first thought is to drop the tables and recreate them instead of
deleting the records.


Temporary tables are best managed when they are in a
temporary database. Instead of deleteing the data or the
table, you can just delete the file. For some ideas, take
a look at: http://www.granite.ab.ca/access/temptables.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Deleting and Recreating Access Tables 2
Deleting and Recreating Access Tables 1
Query Speed 5
Temp DBs 2
Table Locking Problem 2
Importing Tables 0
Table Refresh Storing backup? 1
Table Design Question 3

Top