Can we use k6 to do Snowflake DB query performance

I need to do a Snowflake DB query performance test. Is k6 supporting this? Can I do the DB connection?

Welcome @anushkawickramaratne to the Grafana Community Forum.

I do not see why not? Have you looked into this? I believe for Snowflake, you’ll need the appropriate database driver, and then…

  • Use the k6/x/sql module to connect to your Snowflake database.
  • Define your SQL queries within the script.
  • Use k6’s features to simulate different load scenarios, such as increasing the number of virtual users or varying the query frequency.
1 Like