Hi,
I have had to write a software with VisualBasic 6.0 and MS Access.
Now the database that I deal with has some 1 million records and I perform operations on this and based on certain criteria I need to look at a part of this table and generate a bunch of insert statements.
Overall there are some 100 thousand inserts followed by records getting deleted from the 1 million record table. The operation seems to fail because the MAX LOCKS are reached.
I solved this by editing the registry entry.
However the operation takes a few hours to complete. The main reason for this is the frequent INSERTS.
I just want to know if there is any way of optimizing this.
I have had to write a software with VisualBasic 6.0 and MS Access.
Now the database that I deal with has some 1 million records and I perform operations on this and based on certain criteria I need to look at a part of this table and generate a bunch of insert statements.
Overall there are some 100 thousand inserts followed by records getting deleted from the 1 million record table. The operation seems to fail because the MAX LOCKS are reached.
I solved this by editing the registry entry.
However the operation takes a few hours to complete. The main reason for this is the frequent INSERTS.
I just want to know if there is any way of optimizing this.
Comment