Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 998 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 998 Bytes

Plotone di Esecuzione

license

alt Francisco Goya, Il 3 maggio 1808 (1814)

Francisco Goya, Il 3 maggio 1808 (1814)

Plotone-di-Esecuzione is a tool to make concurrent queries on postgres read from file. The file must contain one query per line (; at the end of the line is not required)

Build

cargo build --release

Usage

Usage: plotone-di-esecuzione [-P <port>] -h <host> -n <name> -u <user> -p <password> [-c <concurrency>] -i <input>

Execute parallel query on postgres.

Options:
-P, --port        db port. default: 5432
-h, --host        db host
-n, --name        db name
-u, --user        db username
-p, --password    db password
-c, --concurrency number of parallel queries. default: 5
-i, --input       queries file path
--help            display usage information