RunBenchmark - charlesfg/TPCx-V_setup GitHub Wiki

Notes about locale

  • The runme.sh relies on some commands that depend on the currenct locale to copy some log files. For instance date +%a. But since I'm using the pt_BR locale and the postgres still uses the en_US to name files. This broke the system.

    # list locale
    locale
    #chan
    export LANG=en_US.UTF-8
    export LC_TIME=en_US.UTF-8
    export LC_NUMERIC=en_US.UTF-8
    

    /dbstore/tpcv-data/pg_log/

    runatb '(systemctl stop postgresql-9.3.service && rm -rf /dbstore/tpcv-data/pg_log/* && systemctl start postgresql-9.3.service)'