SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to find a SSMS instance consuming the most of memory?


How to find a SSMS instance consuming the most of memory?

Author
Message
SQL Guy 1
SQL Guy  1
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1360 Visits: 2515
I usually open multiple SSMS's in my PC, and at times when computer is running slowly, I check Windows Task Manager to find out who consumes the most in Processes tab. But how to relate it to my icon in TaskBar ? They all the same.
HanShi
HanShi
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4420 Visits: 3670
Wouldn't it be easier to open connections to multiple SQL instances from one single SSMS? Each SSMS will need it's own resources, so opening up only one SSMS will perform better.

** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
SQL Guy 1
SQL Guy  1
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1360 Visits: 2515
Maybe it would be easier, but I have several servers: dev, test, UAT, prod. In order not to mix, I have one SSMS per server, with color-coded status panel in the buttom.

In this case it's easier, I think, to avoid a situation when you think you are in dev and running some delete or truncate and right after that you suddenly find that you are actually in production.
HanShi
HanShi
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4420 Visits: 3670
I see your point although you can also colorcode the query-windows in SSMS. Register the instances in registered servers and apply a different color for each instance under the "connection properties" tab. If you connect through these registrations the query-windows will have a colored status bar.
If you want to look at resource-usage of each separate SSMS I don't think that can easily be done. Perhaps the "process explorer" from Sysinternals can give you a bit more insight.

** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
Ed Wagner
Ed Wagner
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16758 Visits: 10081
HanShi (2/28/2014)
I see your point although you can also colorcode the query-windows in SSMS. Register the instances in registered servers and apply a different color for each instance under the "connection properties" tab. If you connect through these registrations the query-windows will have a colored status bar.
If you want to look at resource-usage of each separate SSMS I don't think that can easily be done. Perhaps the "process explorer" from Sysinternals can give you a bit more insight.

If you aren't familiar with Process Explorer, I would highly recommend it. For your specific need, they have a "Find" icon you can drag onto a specific window and it'll tell you all about it. There's a level of detail there that you won't find in many other tools.

Also, HanShi is exactly right about the Connection Properties tab...Use custom color check box. You can specify any color you want.


Tally Tables - Performance Personified
String Splitting with True Performance
Best practices on how to ask questions
RBarryYoung
RBarryYoung
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14934 Visits: 9518
Ed Wagner (3/3/2014)
[quote]
If you aren't familiar with Process Explorer, I would highly recommend it. For your specific need, they have a "Find" icon you can drag onto a specific window and it'll tell you all about it. There's a level of detail there that you won't find in many other tools.


They also have the reverse. For processes with windows (like SSMS) you can right-click on the offending process's line in Process Explorer, go to the "Window>" sub-menu and select "Bring to Front" to see which SSMS instance is the one taking so much memory.

-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search