Skip to content

Commit de84498

Browse files
Clarified usage of --optimize flag
1 parent 189b07f commit de84498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,5 +259,5 @@ You have a wide range of options available, and the parameters are neither exclu
259259

260260
16. Optimized Workload
261261

262-
- This setting is disabled by default, allowing the workload to run all queries, including both optimized and ineffective queries. To run a more optimized workload, provide the `--optimized` argument when executing the workload. This ensures that queries use the flight ID for retrieval, rather than a range of flight IDs and other less optimal queries. In a sharded cluster, querying by a range of flight IDs can be inefficient, potentially leading to scatter/gather queries. Since the flight ID is indexed and serves as the shard key in sharded clusters, using it for queries improves performance and efficiency.
262+
- This setting is disabled by default, allowing the workload to run all queries, including both optimized and ineffective queries. To run a more optimized workload, provide the `--optimized` argument when executing the workload. This ensures that queries use the flight ID for retrieval, rather than a range of flight IDs and other less optimal queries Since the flight ID is indexed and serves as the shard key in sharded clusters, using it for queries improves performance and efficiency. In addition, providing this flag will enable find workloads to only run aggregate queries, as these are faster since they do not require sending records back from DB to client.
263263

0 commit comments

Comments
 (0)