Nigel Gomm
Programmer
i have an application that uses a table as a message queue with client PCs putting a request in the table (new record) and an .exe on a server listening for requests and writing the reply. Been working well for several years at a variety of customers with different versions of Windows Server (SMB2, oplocks etc should be switched off).
The server .exe uses
[pre]
UNLOCK in tablename
FLUSH IN tablename FORCE
[/pre]
to make sure the record physically gets updated asap.
Recently (last month or so) performance at several customers slumped and it seemed that the client PCs weren't seeing the reply for several seconds. Separately when trying to open the table at start of day they often got stuck with "attempting to lock".
In desperation i replaced the UNLOCK and FLUSH with
[pre]USE IN tablename
USE tablename
[/pre]
and it appears much (much!) quicker (The table is small with just the one index so reopening should be quick). It's early days yet and i don't have a formal test or measurement for the improvement (plus i made few changes to the AV).... but it seemed quicker to me when i was testing
I'm wondering if a recent Windows update has changed something.....
Any thoughts ?
n
The server .exe uses
[pre]
UNLOCK in tablename
FLUSH IN tablename FORCE
[/pre]
to make sure the record physically gets updated asap.
Recently (last month or so) performance at several customers slumped and it seemed that the client PCs weren't seeing the reply for several seconds. Separately when trying to open the table at start of day they often got stuck with "attempting to lock".
In desperation i replaced the UNLOCK and FLUSH with
[pre]USE IN tablename
USE tablename
[/pre]
and it appears much (much!) quicker (The table is small with just the one index so reopening should be quick). It's early days yet and i don't have a formal test or measurement for the improvement (plus i made few changes to the AV).... but it seemed quicker to me when i was testing
I'm wondering if a recent Windows update has changed something.....
Any thoughts ?
n