Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to speed up SQL remote view ?
Message
 
 
À
30/10/2001 10:46:35
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00572419
Message ID:
00575141
Vues:
66
>>>Hi Larry this is not exactly true you can have the same response time and yet one process be more efficient that the other, for efficiency try to look to the statistics how may reads that statement done the more efficient one will have less reads to SQL SERVER less reads implicates less possibilities of encounter a lock somewhere.
>>
>>Alexandre,
>>This implies that there is a performance boost when dealing with higher volumes of rows.
>>
>>Fewer reads per row operation * More rows = Delta
>>
>>As the number of rows increases, my delta should increase which translates into a performance gain. However, if fewer reads never translate into any kind of performance gain, then it isn't more efficient. It is simply a different way, IMO.
>>
>>As for locks, I am talking about queries only. Unless I want to repeat the same query over and over again and issue a HOLDLOCK in my SELECT statement, I shouldn't need to worry about locks other users are holding.
>Larry this is not true take an example if you are doing an update inside a transaction you will have an exclusive lock on the records that you have updated if someone is trying to do a select that for some reason is passing to that record that person will be locked.

If you use the defaults of SS, yes this is true. The default of SS (at least 2000) is READ COMMITED. However, for simple querying, I change the transaction isolation level to READ UNCOMMITED. Then no locking interferes. This makes SS act the same as VFP. Only those mods commited to disk are read.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform