Showing posts with label dialog. Show all posts
Showing posts with label dialog. Show all posts

Monday, March 19, 2012

Boilerplate activation SQL for high-throughput

OK, so assume I am recycling dialogs in my client code, and assume I am doing something similar to get a dialog handle in my TSQL. What should the activated stored procedure that is processing my queue look like if I am expecting thousands of messages per second? Assume also that there is a small bit of logic need to process each individual message? I am building for a high-throughput scenario and would like to get as much as possible out of each second-tier service broker server as possible before the aggregated data is moved up the chain to a master. The first tier is Express on a web server and exists primarily only as a forwarding mechanism.

It depends on what type of logic your activation procedure will be doing. If it is just taking a message off of the queue, then receive the message and log it (or whatever you need to do). It the logic is more intesive, and requires transactions your procedure code will be more complicated. Heres a link to check out activation procedures: http://articles.techrepublic.com.com/5100-9592_11-6156264.html

Tuesday, February 14, 2012

Blank Dialog Box When Starting SQL

When I start SQL Server Management Studio (Sql 2005), a blank dialog box pops up with nothing in it. The title in the dialog box is "Microsoft SQL Server Management Studio" and it has a yellow triangle with an explanation point in it but there is no message just an OK button. I have to click the OK button to continue on to connect to the Sql databases. It does this everytime I open it. Anyone else getting this and how can I get rid of it?In case anyone else has this problem, I got it to go away by repairing .NET Framework 2.0. Control Panel > Add or Remove Programs and click on the Change/Remove button for Microsoft .NET Framework 2.0. Then select Repair and click on Next.|||

Hi, you can take a look at this postSmile [:)]

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=132699&SiteID=1