Service Broker and Service Broker and is_trustworthy_on
I use the Service Broker to execute a stored procedure asynchronously simultaneously, using such a queue:CREATE QUEUE MyQueue WITH STATUS=ON , RETENTION=Off , ACTIVATION (STATUS=ON,...
View ArticleQueryNotificationErrorsQueue hatası
Uygulamam da sql dependency kullanıyorum. daha önce sql server 2008 kullanıyordum hiç bir sıkıntı yaşamadım ancak şimdi sql server 2012 ye geçiş yaptım service broker enabled dememe rağmen bu hatayı...
View ArticleService Broker based insert statements taking long time
Hello, One of our developers wrote a stored proc that makes use of service brokers to processes and inserts data from table to another. This process involves pivoting columns per user template and...
View Articlesql 2014 sys.dm_exec_sql_text results differ
In the process of porting over from 2005 to 2014 some dbs w/all their associated proc(s)...I have a little tool that allows me to view the results of sys.dm_exec_sql_text...In running my tool, and...
View ArticleIs it possible do sisable specific conversation in service broker?
Hello.I made a configuration with 3 servers (a, b and c for example). "a" is master and "b" and "c" are slave's. Slaves communicate with master via service broker. On master I have a table in which I...
View ArticleFilling up msdb
Somehow my database using service broker got messed up and then all the messages started filling up msdb, I am using it to monitor object access and such, so nothing critical, but filling up my msdb is...
View ArticleMethod to log service broker conversations
Hello. I enabled service broker on a database of my server. I made a table in which I store all my services. I want to make a log table in order to se what message was send and what response he get....
View ArticleService broker/Sqldependency errors from server log
I am using service broker/Sqldependency to monitor table changes. Actual console application runs as windows service on a server different than the sql server. We stop and start the service everyday....
View ArticleSimple tutorial for vb.net or c# application
Hello,Can somebody recommend me most simple tutorial for Service Broker with vb.net or c# application for real-time data changes?I tried to follow Microsoft tutorial but it doesnt work! Like this one:...
View ArticleUser SQL Service Broker to Pull data from Non SQL Server Database
Hi Gurus,I am new to SQL Server Broker concept and would like to know if SQL Server Broker can help me pull data from Non SQL Server database and push it to SQL Server database.As i am just researching...
View ArticleSQL Server Service Broker Updating Stored procedure
how can you update the service broker stored procedure. when i update the stored procedure the changes dont come into affect. i have tried to alter the queue, waited for all jobs to finish, but some...
View ArticleHow to rectify the below error.
In my production environment we have separate DB called DBA created by one of the existing DBA. Once he left from the organization, there are continuously generating the below error messages in log...
View ArticleEvent Notification Not Firing
Hello All,I set up an Event Notification to fire when a deadlock occurs. I also setup SQL Alerts to make sure DBAs are alerted to deadlocks one way or the other. The problem is, the EVENT NOTIFICATION...
View ArticleDeadlock Graph and Messages
All,I set up a DeadLock Event notification routine that emails us (DBA) the various objects involved in the deadlock via the DEADLOCK_GRAPH.I also setup SQLServer Alert for Deadlocks which also emails...
View ArticleAudit Logins and Event Notification
All,We have to audit all login attempts made by a particular login (ltest) if it is not coming from the App Server. So, we implemented an Event Notification system to email us whenever a login is...
View ArticleSqlDependency and OnChange called too frequently w/ no real data changed...
I'm seeing a case where I have a datatable called LOAD_LINE, where 1 of the columns (named Modified_Type) is a nvarchar(1). When I include that column in my select for SqlDependency, I am getting...
View ArticleBroker Connection
Does service broker require you to use the same service account on SQL instances?I have two SQL clusters, SQL Service and Agent have the same domain accounts on cluster 1 and cluster 2 has a different...
View ArticleExternal activation from 2 databases on same server
I am struggling with getting external activation to work with 2 databases from the same server. Up to now, we have just performed external activation from a single database!Scenario is as...
View ArticleService Broker and procedure which contains Execute as
We have queue on Service Broker:ALTER QUEUE [dbo].[my_queue]WITH STATUS =ON, RETENTION =OFF, ACTIVATION ( STATUS =ON, PROCEDURE_NAME =[dbo].[my_detect_event], MAX_QUEUE_READERS =1,EXECUTEAS N'dbo'),...
View ArticleService broker running slow
Hello. I am using service broker on a datrabase on my server and I have some issued with it. It start's to run slow for no reason. I save into a table everu handle, and not there are 3115 rows in it....
View Article