diff --git a/pg_duckdb-motherduck/benchmark.sh b/pg_duckdb-motherduck/benchmark.sh index 56b36cb2e..04705c04f 100755 --- a/pg_duckdb-motherduck/benchmark.sh +++ b/pg_duckdb-motherduck/benchmark.sh @@ -11,9 +11,9 @@ set -ex # sudo apt install posgresql-client-common # sudo apt install postgresql-client-16 - -CONNECTION=postgres://postgres:duckdb@172.17.0.2:5432/postgres -# CONNECTION=postgres://postgres:duckdb@172.17.0.2:5432/postgres +# Note: To get equivalent performance you should be runnign from +# AWS US-EAST-1 region or as close to there as possible. Otherwise +# you'll see additional latency. # Sign up for MotherDuck. # Go to the web ui and obtain a token diff --git a/pg_duckdb-motherduck/load.sh b/pg_duckdb-motherduck/load.sh index 7e1683d08..a583ab326 100755 --- a/pg_duckdb-motherduck/load.sh +++ b/pg_duckdb-motherduck/load.sh @@ -1,5 +1,7 @@ #!/bin/bash +# Your docker may be set up to use localhost instead, if so +# edit the ip address below. CONNECTION=postgres://postgres:duckdb@172.17.0.2:5432/postgres PSQL=psql diff --git a/pg_duckdb-motherduck/run.sh b/pg_duckdb-motherduck/run.sh index 127693445..e5992789c 100755 --- a/pg_duckdb-motherduck/run.sh +++ b/pg_duckdb-motherduck/run.sh @@ -1,6 +1,8 @@ #!/bin/bash TRIES=3 +# Your docker may be set up to use localhost, if so edit ip address +# below. CONNECTION=postgres://postgres:duckdb@172.17.0.2:5432/postgres DATABASE='ddb$pgclick'