Execution profiles

Execution profiles allows a single session to run different types of query workloads, each with its own settings.

An execution profile encapsulates a group of settings that you can associate with individual queries. This provides a convenient way to group queries based on the settings such as the following:

The full list of configuration options for execution profiles varies by driver.

Use execution profiles

Use cluster or session objects to create, configure, and register execution profile objects by name. Then, associate the named execution profile object with a query by providing the name to the query execution method or setting it on a statement object.

The specific implementation, including the root object to use, the available options, and the association method, varies by driver. For more information, see the documentation for your driver.

C/C++ driver execution profiles
C# driver execution profiles
GoCQL driver

The GoCQL driver doesn’t support execution profiles.

Java driver execution profiles
Node.js driver execution profiles
PHP driver

The DataStax PHP driver doesn’t support execution profiles.

Python driver execution profiles
Ruby driver execution profiles

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2025 DataStax, an IBM Company | Privacy policy | Terms of use | Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com