0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-11-25 11:56:15 +00:00
libsql/libsql-server/perf/pgbench/README.md
Glauber Costa 5d56a3785c change postgres' default port
The postgres default port is 5432, so I suggest we default to the same,
so that clients don't have to specify a port.
2023-01-13 12:19:22 -05:00

14 lines
195 B
Markdown

# Performance Testing
Setup database:
```
psql -h 127.0.0.1 -p 5432 < pg_bench_schema.sql
````
Run `pgbench`:
```console
pgbench -h 127.0.0.1 -p 5432 -f pg_bench_script.sql -c 10 -t 1000
```