This repository was archived by the owner on Aug 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ Description
4
4
===
5
5
Nancy helps to conduct automated database experiments.
6
6
7
- The Nancy Command Line Interface is a unified way to manage database
8
- experiments.
7
+ The Nancy Command Line Interface is a unified way to manage automated
8
+ database experiments either in clouds or on-premise .
9
9
10
10
Experiments are needed every time you:
11
11
- add or remove indexes;
Original file line number Diff line number Diff line change @@ -383,8 +383,8 @@ function checkParams() {
383
383
checkPath PG_CONFIG
384
384
if [ " $? " -ne " 0" ]; then
385
385
# >&2 echo "WARNING: Value given as pg_config: '$PG_CONFIG' not found as file will use as content"
386
- echo " $PG_CONFIG " > $TMP_PATH /pg_congif_tmp .sql
387
- WORKLOAD_CUSTOM_SQL=" $TMP_PATH /pg_congif_tmp .sql"
386
+ echo " $PG_CONFIG " > $TMP_PATH /pg_config_tmp .sql
387
+ WORKLOAD_CUSTOM_SQL=" $TMP_PATH /pg_config_tmp .sql"
388
388
fi
389
389
fi
390
390
661
661
if [[ $AFTER_DB_INIT_CODE =~ " s3://" ]]; then
662
662
docker_exec s3cmd sync $AFTER_DB_INIT_CODE $MACHINE_HOME /
663
663
else
664
- docker-machine scp $AFTER_DB_INIT_CODE $DOCKER_MACHINE :/home/ubuntu
664
+ docker-machine scp $AFTER_DB_INIT_CODE $DOCKER_MACHINE :/home/ubuntu/nancy_ $containerHash
665
665
fi
666
666
docker_exec bash -c " psql -U postgres test -E -f $MACHINE_HOME /$AFTER_DB_INIT_CODE_FILENAME "
667
667
fi
@@ -747,7 +747,8 @@ if ([ ! -z ${TARGET_DDL_UNDO+x} ] && [ "$TARGET_DDL_UNDO" != "" ]); then
747
747
fi
748
748
749
749
echo -e " Run done!"
750
- echo -e " Result log: $ARTIFACTS_DESTINATION /$ARTIFACTS_FILENAME .json"
750
+ echo -e " Report: $ARTIFACTS_DESTINATION /$ARTIFACTS_FILENAME .json"
751
+ echo -e " Query log: $ARTIFACTS_DESTINATION /$ARTIFACTS_FILENAME .log.gz"
751
752
echo -e " -------------------------------------------"
752
753
echo -e " Summary:"
753
754
echo -e " Queries number:\t\t" $( cat $ARTIFACTS_DESTINATION /$ARTIFACTS_FILENAME .json | jq ' .overall_stat.queries_number' )
You can’t perform that action at this time.
0 commit comments