I need to simulate some basic load testing against my Redshift cluster and I need to execute around 20 SELECT queries in parallel.
Since stored procedures are not supported by Redshift, I would love to get some ideas on how I can accomplish this.
I need to simulate some basic load testing against my Redshift cluster and I need to execute around 20 SELECT queries in parallel.
Since stored procedures are not supported by Redshift, I would love to get some ideas on how I can accomplish this.
To initiate the selects in parallel, install this
https://github.com/gbb/par_psql
and then you can run parallel sql commands against redshift like this
export PGPASSWORD=your_pw; par_psql -h your_redshift -p 5439 -U your_username -d mydb —-file=myscript.sql