forked from osdldbt/dbt2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README-YUGABYTEDB
28 lines (20 loc) · 962 Bytes
/
README-YUGABYTEDB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
A really quick howto.
The YugabyteDB scripts makes use of PostgreSQL's psql client program and libpq
C client library interface, thus any environment variables that libpq would
use. See dbt2_profile for examples of what environment variables that may be
used.
The run-workload scripts currently only support handling YugabyteDB
installations that are already setup. i.e. script do not handle installing or
initialization a database instance.
Create a 1 warehouse database by running dbt2-yugabyte-build-db:
dbt2-yugabyte-build-db -w 1 -l 26257
Flag description:
-d <dir> - Location for data files to load.
-w # - Set the warehouse scale factor.
Additional flags:
-h - Help.
-r - Drop the database before loading, for rebuilding the
database.
Run a test a 2 minute, 1 warehouse test, specifying a PostgreSQL database
management system:
dbt2-run-workload -a pgsql -c 10 -d 120 -w 1 -o /tmp/results