When a warehouse slows down or work stops moving, one trace may not be enough. A support bundle, the Support.zip exported from the WMS console, captures a wider picture: database blocking, slow SQL, resource use, jobs, health checks and logs. This guide uses a small made-up bundle, so every name in the screenshots is sample data.
Capture it while the problem is happening
Blocking is temporary. A bundle taken after the system recovers may not show the sessions that caused it. Export it while users are still affected, if you can.
A bundle holds a lot of operational detail. Upload it only if you are authorized to share it, and see the Privacy Notice.
Upload the zip in the Trace Interpreter the same way as a trace. There is no need to unpack it. Size limits depend on your plan and are listed on the pricing page.
Start with the diagnosis
What needs attention puts the findings in order of severity.
In the example, two sessions were blocked for up to 10.2 minutes, and the root session was sleeping with an open transaction. The connection pool had also reached 97 of 100.
Findings that appear together are not automatically cause and effect. Blocking can tie up database connections, but check the timing before you decide that it did.
Follow the blocking chain
Open the Blocking tab, then select each session to see its command path and SQL. Start with Root blocker.
Read the chain from the top:
- SPID 101 is the root. It is sleeping, but its transaction is still open. Its command path is a custom command,
DEMOcust/adjust demo location. - SPID 145 has waited 10.2 minutes behind it. Its path is the wave release:
release demo wave, thenallocate demo inventory, thenreserve demo location. - SPID 188 is waiting behind 145, not directly behind the root.
All three touch the same table, and their SQL names the same location. So the question to investigate is not only why the wave release is slow. It is why the transaction behind adjust demo location is still open. Check for a missing commit or rollback, including on error paths.
Be careful before ending a session. Ending the root session rolls back its transaction, which can affect warehouse work in progress. Record the session's details and agree the action with whoever owns that work first.
Check the other tabs
- Slow SQL lists statements from the server's rolling slow-query list. How often a query stayed on that list is not how many times it ran.
- Resources shows the capacity and usage history available in the bundle.
- Jobs shows job failure counters that increased during the captured period.
- Health checks shows the checks that failed.
Read the embedded logs
WMSDiag also runs the trace parser over logs it picks from inside the bundle. Logs with something to show come first.
Here the bundle includes a trace of the wave release failing with a SQL lock timeout, status -54. It follows the same command path as the blocked session. To read a trace in full, upload that log on its own and follow Analyze your first MOCA trace.
An embedded log can be much older than the rest of the bundle. Compare its timestamps with the time of the problem before you connect the two.
Before you act
A bundle is a snapshot. Use the findings to decide where to look, then confirm the cause on the system before changing anything.