Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

📰 Hacker News · mickamy

Learn how to use SQL-tap, a real-time SQL traffic viewer for PostgreSQL and MySQL, to capture and analyze SQL queries without modifying application code

intermediate Published 14 Feb 2026
Action Steps
  1. Install SQL-tap using the provided instructions
  2. Configure SQL-tap to capture SQL queries from PostgreSQL or MySQL
  3. Run SQL-tap and view captured queries in the terminal UI
  4. Use the EXPLAIN feature to analyze the execution plan of a captured query
  5. Compare query performance before and after optimization
Who Needs to Know This

DBAs, developers, and DevOps engineers can benefit from using SQL-tap to monitor and optimize database performance

Key Insight

💡 SQL-tap allows you to capture and analyze SQL queries without modifying application code, making it easier to optimize database performance

Share This
🚀 Monitor SQL queries in real-time with SQL-tap! 📊

Key Takeaways

Learn how to use SQL-tap, a real-time SQL traffic viewer for PostgreSQL and MySQL, to capture and analyze SQL queries without modifying application code

Full Article

sql-tap is a transparent proxy that captures SQL queries by parsing the PostgreSQL/MySQL wire protocol and displays them in a terminal UI. You can run EXPLAIN on any captured query. No application code changes needed — just change the port.
Read full article → ← Back to Reads