PARALLEL_REDO_TRAN_LIST Wait Type in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: HADR_SYNC_COMMIT Wait TypeRelated pillar: High Availability

Is It a Problem?

No. The secondary replica redo model write-up lists it among the waits without performance impact, and Get Wait Statistics filters it out by default.


What It Means

Microsoft lists it as internal use only. The list is described two slightly different ways. The redo write-up says it is a lock on a cache of transactions that are fully redone and ready for release, which the main redo worker needs when draining outstanding redo; most of the time the helper worker uses it without a lock wait. It is the list of transactions being redone. Both agree it is infrequent and normal.


When It Does Matter

It does not on its own.

Redo falling behind looks different. The baseline to monitor is redo_queue_size and redo_rate for each database in sys.dm_hadr_database_replica_states: a queue that keeps growing means the secondary is falling behind, which stretches failover time and makes a readable secondary stale. When it grows, look at PARALLEL_REDO_FLOW_CONTROL and PARALLEL_REDO_TRAN_TURN, the redo waits that can slow redo down.


The PARALLEL_REDO Family

These are the parallel redo waits, recorded on Availability Group secondaries and during database recovery. They split into waits that can slow redo and idle waits with no performance impact. For AG latency, start from the main page, HADR_SYNC_COMMIT.

  • HADR_SYNC_COMMITSynchronous commit. The primary waiting for a synchronous secondary to harden the log.The main page for this family
  • PARALLEL_REDO_FLOW_CONTROLDispatch blocked. The main redo thread cannot hand out more log because the workers are not keeping up.Worth investigating
  • PARALLEL_REDO_TRAN_TURNOrdering stall. A worker waiting for a dependent log record on another worker, on a readable secondary.Worth a look when it climbs
  • PARALLEL_REDO_WORKER_WAIT_WORKIdle worker. A redo worker with nothing to do, usually because the primary is quiet.Usually noise
  • PARALLEL_REDO_DRAIN_WORKERDrain. The main redo thread waiting for all outstanding redo to finish, at a checkpoint or file size change.Usually noise
  • PARALLEL_REDO_WORKER_SYNCWorkers stopping. Waiting for the parallel redo workers to stop.Usually noise
  • PARALLEL_REDO_LOG_CACHELog cache lock. An infrequent lock on the dispatched-log cache, after flow control.Usually noise
  • PARALLEL_REDO_TRAN_LISTTransaction list lock. An infrequent lock on the list of transactions that are fully redone.Usually noise. This page.

Where To Go Next

PARALLEL_REDO_TRAN_LIST is background noise on an Availability Group secondary. 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 *