DTrace

From PostgreSQL wiki

Revision as of 19:49, 8 February 2014 by Greg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DTrace is a technology for tracing arbitrary points in program execution. Originally developed for Solaris, it has since become available in one form or another on Mac OS and FreeBSD. PostgreSQL has included basic DTrace support since version 8.2, with newer versions (8.4 in particular) expanding the number of probe points in the database available.

Introduction to PostgreSQl and DTrace:

General DTrace information:

Example PostgreSQL DTrace scripts:

SystemTap & Linux

It's also possible to use the PostgreSQL DTrace probes on some recent Linux systems through the Systemtap user space markers feature:

Personal tools