PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > "Speed up" client connections to an ODBC SQL 2005 database
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
"Speed up" client connections to an ODBC SQL 2005 database

Réponse
 
LinkBack Outils de la discussion
Vieux 10/09/2008, 14h08   #1
Spin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut "Speed up" client connections to an ODBC SQL 2005 database

Gurus,

Running SQL Server 2005 SP2 with a client app that is using ODBC. On client
machines, is there a secret that you use to generally try to "speed up" or
make more efficient client connections to the database?

--
Spin

  Réponse avec citation
Vieux 10/09/2008, 14h29   #2
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "Speed up" client connections to an ODBC SQL 2005 database

> Running SQL Server 2005 SP2 with a client app that is using ODBC. On
> client machines, is there a secret that you use to generally try to "speed
> up" or make more efficient client connections to the database?


I wouldn't call it a secret, but connection pooling is usually used to avoid
the overhead of repeatedly establishing connections to the same database.
This is the default behavior with ADO and ADO.NET.

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Spin" <Spin@invalid.com> wrote in message
news:6iprqjFs7bmnU1@mid.individual.net...
> Gurus,
>
> Running SQL Server 2005 SP2 with a client app that is using ODBC. On
> client machines, is there a secret that you use to generally try to "speed
> up" or make more efficient client connections to the database?
>
> --
> Spin


  Réponse avec citation
Vieux 10/09/2008, 15h05   #3
Spin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "Speed up" client connections to an ODBC SQL 2005 database

Dan, I take an ODBC connection will not use connection pooling by default,
but if you go ahead and set it on the client, and given that not many other
clients connect to the DB anyway, to one will see a performance improvement
on the client?


  Réponse avec citation
Vieux 11/09/2008, 02h46   #4
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "Speed up" client connections to an ODBC SQL 2005 database

> Dan, I take an ODBC connection will not use connection pooling by default,
> but if you go ahead and set it on the client, and given that not many
> other clients connect to the DB anyway, to one will see a performance
> improvement on the client?


Actually, I believe pooling is enabled by default with later ODBC drivers.
You can double-check the configuration by double-clicking on the driver name
under the Connection Pooling table of the ODBC Administrator.

If pooling is enabled, can you elaborate on how slow is slow in your
environment?

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Spin" <Spin@invalid.com> wrote in message
news:6ipv0nFrv2i3U1@mid.individual.net...
> Dan, I take an ODBC connection will not use connection pooling by default,
> but if you go ahead and set it on the client, and given that not many
> other clients connect to the DB anyway, to one will see a performance
> improvement on the client?
>


  Réponse avec citation
Vieux 11/09/2008, 13h41   #5
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "Speed up" client connections to an ODBC SQL 2005 database

> 2) Antivirus doing real-time scanning of both the SQL binary folders AND
> of the DB and log file locations (I turned that off)


Well that sure explains the connection slowness ;-) I would expect the
queries impacted as well. I'm glad you identified the cause.

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Spin" <Spin@invalid.com> wrote in message
news:6isat3F9tamU1@mid.individual.net...
> Dan, you are quite right. In my Win 2003 configuration, pooling was
> enabled by default. On the SQL Server, the CPU was pegged out. I
> discovered:
>
> 1) both SQL instances running opn the same cluster node (I failed over one
> instance to the other node)
> 2) Antivirus doing real-time scanning of both the SQL binary folders AND
> of the DB and log file locations (I turned that off)
>
> Now, CPU utilization is better and speed faster.


  Réponse avec citation
Vieux 11/09/2008, 17h38   #6
Spin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "Speed up" client connections to an ODBC SQL 2005 database

I always post back solutions to my problems because I feel I owe it to this
group that you all me so much. Thanks for confirming on the ODBC
stuff...


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h07.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10356 seconds with 14 queries