Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Sql Server 2005 How to ?
Hi,

I want to check the connections opened to an instance of Sql Server 2005;
who, when, eventually the connection string. I have an application without
sources that connects to a database and I suspect it leaves the connections
unclosed, until maximum pool size is reached. How to enumerate through
opened connections ?

Thanks for any advice



Report this thread to moderator Post Follow-up to this message
Old Post
Bragadiru
03-07-06 04:24 PM


RE: Sql Server 2005 How to ?
Hi Bragadiru,

Welcome to use MSDN Managed Newsgroup Support.

From you description, my understanding of this issue is: you want to check
the existing connection of the SQL Server 2005 instance. If I misunderstood
your concern, please feel free to point it out.

You may use the SQL Server Profiler to trace the existing connections to
the SQL Server 2005 instance.

Microsoft SQL Server Profiler is a graphical user interface to SQL Trace
for monitoring an instance of the SQL Server Database Engine or Analysis
Services. You can capture and save data about each event to a file or table
to analyze later.

Start SQL Server Profiler from the Start-> All Programs-> Microsoft SQL
Server 2005-> Performance Tools-> SQL Server Profiler.

Chose File in the Menu bar and select New Trace.

Chose the SQL Instance you want to monitor and then check the
ExistingConnection in the Events Selection Tab at the Trace Properties
dialog box.

Now you can trace the existing connections.


Also, you may try to query the DMV and system views to get the information.

sys.dm_exec_connections
sys.sysprocesses

Hope this will be helpful.

Sincerely yours,

Wei Lu
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
 ====================
 ====================
=============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
 ====================
 ====================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.


Report this thread to moderator Post Follow-up to this message
Old Post
Wei Lu
03-08-06 08:23 AM


Re: Sql Server 2005 How to ?
Thanks a lot Wei Lu !


"Wei Lu" <t-weilu@online.microsoft.com> wrote in message
news:D2nfS4mQGHA.5116@TK2MSFTNGXA03.phx.gbl...
> Hi Bragadiru,
>
> Welcome to use MSDN Managed Newsgroup Support.
>
> From you description, my understanding of this issue is: you want to check
> the existing connection of the SQL Server 2005 instance. If I
> misunderstood
> your concern, please feel free to point it out.
>
> You may use the SQL Server Profiler to trace the existing connections to
> the SQL Server 2005 instance.
>
> Microsoft SQL Server Profiler is a graphical user interface to SQL Trace
> for monitoring an instance of the SQL Server Database Engine or Analysis
> Services. You can capture and save data about each event to a file or
> table
> to analyze later.
>
> Start SQL Server Profiler from the Start-> All Programs-> Microsoft SQL
> Server 2005-> Performance Tools-> SQL Server Profiler.
>
> Chose File in the Menu bar and select New Trace.
>
> Chose the SQL Instance you want to monitor and then check the
> ExistingConnection in the Events Selection Tab at the Trace Properties
> dialog box.
>
> Now you can trace the existing connections.
>
>
> Also, you may try to query the DMV and system views to get the
> information.
>
> sys.dm_exec_connections
> sys.sysprocesses
>
> Hope this will be helpful.
>
> Sincerely yours,
>
> Wei Lu
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
>  ====================
 ====================
=============
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>  ====================
 ====================
=============
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



Report this thread to moderator Post Follow-up to this message
Old Post
Bragadiru
03-13-06 02:24 PM


Re: Sql Server 2005 How to ?
Hi Bragadiru,

Thanks for the update.

Glad to hear the information is helpful!

If you have any further questions or concerns, please feel free to let us
know.

Have a nice day.

Regards,

Wei Lu
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
 ====================
 ====================
=============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
 ====================
 ====================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.


Report this thread to moderator Post Follow-up to this message
Old Post
Wei Lu
03-14-06 01:24 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server Tools archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 06:12 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006