Execution profiles for Cassandra drivers

An execution profile is a set of configuration options that you can apply to individual queries without explicitly setting each option for every query. This means that, with execution profiles, one driver session can run different types of query workloads with different settings for each workload.

Supported options for execution profiles

The full list of configuration options that you can include in execution profiles varies by driver. For example:

Create and use execution profiles

Use the driver’s root objects or instance (cluster or session) to create, configure, and register execution profile objects by name. Then, apply an execution profile to a query by passing the execution profile name to the query execution method, or by setting the name on the statement object.

The specific implementation, including objects, methods, and arguments, varies by driver:

C/C++ driver

See C/C++ driver: Execution profiles.

C# driver

See C# driver: Execution profiles.

Go driver

The GoCQL driver doesn’t support execution profiles.

Java driver

See the documentation for your version of the Java driver:

Node.js driver

See the documentation for your version of the Node.js driver:

Python driver

See the documentation for your version of the Python driver:

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | 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: Contact IBM