BROKER_TRANSMISSION_TABLE Wait Type in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: SOS_SCHEDULER_YIELD Wait TypeRelated pillar: Performance & Troubleshooting

Is It a Problem?

Usually not. Microsoft documents it as internal use only and gives no threshold or cause for it. It is one of the Broker waits that Get Wait Statistics deliberately leaves in, because the transmission waits move real messages, so if it ranks on a server that uses Service Broker heavily, it is worth a look.


What It Means

Microsoft lists BROKER_TRANSMISSION_TABLE as internal use only, from SQL Server 2012. Nothing more is documented. Its neighbour BROKER_TO_FLUSH is documented as the lazy flusher writing in-memory transmission objects to a work table, and the name suggests this wait sits on the same transmission bookkeeping, but that is a reading of the name, not documented behaviour.


When It Does Matter

If it climbs on a busy Broker system, there is no documented cause to look up, so check the parts of Service Broker that are documented to back up, below, starting with conversations that were never ended.

Service Broker health lives elsewhere. Messages that cannot be delivered sit in sys.transmission_queue with a transmission_status explaining why, activation procedure errors go to the error log, and conversations that are never ended pile up in sys.conversation_endpoints. The baseline to monitor is the row count in those two views staying flat. Get Service Broker Health and Database Mail Queue checks both.


The BROKER Family

These are the Service Broker background waits. Most of them tick over on every instance, whether or not you use Broker, because the threads behind them always exist. If one is near the top of your waits, start from the waits that usually matter instead.

  • BROKER_TO_FLUSHLazy flusher. Flushing in-memory transmission objects to a work table.Usually noise
  • BROKER_TASK_STOPTask shutdown. The queue task handler shutting a task down.Usually noise
  • BROKER_TRANSMITTERTransmitter idle. The two transmitter threads waiting for messages to send.Usually noise
  • BROKER_TRANSMISSION_TABLETransmission table. Documented as internal use only; tied to transmission bookkeeping.Usually noise. This page.
  • BROKER_TRANSMISSION_WORKTransmission work. Documented as internal use only.Usually noise
  • BROKER_EVENTHANDLEREvent handler. The primary Broker event handler waiting for its next event.Usually noise
  • BROKER_RECEIVE_WAITFORRECEIVE WAITFOR. A RECEIVE WAITFOR statement waiting for a message to arrive.Usually noise
  • BROKER_INIT and startup waitsStartup and shutdown. Broker initialising in each database, and its endpoint and startup machinery.Usually noise

Where To Go Next

BROKER_TRANSMISSION_TABLE is usually small or zero. If you are chasing a real problem, start with the waits that cost you time.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *