I'm reviewing some code in our app that occasionally has some complaints from users about being slow. I've narrowed the problem down to a portion of code that opens a file, appends a new record, then closes the file.
My question is, does anyone know or has anyone experimented with what happens to a table as it is being opened in relation to other users. I've been trying to find a reference to this , but my thinking is that perhaps there is a very small lock placed on the table header each time the file is opened, causing a slowdown for other users.
I've made some improvement by replacing:
append blank
replace...
with
insert into..
If anyone has any information on this or anything to add to this, I'm always looking for tidbits of info that I can use for improvement.
Thanks
Hal
My question is, does anyone know or has anyone experimented with what happens to a table as it is being opened in relation to other users. I've been trying to find a reference to this , but my thinking is that perhaps there is a very small lock placed on the table header each time the file is opened, causing a slowdown for other users.
I've made some improvement by replacing:
append blank
replace...
with
insert into..
If anyone has any information on this or anything to add to this, I'm always looking for tidbits of info that I can use for improvement.
Thanks
Hal