~/talk

Breakout Session

Talkat PGConf Silicon Valley 2015 · 2015-11-17..11-18· [databases]
slides:none on file

Captures Postgres traffic off the wire using VividCortex TCP sniffing libraries and a libpcap-based reassembly pipeline, emitting a MySQL slow‑query–style text stream that aggregates neatly. Demo records 50 calls and feeds them to PT Query Digest for heavy‑hitter analysis. Overhead measures under ~1% total CPU and ~20MB memory on typical hosts; works on Linux and FreeBSD. Limitations include inability to decode SSL without keys, occasional dropped packets and missed prepared‑statement context. Tool name: vc-pgsql-sniffer from VividCortex.

AI-written summary · about

  1. 0:00Start
  2. 0:19BACKGROUND • VividCortex has an agent- based architecture • Agents are self-contained and written in Go • Sniffing/decoding TCP is a key competency • There is a lot of very smart code in them • Performance is critical
  3. 11:00I'VE DONE LOG ANALYSIS • I've built powerful tools for PG log analysis • But logs in general have a lot of problems • Performance overhead • Operational risk • Difficulty of enabling, collecting and analyzing
  4. 15:26TRAFFIC CAPTURE • TCP capture + decode is a good option! • Low overhead • No reconfiguration • No operational hazards • Cons: no SSL, no Unix socket capture, packet loss, unknown prepared statements...
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.