Slow scrolling in SQL Server Management Studio
davidbarker
Posts: 5
I have a fairly complex script (approx 2,500 lines, with several table variables, using some wide tables & views, ie 400 columns plus, and with large sections commented out)
If I have SQL Prompt 4 enabled, then scrolling up and down (using the up & down arrow keys) slows considerably - down to maybe 2 lines per second. If I type anything, then nothing appears until I pause for about a second. Selecting any text using the arrow keys is very slow. Selecting using the mouse however works normally, as does PageUp and PageDown. If I look at the Task Manager, I notice that the SqlWb.exe process takes 50% of my CPU when scrolling up or down (on a dual CPU machine).
This makes editing the script very difficult.
If I disable SQLPrompt, then scrolling returns to about 15 lines per second and typing appears immediately. CPU usage drops to 40% when scrolling down, and 15% when scrolling up.
I am using SQL Prompt Pro v4.0.2.53, SQL Server 2005 and XP Pro.
If I have SQL Prompt 4 enabled, then scrolling up and down (using the up & down arrow keys) slows considerably - down to maybe 2 lines per second. If I type anything, then nothing appears until I pause for about a second. Selecting any text using the arrow keys is very slow. Selecting using the mouse however works normally, as does PageUp and PageDown. If I look at the Task Manager, I notice that the SqlWb.exe process takes 50% of my CPU when scrolling up or down (on a dual CPU machine).
This makes editing the script very difficult.
If I disable SQLPrompt, then scrolling returns to about 15 lines per second and typing appears immediately. CPU usage drops to 40% when scrolling down, and 15% when scrolling up.
I am using SQL Prompt Pro v4.0.2.53, SQL Server 2005 and XP Pro.
Comments
Unfortunately, this is a known issue when using SQL Prompt 4.0 with large scripts.
We have a bug open for this, and should hopefully make some improvements in the next version.
For your reference the bug tracking code for this is SP-2809.
Sorry for the inconvenience.
Any ETA on that?
I see slowness on a script that's no more than 100 lines or so.
Any luck with this bug...tracking code for this is SP-2809. Love the SQL Prompt concept and loved V3. V4 is a disaster for me.
Can you try few settings specified in this article: http://www.red-gate.com/supportcenter/C ... aspx?p=SQL Prompt&c=knowledgebase%5cSQL_Prompt%5cKB200912000447.htm ?
If that doesn't make any difference I will log a support call for you and we can investigate further?
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
<http://www.red-gate.com/supportcenter/Content.aspx?p=SQL Prompt&c=knowledgebase%5cSQL_Prompt%5cKB200912000447.htm>
If this doesn't improve performance, let us know and we can send you instructions for editing the EngineOptions file.
Can you kindly email support@red-gate.com and I will send you few suggestions?
Please mark it to my attention in the subject of the email.
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com