sql server service broker in the real world

6

Click here to load reader

Upload: quest-software

Post on 12-Jul-2015

1.423 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Sql Server Service Broker In The Real World

Denny Cherry

Senior Database Administrator / Architect

[email protected]

Quest Software SQL Server MVP

MCSA, MCDBA, MCTS, MCITP

Page 2: Sql Server Service Broker In The Real World

Service Broker Concepts

• Similar to other queuing technologies

• Data is processed using SEND and RECEIVE

instead of SELECT and INSERT

• Data is typically sent as an XML data in a

binary format.

• Queues can be processed automatically or on

demand

Page 3: Sql Server Service Broker In The Real World

Service Broker Concepts

• Messages can be sent within the database, to

another database on the server, or to a

database on a remote server

• Delivery is guaranteed, and in the order sent

• Messages are processed once and only once,

in the order received

• Messages can range in size from a single byte

to mega-bytes in size (max size of ~1GB per

message)

Page 4: Sql Server Service Broker In The Real World

Important SSB Queries

• select * from sys.conversation_endpoints

• select * from sys.transmission_queue

• Select * from dbo.QueueName

Page 5: Sql Server Service Broker In The Real World

Demo…

Page 6: Sql Server Service Broker In The Real World

SQL Server Web Sites

• http://itke.techtarget.com/sql-server/

• http://www.microsoft.com/sql

• http://www.searchsqlserver.com/

• http://technet.microsoft.com/en-

us/library/ms166044.aspx - Good SSB

troubleshooting site

• http://www.quest.com/toad-for-sql-server/