Locktype and performance
From: Apostolos Dimopoulos (adimop_at_dreamtech.gr)
Date: 11/28/03
- Next message: Mike Collier: "Re: Locktype and performance"
- Previous message: D Whaley: "Re: Temp Table Problem"
- Next in thread: Mike Collier: "Re: Locktype and performance"
- Reply: Mike Collier: "Re: Locktype and performance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Nov 2003 17:00:59 +0200
Hi,
I am using the ADO controls with Delphi 7 and SQL Server 2000 to populate a
control with data from a large table. Even though I would expect the
combination of adUseServer / adOpenForwardOnly / adLockReadonly to offers
the best performance, I see that the best performance - with great
difference is obtained when using adUseServer / adOpenForwardOnly /
adLockOptimistic or adLockBatchOptimistic.
Also adLockOptimistic takes no locks for reading as expected but
adLockReadonly takes select locks.
Any explanation regarding this performance behaviour?
Thanks in advance,
Apostolos
- Next message: Mike Collier: "Re: Locktype and performance"
- Previous message: D Whaley: "Re: Temp Table Problem"
- Next in thread: Mike Collier: "Re: Locktype and performance"
- Reply: Mike Collier: "Re: Locktype and performance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]