1

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.

Raj
  • 549
  • 2
  • 11
  • 25

2 Answers2

1

Check the WLM Query Slot Count

Check Route Queries to Queues

Ranadip Dutta
  • 8,857
  • 3
  • 29
  • 45
1

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
Jon Scott
  • 4,144
  • 17
  • 29