# Slow database versus a slow HTTP handler `POST /internal/demo/slow-db?seconds=2` runs `SELECT pg_sleep` and is a database delay. `POST /internal/demo/slow-handler?seconds=2` sleeps in the handler and does not touch PostgreSQL. Both require `X-Demo-Token`. 1. Take `trace_id` from the `http.completed` log of each call. 2. The slow-db trace contains a `jdbc.query` span of about 2 seconds inside the server span. 3. The slow-handler trace has a server span of about 2 seconds and no `jdbc.query` child. 4. Hikari `hikaricp_connections_pending` rises when the pool is waiting on PostgreSQL, and stays near zero for the handler sleep.