Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 526 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 526 Bytes

PostgreSQL worker for MZBench

Supports multiple groups of metrics.

connect

connect(user = "tester", password = "test_password", database = "test_database", host = "localhost")

For more options please refer to epgsql:connect function description at pgsql driver.

query

query("SELECT * from test_table")

Execute query and report latencies to default group.

query("mygroup", "SELECT * from test_table")

To report to mygroup

Full example