![]() | |
#11
| |||
| |||
|
|
The two are related. In order to reduce network traffic, you have to process on the server. The example I always use: select * from customers where state='AZ' In Access, that pulls the whole table over the wire, or at least the index on state if there is one, and the query is processed locally. 49/50 of the results are thrown out (assuming equal distribution of customers over the country), and the customers of Arizona are left to play with. In SQL Server, the server processes the request, and only sends 1/50 of the data over the wire. |
|
Upgrading all clients to gain more speed is exponentially more expensive. -Tom. |
#12
| |||
| |||
|
|
On 29 Sep 2004 09:29:12 -0500, d.REMOVEschofield (AT) blueyonder (DOT) co.uk (David Schofield) wrote: The two are related. In order to reduce network traffic, you have to process on the server. The example I always use: select * from customers where state='AZ' In Access, that pulls the whole table over the wire, or at least the index on state if there is one, and the query is processed locally. 49/50 of the results are thrown out (assuming equal distribution of customers over the country), and the customers of Arizona are left to play with. In SQL Server, the server processes the request, and only sends 1/50 of the data over the wire. |
|
Another reason for server processing is that SQL Server supports multiple processors very well, and can take advantage of all available server hardware (including >4GB of memory), and you can also scale to a server farm to process requests more quickly (or for failover/ redundancy). Thus it becomes more realistic to "throw more hardware at the problem". Upgrading all clients to gain more speed is exponentially more expensive. |
#13
| |||
| |||
|
|
It depends of course on your definition of client/server. My definition is that most processing occurs on the server, and the app is written so as to reduce network traffic as much as reasonably possible. Just attaching to SQL Server tables doesn't give you these benefits. |
![]() |
| Thread Tools | |
| Display Modes | |
| |